What is an ad exchange? It is a digital marketplace where advertisers and publishers buy and sell ad impressions in real time, one impression at a time. Buyers connect through demand-side platforms (DSPs), sellers connect through supply-side platforms (SSPs), and the exchange runs an automated auction that matches the highest bid to each available impression in milliseconds. It is the trading floor of programmatic advertising.
What is an ad exchange, in plain English?
Picture a stock exchange, but instead of trading shares, it trades the single ad slot that loads at the top of a webpage the instant you open it. That slot is an impression. The ad exchange is the venue where that impression gets auctioned off, and the whole transaction closes before the page finishes rendering.
Here is the part that trips people up: the advertiser does not log into the exchange and click "buy." The advertiser sets rules and budgets inside a demand-side platform, the publisher lists their inventory through a supply-side platform, and the exchange is the neutral middle that connects the two sides and runs the auction. Buy-side talks to one platform. Sell-side talks to another. The exchange makes them agree on a price, automatically, billions of times a day.
No phone calls. No insertion orders. No account rep haggling over a quarterly buy. Just an auction that fires every time a human loads a page or opens an app.
How an ad exchange works, step by step
The whole thing happens through real-time bidding, and the timeline is roughly this:
- A user loads a page or app. A space on the screen is reserved for an ad. That space becomes an impression up for sale.
- The publisher's SSP sends the impression to the exchange, bundled with data: the page, the device, the geography, and (where permitted) audience signals.
- The exchange broadcasts a bid request to every connected DSP, essentially asking, "Who wants this specific impression, and how much will you pay?"
- DSPs evaluate the impression against each advertiser's targeting and budget rules, then submit bids automatically.
- The exchange runs the auction, picks the winner, and the winning ad is served onto the page.
All five steps finish in the time it takes the page to load, usually under 100 milliseconds. You will never see it happen. It already happened.
How the auction prices the impression
For years, exchanges ran second-price auctions: the highest bidder won but paid one cent more than the second-highest bid, not their full bid. The logic was that it kept bidding honest, since overbidding could not hurt you. Most major exchanges have since moved to first-price auctions, where the winner pays exactly what they bid. The shift matters because it changes how a DSP shades and optimizes bids on your behalf. If your agency cannot tell you which auction type they are buying into and how their bidding adjusts for it, that is a signal they are flying the plane with the manual still in the shrink wrap.
There is also the question of why one auction even decides the price. Publishers used to call exchanges and SSPs one at a time, in a fixed order, so the first one to fill the slot won regardless of who would have paid more. Header bidding fixed that by letting multiple exchanges bid simultaneously before the page calls the ad server, which pushes more competition into every impression and usually lifts what publishers earn. From the buy-side, it means the impression you win was genuinely contested, not just the first bid that happened to show up.
Open vs. private ad exchanges
Not every exchange is a free-for-all. There are two flavors, and the difference matters for what you are buying.
Open exchanges are the public marketplace. Any qualified buyer can bid on any available impression across a massive pool of sites and apps. Reach is enormous. Transparency into exactly where your ad runs can be lower, and brand-safety controls do more work here.
Private exchanges (often called Private Marketplaces, or PMPs) are invite-only. A publisher opens a curated slice of premium inventory to a select group of buyers, frequently at a negotiated floor price. You trade some scale for more control: better-known placements, cleaner inventory, and a clearer line of sight into where your money goes.
Most serious programmatic strategies use both. Open exchange for reach and prospecting, private deals for the placements you want your brand sitting next to.
Ad exchange vs. ad network: the distinction people get wrong
These two get used interchangeably, and they are not the same thing. Mixing them up is how budgets quietly leak.
An ad network is a broker. It buys ad inventory in bulk from a bunch of publishers, packages it up, and resells it to advertisers as bundles. You are buying a curated lot, often without granular control over exactly which impressions you get or precisely what you paid for each one.
An ad exchange is a marketplace, not a middleman holding inventory. It does not buy and resell. It connects buyers and sellers directly and auctions each impression individually, in real time, to the highest bidder. You bid on the specific impression, you see the per-impression price, and the transaction is yours.
| Ad Exchange | Ad Network | |
|---|---|---|
| What it is | A marketplace that auctions impressions | A broker that aggregates and resells inventory |
| How you buy | Per impression, via real-time auction | In bundles or packages |
| Pricing | Set by live auction, per impression | Negotiated or fixed for the package |
| Transparency | High; you can see per-impression detail | Lower; the network packages it for you |
| Targeting | Granular, through a DSP | Broader, set at the package level |
| Came first | The evolution that fixed the network's blind spots | The original model, predates exchanges |
Short version: ad networks aggregate and resell. Ad exchanges match and auction. Exchanges exist because networks left advertisers buying inventory they could not fully see.
Where the ad exchange fits in the programmatic stack
The exchange does not work alone. It is one piece of a four-part machine, and the pieces only make sense together:
- DSP (demand-side platform): where advertisers set targeting, budgets, and bids. The buy-side cockpit.
- SSP (supply-side platform): where publishers list and manage the inventory they want to sell. The sell-side cockpit.
- Ad exchange: the neutral marketplace in the middle that connects DSPs and SSPs and runs the auction.
- RTB (real-time bidding): the auction mechanism itself, the protocol that prices and clears every impression in milliseconds.
Think of it as: DSP is the buyer, SSP is the seller, the exchange is the market they meet in, and RTB is the gavel coming down. Auctions are the most common way to transact here, but not the only one. When you want guaranteed volume on specific inventory at a locked price, that is programmatic guaranteed, which trades the auction for a reserved buy. If you want the deeper version of how we put all of this to work, that lives on our programmatic advertising page, and our programmatic advertising guide walks the whole stack end to end.
What the exchange costs you (and where the money goes)
Every time an impression clears, the parties in the middle take a cut before the publisher sees a dollar. The DSP charges a fee, the SSP charges a fee, and the exchange takes its own margin. Stack those together and a meaningful share of your spend can evaporate before a single ad renders. This is the "ad tech tax," and it is the single biggest reason per-impression transparency is not a nice-to-have. You buy on a CPM basis, the cost per thousand impressions, but the CPM you pay and the CPM the publisher receives are rarely the same number. Knowing the spread between them is how you tell whether your media dollars are reaching real inventory or feeding the middlemen.
The other quiet drain on the open exchange is inventory that was never worth buying in the first place: bots, hidden ad slots, and impressions no human ever saw. That is why invalid traffic filtering and viewability measurement belong in any serious programmatic setup. An impression you won fair and square is still worthless if a script loaded it in a 1x1 pixel offscreen. The exchange will happily sell it to you anyway.
Why this matters for your media buying
You do not need to operate an ad exchange to benefit from understanding one. You need to understand it so you can tell whether the people spending your money know what they are doing.
When an agency says "we run programmatic," what they mean is they are buying impressions through exchanges via a DSP. The questions that separate competent from careless are exchange-level questions: Are we buying open exchange, private deals, or both? Can we see the per-impression price and the domains we ran on? What are we doing about ad fraud and brand safety on the open exchange? Those are not advanced questions. They are the floor. Any partner worth their fee should answer them without flinching.
This is also where the comparison shopping happens. Plenty of advertisers weigh programmatic against the walled garden of Google Ads, and the honest answer is that they solve different problems and most growing brands eventually run both. That is the whole reason this glossary exists. We would rather you walk into a programmatic conversation already fluent than nod along while someone hides the mechanics behind jargon.
Want this running for your brand, not just defined?
Knowing how an ad exchange works is step one. Having a senior team trade your budget through one, with the per-impression transparency and brand-safety controls most agencies gloss over, is where the work gets done. See how we run it on our programmatic advertising page, check what it costs on our programmatic pricing page, or browse the rest of the glossary to keep getting fluent. When you are ready to talk, get in touch. Thirty minutes, no hard sell, just straight answers.