Buying Ads
The opinions stated here are my own, and not on behalf of Google or Alphabet.
Renting space on the clock
The simplest way to buy an ad is renting a fixed spot for a set amount of time. Highway billboards sell by the month, YouTube Mastheads sell by the hour (CPH, or Cost Per Hour), major websites sell 24-hour homepage takeovers, and live events like the Super Bowl sell 30-second commercial slots.
The price of these is negotiated upfront and stays pretty stable. The catch is that you pay the exact same flat fee whether 500,000 people see it or a snowstorm keeps everyone at home.
What is a billboard if no one sees it?
That is what CPMs try to account for. Instead of paying for time on the clock, you pay for impressions, meaning how many times your ad is actually shown (CPM stands for cost per mille, Latin for a thousand).
Most video, social, and TV ads work this way, including YouTube, Instagram, TikTok, Spotify, and streaming or cable TV. Unlike a fixed billboard, digital CPMs run as an auction to see who is willing to pay to get in front of those eyeballs.
Only paying when someone clicks
With CPC (Cost Per Click), you are paying for actual traffic to your site. You only pay if someone clicks on your ad. If 10,000 people see it and nobody clicks, you pay $0.
Most digital ad spend goes through this medium, especially across search and shopping channels like Google Search, Bing, and Amazon. Again, it is an auction: you want the click, your competitors want the click, and you are competing to win the spot.
A black-box balance of bid and relevance
When we say CPM and CPC are auctions, it is not just about who is willing to pay the most. It is also in the ad platform's best interest to show relevant ads so users keep trusting (and clicking) them.
No matter how much a tractor brand is willing to pay for a click when someone searches for running shoes, an ad platform wouldn't show it because it is completely irrelevant to what they sell. Ultimately, winning the auction is a black-box balance of highest bid and relevancy.