The article explains why that isn't the case: it's because advertisers (Google's clients who run ads) are competing with each other to push the cost of advertising up to the point where the cost of an ad and the value it provided reach a rough equilibrium.
this is competition, not gambling.