Programmatic Advertising Explained: RTB, DSPs, and Where the Budget Leaks
Every banner ad that follows you across the internet got there through an auction that cleared in under a tenth of a second. Programmatic advertising is the machinery behind that auction - the DSPs, SSPs, and exchanges that buy and sell ad space automatically, at a scale no human trading desk could match. Most of what goes wrong with it happens in places advertisers never look: fraud, non-viewable placements, and a fee stack that eats a real share of the budget before it buys a single impression.
01Programmatic Advertising: A Quick Definition
Programmatic advertising is the automated buying and selling of ad inventory through real-time auctions, handled by software instead of a media planner calling a publisher. A demand-side platform bids on an impression the instant a page loads, an exchange matches that bid against a seller's inventory, and the ad renders before the page finishes loading.
Picture a stock exchange, except it's trading a single ad slot on a single page in front of a single visitor, and the whole transaction - bid, match, render - completes in roughly 100 milliseconds, before the page has finished painting. Every actor in that chain has a name and a job: the advertiser's software bids, the publisher's software sells, an exchange clears the trade, and a data layer decides who's worth bidding on in the first place. None of it runs through a phone call or an insertion order sent by email, which is what separates it from the platform-native buying you do inside Meta Ads Manager or TikTok Ads - those run their own internal auctions too, but the inventory never leaves that one platform's walls.
02Under the Hood: DSP, SSP, Ad Exchange, and DMP in Plain Words
Four pieces of infrastructure make the auction possible, and untangling what each one does is most of what makes programmatic stop feeling like a black box.
- DSP (demand-side platform) - software an advertiser uses to bid across many sites and apps at once. The Trade Desk, DV360, Amazon DSP, and StackAdapt are common ones; you set the audience, the creative, and a price ceiling, and it bids thousands of times a second on your behalf.
- SSP (supply-side platform) - the publisher's side of the same trade. It takes a site or app's unsold inventory and offers it to every connected exchange and DSP at once, trying to get the highest price for each impression. Google Ad Manager, PubMatic, and Magnite run this end.
- An ad exchange is the marketplace where DSP bids and SSP offers actually meet and the auction clears. Think of it as the trading floor: it matches supply to demand and settles the price inside that sub-second window.
- DMP or CDP (data management / customer data platform) - the layer holding the audience data a DSP checks before deciding whether an impression is worth bidding on: device IDs, purchase history, behavioral segments, lookalike models. Third-party cookies are fading out of this picture, and first-party CDP data is taking over the targeting job.
03Deal Types: Open Auction, Private Marketplace, and Programmatic Guaranteed
Not every programmatic impression trades the same way. Three deal structures cover almost everything you'll run into, and they trade control for price in opposite directions.
- In an open auction (RTB) anyone can bid, the highest qualifying bid wins, and price floats with demand. It offers the cheapest access to inventory, at the cost of knowing exactly where the ad lands.
- A private marketplace (PMP) is where a publisher invites a fixed list of buyers to bid on reserved inventory at an agreed price floor. It is still an auction, but the seller has pre-vetted who's allowed to compete, which usually means better placement quality.
- A preferred deal offers a fixed price and first look at the inventory, with no guaranteed volume. It is a middle step between PMP and full guarantee.
- Programmatic guaranteed means price and volume fixed upfront, like a traditional insertion order, except the ad still moves through the programmatic pipes instead of a manual trafficking process. There is no per-impression bidding war, and delivery is committed.
04Targeting, Frequency, and the Auction Itself
Every bid request carries a bundle of signals a DSP evaluates in milliseconds: the page's content category, the user's inferred age and interests, the device, the time of day, the geo, and - if retargeting is set up - whether this exact visitor has already been on the site. The DSP scores all of it against the campaign's target, prices a bid, and fires it before the auction window closes.
Frequency capping matters more here than on a single social platform, because one campaign can be buying across thousands of unrelated sites and apps simultaneously, and without a hard cap the same user ends up seeing the same banner nine times in an afternoon across nine different publishers. A typical cap sits around 3-6 impressions per user per day, tightened further on retargeting, where fatigue sets in fast.
Verification vendors like Integral Ad Science, DoubleVerify, and Moat sit on top of all this and check where the ad actually rendered, whether a real person was looking at it, and whether the page it landed on was legitimate to begin with. Skip that layer and you're trusting the exchange's own numbers, which have every incentive to look good.
05A Worked Example: Following a $5,000 Budget Through the Stack
Take a hypothetical $5,000 test on an open-auction display campaign, bought at an average $8 CPM. On paper that buys 625,000 impressions. In practice, a meaningful share of that budget never turns into an impression a human being actually sees.
Ad-tech fees come off first - the DSP's platform fee, the SSP's cut, exchange fees, and data costs for the targeting segments, commonly cited in the 30-50% range combined depending on the stack. That alone can leave $2,500-$3,500 of the original $5,000 buying media at all; the rest pays the pipes it travels through.
Of the impressions that do get bought, viewability on open-exchange inventory typically runs 55-75%, which means a quarter to nearly half never meet the industry's own minimum bar of 50% of the ad's pixels in view for at least one second. Layer on invalid traffic - bots, ad stacking, other fraud, often estimated in the 5-15% range on decent inventory and considerably higher on the bottom-tier exchanges - and another slice disappears before anyone's eyes reach it.
Made-for-advertising sites absorb a further, harder-to-quantify piece of open-auction spend: pages built for no purpose beyond carrying ad slots, with thin content and aggressive ad density, that pass every technical check an exchange runs while delivering close to nothing in return. Run the arithmetic through and a $5,000 nominal buy can land somewhere around $1,500-$2,500 of genuinely viewable, fraud-free impressions on inventory worth being on. That gap is the real argument for private marketplace deals and inventory allowlists, even at a higher headline CPM.
| What matters | Programmatic (RTB) | Direct buying (Meta, TikTok, etc.) |
|---|---|---|
| Inventory | Open web, CTV, audio, DOOH, aggregated across thousands of sites and apps | Only that platform's own feed, stories, and placements |
| Price discovery | Real-time auction, price floats per impression, per site | Platform's own auction, bounded inside one ecosystem |
| Transparency | Log-level reporting exists but takes work to reconcile; exact site isn't always obvious | You know precisely where the ad ran - feed, Reels, in-stream |
| Fraud & viewability risk | Real and uneven by exchange; needs third-party verification | Low; the platform curates and polices its own inventory |
| Targeting data | DMP/CDP segments, device IDs, contextual signals | Platform's own first-party interest and behavior data |
| Tech-tax stack | DSP + SSP + exchange + data fees layered on top of media cost | Platform fee baked into CPM/CPC, no separate stack to audit |
| Best fit | Retargeting at scale, CTV/audio reach, guaranteed deals with premium publishers | Direct-response performance campaigns, social-native creative testing |
06Programmatic vs. Direct Buying on Meta and TikTok
Programmatic and the self-serve buying inside Meta Ads Manager or TikTok Ads solve a similar problem - get an ad in front of the right person - through almost opposite mechanics. Meta and TikTok run their own internal auctions too, but the inventory never leaves their platform, and their algorithm both optimizes delivery and controls the reporting you get to see.
Programmatic trades that closed system for reach across the open web, CTV apps, audio, and out-of-home screens, at the cost of a longer chain between the advertiser's dollar and the actual placement. The right choice depends on whether a campaign needs the precision of a walled garden or the scale of the open exchange.
07Where You Actually Meet Programmatic
It shows up more often than most people notice. A banner ad that follows you to a news site after you looked at a pair of shoes got there through an RTB auction and a retargeting pixel. The pre-roll break on a free streaming app is a CTV programmatic buy, usually cleared through The Trade Desk or Amazon DSP. The audio ad between two songs on a free-tier music app cleared through an audio exchange the same way.
Verticals that get restricted on Meta and Google - iGaming, trading and binary options, adult - lean on programmatic display and native exchanges harder than most, precisely because the mainstream platforms won't run the offer. That inventory sits at the rougher end of the quality spectrum, which makes the fraud and viewability checks from the worked example above less optional, not more.
I've audited programmatic buys in exactly those hard verticals, pulling exchange-level reporting against Keitaro postback data to find out how much of a supposed impression buy was ever real. It's usually a smaller number than the invoice suggests, and worth checking before scaling any campaign built on open-auction inventory.
08Related Terms Worth Knowing
The vocabulary overlaps with media buying but isn't identical, and mixing the two up is where most confusion starts.
- RTB (real-time bidding) - the auction mechanism itself, the part that clears in under 100 milliseconds.
- Header bidding lets a publisher run one impression through several exchanges at once before picking a winner.
- Ad-tech take rate - the combined cut DSPs, SSPs, and exchanges keep before media dollars reach a publisher.
- MFA (made-for-advertising) - low-quality sites built mainly to carry ad slots rather than serve readers.
- Viewability measures whether an ad was actually in view long enough to count, per IAB standards.
- First-price vs. second-price auction - whether the winner pays their own bid or the next-highest one.
- CTV and DOOH stand for connected TV and digital out-of-home, two of programmatic's fastest-growing inventory types.
09FAQ
What's the difference between programmatic advertising and RTB?
RTB (real-time bidding) is the auction mechanism - the sub-second process of matching a bid to an impression. Programmatic advertising is the broader category: RTB plus programmatic guaranteed deals, private marketplaces, and preferred deals, all traded through the same DSP-SSP-exchange infrastructure but not all decided by a live auction.
How much of a programmatic budget actually reaches the publisher?
It varies by stack and inventory quality, but ad-tech fees, invalid traffic, and non-viewable placements commonly combine to take somewhere in the 40-60% range on open-auction display, less on curated private marketplace deals. The exact number depends on the exchange, the verification tools used, and how tightly targeting is set.
What is a made-for-advertising (MFA) site?
An MFA site is built with little purpose beyond carrying ad slots - thin, often auto-generated content, unusually high ad density, and traffic acquired cheaply rather than earned. It passes most technical exchange checks while delivering weak attention and results, so buyers increasingly use inventory blocklists to keep spend off it.
Is programmatic advertising still worth it without third-party cookies?
Third-party cookies are fading, but programmatic isn't going away with them - targeting is shifting toward contextual signals, first-party CDP data, and cohort-based methods instead of individual tracking. Campaigns leaning on broad reach, contextual placement, or retargeting off a brand's own data still work well.
Do I need my own DSP account to run programmatic campaigns?
Not necessarily. Agencies and trading desks run campaigns through their own DSP seats on a client's behalf, which is common for smaller budgets. Buyers spending enough to justify the learning curve, often north of $10k-$20k a month, tend to move to a self-managed DSP account for direct control over targeting and reporting.
- Programmatic advertising automates buying and selling ad inventory through DSPs, SSPs, and ad exchanges, clearing each auction in under a tenth of a second.
- Three deal types cover most of it: open auction (cheapest, least control), private marketplace (vetted buyers, better placement), and programmatic guaranteed (fixed price and volume, no per-impression bidding).
- A meaningful share of open-auction spend never reaches a real, viewable, fraud-free impression - ad-tech fees, invalid traffic, and made-for-advertising sites all take a cut first.
- Programmatic buys reach across the open web, CTV, and audio; direct buying on Meta or TikTok trades that reach for a closed, more transparent, better-policed ecosystem.
Want this on your product?
I consult on acquisition, funnels and retention - including hard verticals.