I think you're confusing free software (e.g. Linux) with ad-supported software and services (e.g. Google).
That Google or any other ad-supported product is free is utter bullshit. There is no free lunch. Advertising simply shifts the cost of the "fee lunch" to the price of the advertised products. But with advertising, it's actually much more expensive:
Cost of thing itself +
Cost of advertising overhead +
Opportunity cost of inferior product +
Cost of our identities and privacy (as bought and sold to the highest bidders) +
Social cost of advertising
To me the last item is the most expensive of all.