Follow One Ad From Page Load to Payout: The Ad Tech Glossary

20 min read

The problem

Ad tech has more jargon per square inch than almost any other part of software. SSP, DSP, eCPM, RPM, ads.txt, header bidding, Ad Rank. Most glossaries handle this by listing the words in alphabetical order with a one line definition each, which is a great way to learn nothing. You read "DSP: demand-side platform" and you are exactly as confused as before, just with a longer acronym.

So this glossary does something different. It follows one ad, on one page, for one reader, from the moment the page starts loading to the moment money moves. Every term shows up at the point in the story where it actually does its job. If you read it top to bottom you get the whole machine. If you land here from a link in another part, the heading you need is waiting for you, and the paragraphs around it tell you where it sits in the flow.

The people and companies in the story are made up. The machinery is real, and every rule or number about how real systems behave is sourced at the bottom.

This is Part 1 of the series. The rest goes deep on each stage:

  1. This glossary story
  2. How a Google search ad wins its auction
  3. How AdSense and Auto ads decide where ads go
  4. How real-time bidding fills an ad slot
  5. How Meta, Amazon and The Trade Desk differ from Google
  6. Running Prebid Server and Revive locally
  7. Build your own Google Ads clone
  8. How publishers raise ad revenue without wrecking the page

Here is the whole trip on one screen. Do not try to memorise it. By the end of the page every box will make sense.

sequenceDiagram
  participant R as Reader's browser
  participant P as Publisher page
  participant H as Header bidding (Prebid)
  participant S as SSPs and exchanges
  participant D as DSPs (advertisers' bidders)
  participant A as Ad server
  R->>P: load the recipe page
  P->>H: slot is empty, who wants it?
  H->>S: bid requests (OpenRTB)
  S->>D: bid requests
  D-->>S: bids, or no bid
  S-->>H: best bid per exchange
  H->>A: highest bids as key values
  A-->>P: final winner and creative
  P->>R: ad renders, impression counted
  R->>A: viewable? clicked? converted?

Act one: a page with a hole in it

It is 9:14 at night. Meera is on her phone looking for a rajma recipe. She taps a search result and lands on a food blog called Spice Jar.

Publisher

Spice Jar is the publisher: whoever owns the page and sells space on it. The publisher's product is attention. The recipe is free to Meera because somebody else is going to pay to sit next to it.

Publishers range from a one person blog to a news company with a sales team. They all have the same problem: they have space, they have readers, and they need someone to fill the space with money.

Advertiser

On the other side are advertisers: people with something to sell and a budget to spend telling you about it. Tonight there are three in our story. Copperpot sells pressure cookers. Tadka Box delivers spice kits. And a big credit card company advertises to basically everyone.

None of them know Meera exists yet. In about a fifth of a second, all three will have decided what she is worth to them.

Ad slot

Halfway down the recipe, between "soak the beans overnight" and "pressure cook for 6 whistles", there is a rectangle of empty space reserved for an ad. That is an ad slot: a place on a page where an ad can go. It has a size, like 300x250 pixels, and a position, like "in the article, after paragraph three".

Ad unit

The slot on the page is the physical hole. The ad unit is the publisher's named record of it inside the ad system: "spicejar_incontent_1, accepts 300x250 and 336x280, display ads only". Many slots on many pages can point at the same ad unit, which is how the publisher gets one report for "my in-article ads" instead of ten thousand reports for ten thousand pages.

Google's AdSense uses the same idea, and Part 3 shows the actual code. With Auto ads, Google skips the manual slots entirely and decides where units go on its own.

Ad tag

The slot does nothing by itself. What wakes it up is the ad tag: a snippet of JavaScript the publisher put on the page that knows which ad unit this is and who to ask for an ad. When the browser reaches the tag, it runs.

Ad request

Running the tag sends an ad request: "I am slot spicejar_incontent_1 on a recipe page, the reader is on a phone in Pune, please send me an ad." Google's AdSense help counts an ad request every time one is sent, even if no ad comes back. Remember that detail. It matters for fill rate later.

Act two: who is Meera?

Before anyone bids on Meera, the system wants to know something about her. This is where privacy law and browsers enter the story.

Cookie

A cookie is a small piece of data a website stores in the browser. A first party cookie belongs to the site you are on: Spice Jar remembering you prefer metric units. A third party cookie belongs to a different domain that is embedded in the page, like an ad company, and lets that company recognise the same browser across many sites. That second kind is what made cross site ad targeting work for two decades.

For years Google planned to phase third party cookies out of Chrome and replace them with a set of browser APIs called the Privacy Sandbox. That plan changed. In an October 2025 update, Google said Chrome would keep its current approach of offering users a choice about third party cookies, and that it was retiring several Privacy Sandbox technologies because of low adoption, including the Topics API, Protected Audience and the Attribution Reporting API.

Topics

Topics was the Privacy Sandbox idea of letting the browser itself guess a few broad interests ("Cooking", "Fitness") from your history and share only those with advertisers. It is worth knowing the name because many articles still describe it as the future. Per Google's October 2025 update, it is one of the technologies being retired.

Consent

In many countries, the page must ask permission before using personal data for ads. That consent answer travels with the ad request as a coded string, so every company downstream knows what it is allowed to do. In the bid request format we are about to meet, it rides in a section called regs and inside the user's data. Meera's choice on that cookie banner she dismissed without reading follows her ad request all the way through the auction.

Act three: the auction before the auction

Spice Jar does not want to sell Meera's attention to the first buyer who shows up. It wants as many buyers as possible competing at the same moment. That is what the next few terms are about. Part 4 goes into the protocol detail.

Header bidding

Before the page asks its main ad server what to show, a script in the page header asks several ad exchanges at once: "what would you pay for this slot right now?" That is header bidding. The old way, called the waterfall, asked one partner at a time in a fixed order and took the first yes, which often left money on the table. Header bidding lets everyone bid in parallel with a strict timeout, then hands the best prices to the ad server.

Prebid

Prebid is the open source project most publishers use for header bidding. Prebid.js runs in the browser. Prebid Server does the same job on a server, so the browser makes one request instead of ten. In Part 6 we run Prebid Server on our own machine and send it a real auction.

SSP

Each exchange Spice Jar talks to is fronted by an SSP, a supply-side platform: software that works for the publisher, packages its impressions, and offers them to buyers. Think of it as the publisher's auctioneer. Google Ad Manager, Magnite, PubMatic and Index Exchange all sit on this side.

Ad exchange

The ad exchange is the marketplace where the SSP's offer meets buyers' bids. In practice the line between SSP and exchange is blurry, because most SSPs run their own exchange. What matters is the role: the place where a price gets set.

DSP

On the buying side, Copperpot and Tadka Box do not sit at a keyboard bidding on every page view. They use a DSP, a demand-side platform: software that works for advertisers, receives billions of bid requests, and decides in milliseconds which ones to bid on and how much. Google's Display and Video 360, The Trade Desk and Amazon DSP are examples. Part 5 compares how the big ones think.

OpenRTB

For hundreds of SSPs and DSPs to talk to each other, they need a shared language. That is OpenRTB, a protocol published by IAB Tech Lab. It defines exactly what a bid request and a bid response look like, field by field, as JSON. Real-time bidding at internet scale only works because everyone agreed on this format.

Bid request

The SSP sends each DSP a bid request, an OpenRTB JSON object describing the opportunity. One impression, 300x250, on a page at spicejar example dot com, category cooking, device a mobile phone, country India, consent string attached, and a field called tmax that says how many milliseconds the bidder has to answer. Here is a trimmed sketch of the shape:

json
{
  "id": "req-81f2",
  "imp": [{ "id": "1", "banner": { "w": 300, "h": 250 }, "bidfloor": 0.40, "bidfloorcur": "USD" }],
  "site": { "domain": "spicejar.example", "cat": ["IAB8"], "page": "https://spicejar.example/rajma" },
  "device": { "devicetype": 4, "geo": { "country": "IND" } },
  "tmax": 300,
  "at": 1
}

at: 1 means first price. at: 2 means second price. Those two words deserve their own headings.

Floor price

See bidfloor: 0.40 in that request? That is the floor price: the lowest bid the publisher will accept, here 40 cents per thousand impressions. Bids below the floor lose even if they are the only bid. Floors protect publishers from selling cheap. Set them too high and slots go empty.

Bid

Each DSP looks at the request, checks it against its campaigns, predicts how likely Meera is to do something useful, and answers with a bid: a price for this one impression, usually stated as a CPM, plus the ad it wants to show. Or it answers with nothing, which is a no bid, and is the most common answer of all.

Tonight Copperpot bids $2.10 CPM. Tadka Box bids $1.60. The credit card bids $0.90.

First-price auction

In a first-price auction, the highest bid wins and pays what it bid. Copperpot wins and pays $2.10 CPM. Simple and honest, but bidders now have to guess how low they can go and still win, which is why DSPs use "bid shading" models to trim their bids. Google moved its Ad Manager display auction to a unified first price auction in 2019, and said at the time that the change did not affect auctions for Google Search ads.

Second-price auction

In a second-price auction, the highest bid still wins, but it pays just above the second highest bid. Copperpot would win and pay about $1.61, a cent over Tadka Box. The appeal is that bidders can bid their true value without fear of overpaying. Search ads use a close cousin of this idea, where you pay what you need to keep your position, which Part 2 unpacks. Our clone in Part 7 implements the generalised version for several slots at once.

Ad server

The header bidding winners do not get the slot yet. Their prices go to the publisher's ad server, the system that makes the final call. The ad server also knows about deals the publisher sold directly ("Copperpot bought 1 million homepage impressions in December at a fixed price"), house ads, and Google's own demand. It compares everything and picks one winner. Google Ad Manager is the most common ad server. Revive Adserver is an open source one we take apart in Part 6.

Line item

Inside the ad server, each way of filling a slot is a line item: a direct deal, a Prebid price bucket, a house ad. Each line item has a priority, targeting rules and a price. Prebid works with the ad server by passing the winning bid as key values, which match pre made line items priced in buckets.

Act four: the ad appears

Copperpot wins. The ad server sends back the winning creative and the page draws it into the slot.

Creative

The creative is the actual ad: the image, the HTML, the video, the text. Copperpot's is a photo of a gleaming pressure cooker with "6 whistles, zero drama". Creatives usually render inside an iframe so the advertiser's code cannot mess with the publisher's page.

Impression

The moment the ad is served, an impression is counted. An impression is one ad shown once. Most display money is priced per thousand of these. But "served" and "seen" are not the same thing, which is the next problem.

Viewability

Meera is scrolling fast. Did she actually see the cooker? Viewability answers that. The industry standard from the Media Rating Council, which Google uses, says a display ad is viewable when at least 50% of its pixels are on screen for at least one continuous second. Google's own 2014 study of its display platforms found that 56.1% of the impressions it measured were never viewable. Advertisers know this, so slots that are rarely seen earn less. Our clone sends its own viewability beacon using exactly that 50% for one second rule.

Frequency capping

Copperpot does not want to show Meera the same cooker forty times tonight. A frequency cap limits how many times one person sees one campaign in a period, like 3 per day. Without it, budget burns on people who already said no with their thumbs.

Retargeting

Suppose Meera visited Copperpot's site last week and left a cooker in her cart. If Copperpot's DSP recognises her browser, it bids higher, because people who almost bought are more likely to finish. That is retargeting. It is also the practice that depends most on third party cookies, which is why the cookie story in Act two matters so much to advertisers.

Act five: what Meera does next

Most of the time, the answer is nothing. Sometimes she taps.

CTR

Of everyone who saw Copperpot's ad tonight, the share who tapped it is the click-through rate, or CTR: clicks divided by impressions. If 1,000 people saw it and 4 tapped, CTR is 0.4%. CTR matters well beyond reporting: search auctions use predicted CTR to decide who wins, which is the core idea in Part 2 and in our clone.

CPC

If Copperpot pays only when someone clicks, it is buying on CPC, cost per click. Search ads mostly work this way. The advertiser sets the most it will pay for a click and often pays less.

CPM

If Copperpot pays for every thousand impressions whether anyone clicks or not, that is CPM, cost per mille (mille is Latin for thousand). Display ads are mostly sold this way, and our bids in Act three were CPMs. A $2.10 CPM means one impression costs 0.21 cents.

CPA

If Copperpot only cares about sales, it can bid on CPA, cost per acquisition: the price it is willing to pay for one purchase or signup. The ad platform then has to turn that into a per auction bid by predicting how likely each impression is to lead to a sale. That prediction job is what Google calls Smart Bidding.

Smart Bidding

Smart Bidding is Google's name for automated bid strategies that set a fresh bid in every auction to hit a goal, like a target cost per acquisition or a target return on ad spend, using signals available at auction time such as device, location and time of day. Google's help also says you need conversion tracking turned on to use it. The advertiser states the goal. The machine picks the number.

Conversion

Meera taps, reads, and buys the cooker. That purchase is a conversion: the action the advertiser actually wanted. The advertiser's site has a tag that reports it back to the ad platform, usually by matching an ID that was attached to the click.

Attribution

Meera also saw a Tadka Box ad on Instagram yesterday and searched "pressure cooker" on Google this morning. Who gets credit for the sale? Attribution is the set of rules that answers that question. Last click gives all the credit to the final touch. Data driven models spread it around. Every ad platform's own reports tend to give itself generous credit, which is worth remembering when you read any dashboard.

Act six: the search page version

The story so far is display advertising: ads on someone else's page. Search ads are the other half of the business, and they run the auction differently.

Keyword

On a search page, the strongest signal is the query itself. Advertisers bid on keywords, words or phrases they want to show up for. Copperpot bids on "pressure cooker" and "best pressure cooker for rajma". Match types control how loosely the system may interpret those words.

Ad Rank

Google does not simply sort search ads by bid. It computes Ad Rank. Google's help page says Ad Rank is calculated at auction time from six factors: your bid, the quality of your ads and landing page, the Ad Rank thresholds, the competitiveness of the auction, the context of the search, and the expected impact of your ad assets. Highest Ad Rank generally gets the top spot. A better ad can beat a bigger bid. Part 2 shows what is known and what is not.

Quality Score

Quality Score is a 1 to 10 rating Google shows advertisers for each keyword, built from three components: expected CTR, ad relevance and landing page experience. Here is the bit that trips people up: Google's help says Quality Score is a diagnostic tool and is not an input in the ad auction. Think of it as the report card, not the exam.

Act seven: following the money

Copperpot was charged. Now the money has to travel back to Spice Jar, and a few more terms come along.

eCPM

Spice Jar's slot was sold tonight at a CPM to Copperpot, but tomorrow it might be filled by a CPC ad or a CPA ad. To compare apples with apples, the industry converts everything into eCPM, effective cost per mille: what the slot earned per thousand impressions, whatever the pricing model. A CPC ad with a $0.50 click and a 0.4% CTR has an eCPM of $2.00, because 1,000 impressions bring 4 clicks worth 50 cents each.

RPM

RPM, revenue per mille, is the publisher side view of the same idea. Google's AdSense help defines it as estimated earnings divided by the number of page views, impressions or queries, multiplied by 1,000. Page RPM uses page views, so a page with three ads can have a higher page RPM than a page with one, even if each ad earns less. Part 8 shows why that difference decides most optimisation choices.

Fill rate

Not every ad request finds a buyer. Fill rate is the share of ad requests that got an ad. AdSense calls this coverage and defines it as the percentage of ad requests that returned at least one ad. If Spice Jar's slot sent 1,000 requests tonight and 800 came back with ads, coverage is 80%. The other 200 were empty rectangles, or a house ad if the publisher had one ready.

Pacing

Copperpot set a daily budget. If the system spent it all by 10 in the morning, Copperpot would miss the evening when people cook. Pacing is how the ad platform spreads spend through the day, usually by throttling how often a campaign enters auctions based on how much it has spent versus how much of the day has passed. Our clone implements a simple throttle in Part 7.

Revenue share

Copperpot paid a dollar. Spice Jar does not get a dollar. Every platform in the chain takes a cut, and the cut that remains for the publisher is its revenue share. Google has published its AdSense numbers: for AdSense for content, publishers receive 80% of revenue after the advertiser's platform takes its fee, and when Google Ads is the buyer it keeps on average 15%, so publishers keep about 68% overall.

ads.txt and sellers.json

How did Copperpot's DSP know the impression really came from Spice Jar, and not from a fake site pretending to be Spice Jar? Two public files. ads.txt is a plain text file on the publisher's own domain listing every company allowed to sell its inventory, one per line: the seller's domain, the publisher's account ID there, whether the relationship is DIRECT or RESELLER, and an optional certification ID. It is an IAB Tech Lab standard, and buyers can check it to avoid inventory sold by sellers who are not listed. sellers.json is the mirror image, published by each SSP, saying which real company is behind each account ID. A bid request can also carry a supply chain object listing every company that touched it on the way. Here is the real line from this site's ads.txt:

text
google.com, pub-9304731671950770, DIRECT, f08c47fec0942fa0

Invalid traffic

Finally, the bouncer. Some clicks and impressions are not real interest: bots, click farms, a publisher clicking their own ads, or a layout that makes thumbs slip onto ads. Google calls all of this invalid traffic and defines it as any clicks or impressions that may artificially inflate an advertiser's costs or a publisher's earnings, accidental clicks included. It gets filtered out, it does not get paid, and too much of it can get a publisher's account suspended. Our clone has a tiny version of this: it ignores repeated clicks from the same user on the same ad.

The whole trip again, now that you know the words

Meera opened a recipe. The publisher's ad tag fired an ad request for an ad unit. Header bidding, through Prebid, sent OpenRTB bid requests via SSPs and exchanges to DSPs. Each DSP decided what she was worth and returned a bid above the floor. A first-price auction picked the best one, and the ad server compared it with direct line items and Google's own demand. Copperpot's creative rendered, an impression counted, and it was viewable because she paused for two seconds. She clicked, so CTR ticked up and, in a CPC world, Copperpot paid for the click. She bought, so there was a conversion, and attribution decided who got credit. Spice Jar's report turned all of it into eCPM and RPM, minus the revenue share, with ads.txt proving the inventory was genuine and invalid traffic filters making sure the click was real.

That is the entire industry in one paragraph. Everything else is detail, and the detail is where the next seven parts live.

What's next

Part 2: How a Google search ad wins its auction zooms into the search page: what happens in the milliseconds after you press enter, what Ad Rank really includes, and why the highest bidder often does not win.

Sources