PPC BasicsCore· 30 min read

How Ad Auctions Work

Every time you search or scroll, platforms run a lightning-fast auction — and the highest bid does not always win.

What you will learn

  • Describe the ad auction in plain words
  • Explain why bid alone does not decide the winner
  • Define quality score and ad rank

An auction in a blink

You type a search into Google. Before the page even loads, Google runs a tiny auction among all the businesses that want to show an ad for that search. The winners get the top spots. This happens every single time, in less than a second.

Here is the part that surprises people: the highest bid does not always win. Platforms also care about how good and relevant your ad is. They want users to click, because clicks make money — so they reward ads people actually want to click.

The simple formula

Google decides the order using a score often called Ad Rank. In plain words:

A simplified view of how the ad auction ranks ads
Ad Rank = Your Bid x Quality Score

Quality Score depends on:
  - how relevant your ad is to the search
  - how likely people are to click it (expected CTR)
  - how good the landing page is after they click

Note: You multiply your bid by a quality score, so a relevant ad with a small bid can beat a poor ad with a big bid. CTR = click-through rate — out of everyone who sees your ad, the share who click it. A higher expected CTR lifts your quality score, which is why writing good ads (later lessons) literally saves you money.

A worked example

Three bakeries bid to show an ad for birthday cake Lucknow. Watch how quality changes the result.

BakeryBid (max)Quality Score (1-10)Ad Rank (bid x quality)Position
Sweet Crumbs₹2091801st
Cake Castle₹3051502nd
Daily Bakers₹2541003rd

Cake Castle bid the most (₹30) but came second, because its ad was less relevant. Sweet Crumbs won with a smaller bid because its quality score was high. Better ads do not just rank higher — you also tend to pay less per click.

Here is the part that feels like magic but is real: you almost never pay your full bid. You pay just enough to stay one notch above the ad below you. Because Sweet Crumbs has a high quality score, it can clear that bar with a small actual cost — so a ₹20 bidder might only pay around ₹17 per click, while the poorly-targeted ₹30 bidder pays more for a worse spot. High quality wins a better position for less money — that is the whole game.

The whole auction, step by step

Let us put the whole flow in order, exactly as it happens in that fraction of a second after someone searches:

  1. Someone searches. A person types birthday cake Lucknow into Google.
  2. Google gathers the bidders. It finds every advertiser whose keywords match that search — here, the three bakeries.
  3. Google scores each ad. For each bakery it works out the Ad Rank = bid x quality score (Sweet Crumbs 180, Cake Castle 150, Daily Bakers 100).
  4. Google ranks the ads. Highest Ad Rank goes on top, so Sweet Crumbs is 1st, Cake Castle 2nd, Daily Bakers 3rd.
  5. The page shows. The winning ads appear in that order, all before the page even finishes loading.
  6. You pay only on a click. Nothing is charged for being shown. If a user clicks Sweet Crumbs, it pays just enough to stay one notch above Cake Castle — often less than its full ₹20 bid.

Note: Read those six steps top to bottom and you have watched a full ad auction. The key takeaway: steps 3 and 4 use bid and quality together, which is why a smaller bid with a great ad (Sweet Crumbs) can finish above a bigger bid with a weak ad (Cake Castle).

Tip: You control two things in the auction: your bid (how much you are willing to pay) and your quality (how relevant and useful your ad and page are). Improving quality is usually the cheaper way to win.

Watch out: Do not assume you must outbid everyone to win the top spot. A high bid on a weak, irrelevant ad wastes money — improve the ad first.

Q. Why can an ad with a lower bid still appear above an ad with a higher bid?

Answer: Ad Rank is bid times quality score. A highly relevant, high-quality ad can outrank a higher bid that is poorly targeted.

✍️ Practice

  1. Add a fourth bakery with a ₹40 bid and a quality score of 3. Work out its Ad Rank and say where it ranks.
  2. In one sentence, explain to a shop owner why a cheaper, well-written ad can beat an expensive, sloppy one.

🏠 Homework

  1. Pick a product and imagine three competing ads. Give each a bid and a quality score from 1 to 10, calculate Ad Rank for each, and rank them.
Want to learn this with a mentor?

CodingClave runs guided, project-based training (28-day, 45-day & 6-month batches).

Explore Training →