Quick answer
An ad exchange is a marketplace that auctions each ad impression in real time: sellers offer the slot through supply-side platforms, buyers bid through demand-side platforms, and the exchange applies the floor, picks the winner and sets the price, all within a bid deadline of about 100 ms.
Formula: Cost per 1,000 impressions (CPM) paid = winning bid (first price) or runner-up bid + $0.01 (second price plus)
What is an ad exchange?
An ad exchange is the marketplace where an ad impression is sold at the moment a page or app asks for an ad. Sellers (through supply-side platforms) offer the impression, buyers (through demand-side platforms) bid on it, and the exchange runs the auction, applies the price floor, picks the winner and returns the ad. The IAB Tech Lab's OpenRTB specification defines an exchange in one line: a service that conducts an auction among bidders per impression.
Two older definitions help place it. An ad network buys and bundles inventory from many publishers and resells it as one package; an exchange does not own or bundle inventory, it is the neutral place where many buyers and many sellers meet. The process of selling each impression in a live auction is real-time bidding, and buying through exchanges and similar systems is the core of programmatic advertising.
Who is on each side of the exchange
| Role | What they do | Typical decision |
|---|---|---|
| Publisher | Owns the page or app with the ad slot | Sets a price floor and which buyers may bid |
| Supply-side platform (SSP) | Software publishers use to aggregate, consolidate and manage demand sources and exchange inventory | Sends the impression to one or several exchanges |
| Ad exchange | Runs the auction per impression | Applies floors, picks the winner, sets the clearing price |
| Demand-side platform (DSP) | Lets advertisers buy impressions across many sources, targeted by user information such as location and browsing behavior | Decides whether this impression is worth a bid, and how much |
| Advertiser or agency | Pays for the campaign | Sets budget, targeting and goal |
In practice the roles blur: some companies run an SSP and an exchange together, and some DSPs connect directly to publishers. Treat the table as functions, not company types.
How an ad exchange auction works, step by step
The impression is auctioned while the page is loading, so the whole auction runs on a clock. The bid request carries a field called tmax, defined in the OpenRTB 2.6 specification as the maximum time in milliseconds the exchange allows for bids to be received, including internet latency. Google documents that the deadline for bidders on its exchange typically ranges from 80 to 1000 ms, and requires that 85 percent of responses arrive within the deadline.
Sample data: a time budget for an exchange that sets tmax to 100 ms. The step lengths are an illustration of how the budget is spent, not measurements from a real exchange.
| Step | What happens | Budget |
|---|---|---|
| 1 | The page requests an ad for a slot (through an ad tag or a header bidding wrapper) | 8 ms |
| 2 | The exchange builds a bid request (slot size, page, user signals, floor) | 7 ms |
| 3 | The bid request travels to the bidders | 18 ms |
| 4 | Each DSP looks up the user and campaigns and decides a price | 32 ms |
| 5 | The bids travel back to the exchange | 18 ms |
| 6 | The auction runs: floors applied, winner chosen, clearing price set | 5 ms |
| 7 | The winning ad markup returns to the page | 12 ms |
| Total | 100 ms |
Two things follow from the clock. A bidder that answers late is simply not in the auction, however high its bid. And the longest single step belongs to the buyers: network distance and decision time are why DSPs place servers close to exchanges. Meanwhile the slot stays empty until the winner arrives, so a slow auction delays the ad the visitor sees.
First-price vs second-price: what the winner pays
OpenRTB lets the bid request say which rule applies: its at field is 1 for a first-price auction and 2 for "second price plus", and the default is 2. In a second-price auction the highest bidder wins and pays a price based on the runner-up; Xandr's glossary describes this as paying a price equal to the second-highest bid. In a first-price auction the winner pays what it bid.
Google Ad Manager announced on May 10, 2019 that it would move to a unified first-price auction, which also means floors that only pushed second-price clearing prices up stop having that effect.
Sample data: floor $2.00 CPM; four bids: A $4.10, B $3.60, C $3.10 and D $1.50. Bid D is below the floor and is out.
| Second price plus (+ $0.01) | First price | |
|---|---|---|
| Winner | A | A |
| Clearing price (CPM) | $3.61 (runner-up B at $3.60 + $0.01) | $4.10 |
| Publisher revenue per 1,000 impressions | $3.61 | $4.10 |
| Difference | $0.49 per thousand, or $490 per million impressions |
First price pays the publisher more per impression on identical bids. Bidders know that, and they respond by shading: after switching to first price, a rational A would bid closer to $3.70 (just above B's $3.60) than $4.10. So the $0.49 gap in the table is the best case for the publisher; the real gap depends on how well bidders predict the competition. The practical rule: when your exchange changes its auction type, compare revenue per thousand impressions for a few weeks before and after, not bid prices.
Open, private and direct: three ways to trade
- Open auction. Any approved buyer can bid on the impression. Highest volume, lowest control, most variable price.
- Private marketplace (invitation-only). The publisher invites selected buyers, often with a higher floor. Fewer bidders, more predictable quality.
- Programmatic guaranteed or preferred deal. Price and volume agreed in advance, delivered through the same technology. In OpenRTB, a deal price can be passed in the bid floor with auction type 3.
The supply chain between exchange and publisher can be checked by buyers with ads.txt, which lists the companies authorized to sell a publisher's inventory, and sellers.json and the SupplyChain object, which show every party that sold or resold a bid request. See ad tech for the full chain.
Ad exchange vs ad network vs SSP
| Ad exchange | Ad network | SSP | |
|---|---|---|---|
| Who it serves | Both sides, neutral | Aggregates publishers for advertisers | The publisher |
| How price is set | Per-impression auction | A consolidated buy of inventory aggregated from many publishers | Passes impressions to exchanges and other demand |
| Do they hold inventory? | No | Yes, commonly unsold inventory | No, it manages it for the publisher |
| Buyer sees | Bid request details | A package | Depends on the SSP |
Measuring what an exchange buy delivered
TapCub is not an exchange, a DSP or an SSP and does not bid, buy or serve ads. It measures what happens after the click, on your own site. Suppose you bought exchange inventory through a DSP and want to know whether it worked.
- Tag every campaign's destination URL with UTM parameters, so the traffic is identifiable. See UTM and name UTM parameters.
- In Web analytics › Sources, open the UTM tab to see visitors, sessions, pageviews, bounce and duration for that campaign; the Channels tab adds conversions.
- Import the campaign cost on the Costs tab of All-platform analytics › Business › Channel ROI: day, channel, source, campaign and cost. The page then gives cost per click (spend ÷ sessions), cost per acquisition (spend ÷ purchases on the order ledger) and return on ad spend (revenue ÷ spend).
- Compare the exchange campaign with your other channels in the same table, and keep or cut it on those numbers, not on the exchange's win rate.
Note that TapCub's cost per click divides by sessions that arrived on your site, not by clicks recorded in the ad platform. Expect the two to differ; see ad server for why.
See also: What is a supply-side platform (SSP)? Definition and auction example.
Sources
- IAB Tech Lab, OpenRTB 2.6 specification (exchange definition;
atandtmaxfields). - Google Authorized Buyers, Latency restrictions and peering (bid deadline of 80 to 1000 ms; 85 percent of responses within the deadline).
- Google Ad Manager blog, An update on first price auctions in Google Ad Manager (May 10, 2019).
- Microsoft Xandr, Online advertising and ad tech glossary (second-price auction, SSP, DSP, ad exchange).
- IAB Tech Lab, sellers.json and SupplyChain object and ads.txt.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Product Experience Specialist
Explores usability, user journeys, and feature adoption through practical examples of onboarding and everyday product use.