Header bidding

How programmatic platforms connect, from your page to the buyer

Programmatic platforms mapped in one picture: what each type does, how they connect and what to check when a link breaks. A plain 2027 guide for publishers.

Programmatic platforms in two columns, the sell side from site to SSP and the buy side from DSP to advertiser

Programmatic platforms are the software that buys and sells ads automatically, one impression at a time. Buyers use demand-side platforms (DSPs). Publishers use ad servers, supply-side platforms (SSPs) and ad exchanges. Data, identity and verification platforms sit around them. They all talk through shared standards, mainly IAB Tech Lab's OpenRTB, ads.txt and sellers.json.

Most guides list the platforms and stop there. That's the easy half. When a slot stays blank or a buyer never bids, the platform itself is rarely the problem. The link between two platforms is.

So this guide maps the links: what travels on each one, which file or standard controls it, and what breaks when it fails. If the auction itself is new to you, start with our guide to programmatic advertising for publishers.

Types of programmatic platforms at a glance

There are nine types of programmatic platforms a publisher's impression can touch. Four of them you run or choose yourself. The rest belong to buyers or sit in the middle. Here's the list of programmatic platforms, with what each one does to your impression.

Platform typeSideWhat it does with your impressionWho picks it
Ad serverSellGets the ad request from your page and makes the final call on which ad showsYou
Header bidding wrapperSellAsks several SSPs for bids before the ad server decidesYou
Consent management platform (CMP)SellRecords the visitor's privacy choices and passes them to every platform downstreamYou
Supply-side platform (SSP)SellPackages the impression as a bid request and manages your floors, deals and buyer blocksYou
Ad exchangeMiddleRuns the auction between bidders and picks the winnerComes with the SSP or ad server
Demand-side platform (DSP)BuyReads the bid request and decides what an advertiser will payThe buyer
Data management platform (DMP) or CDPBothStores audience segments that buyers target or sellers package into dealsMostly the buyer
Identity providerMiddleSupplies user IDs so buyers can recognise a visitor without third-party cookiesYou or your SSP
Verification platformBuyChecks fraud, brand safety and viewability before or after the bidThe buyer

One company can run several of these at once. Google Ad Manager, for example, is an ad server with Google's own exchange built in. That's why "platform" and "company" get mixed up. For the businesses behind each type and how each one earns, see our guide to programmatic advertising companies. To open up a single one and see its parts, read what a programmatic advertising platform does.

The programmatic platform map, from page to buyer

This is how the platforms work together on every impression. Each one travels the same path: from your page to your ad server, out to the exchanges, across to the DSPs and back. The wrapper and the consent platform sit in front of the ad server. Data, identity and trust files feed in from the sides. Here's the programmatic platform map in one picture.

  Your page or app
        |  ad request (Google Publisher Tag, app SDK or video player)
        v
  Consent platform (CMP) ...... consent string rides along with every request
        |
        v
  Header bidding wrapper ------> SSPs ------> DSPs
  (Prebid.js / Prebid Server) <-- bids <----- bids
        |  best header bids
        v
  Ad server (makes the final decision)
        |  its own exchange + Open Bidding partners
        v
  Ad exchange ---- OpenRTB bid request ----> DSPs
              <--- OpenRTB bid response ----
                     ^          ^          ^
               ads.txt and   audience    user IDs
               sellers.json  data (DMP)  (identity)
        |
        v
  Winning ad back to the page (or VAST XML to the video player)

Read it top to bottom and you have the order of one auction. It all happens in a fraction of a second. Google says its exchange "waits 80 to 1000 ms" for a bidder to answer, depending on the format, and drops any reply that arrives late.

  1. Your page loads and the consent platform records the visitor's choice.
  2. The wrapper sends bid requests to the SSPs you added, with the consent string attached.
  3. The SSPs pass the request to DSPs, collect bids and send the best ones back.
  4. The wrapper hands those bids to the ad server.
  5. The ad server runs its own auction, including its exchange and any Open Bidding partners, against the header bids and your direct deals.
  6. The winning ad goes back to the page, or as VAST XML to the video player.

Programmatic platforms connect through a handful of shared standards and files, not custom wiring. Each link in the map has one job and one standard behind it. Learn the dozen links below and you can read any setup, however many logos it has.

LinkWhat travels on itStandard or fileWho sets it up
Page to ad serverAd request: slot sizes, page URL, your key-valuesGoogle Publisher Tag on web, the mobile ads SDK in apps, a VAST call from video playersYou
CMP to everyoneThe visitor's privacy choicesIAB Europe TCF string or IAB Tech Lab's Global Privacy Protocol (GPP)You and your CMP
Wrapper to SSPsBid requests out, bids back before the ad server callPrebid.js bidder adapters, or Prebid Server for server-sideYou
Ad server to Open Bidding partnersA server-to-server auction inside the ad serverGoogle Ad Manager Open BiddingYou switch it on, Google runs it
Exchange to DSPsBid request and bid responseOpenRTB 2.6The SSP or exchange
DSP to your domainThe list of companies allowed to sell your inventoryads.txt (app-ads.txt for apps)You publish it, buyers crawl it
DSP to the SSP's domainWho the seller behind each account issellers.jsonThe SSP publishes it
Exchange to DSP, inside the requestEvery company that handled the impressionSupplyChain object (schain)Each seller in the chain
Identity to SSP and DSPUser IDs in place of third-party cookiesThe eids array in OpenRTB; cookie syncing for older setupsYou, your wrapper or your SSP
Data platform to DSP or SSPAudience segmentsSegment IDs, or a deal ID that carries a packaged audienceMostly the buyer
Verification to DSPPre-bid filters and post-serve measurementEach vendor's own integrationThe buyer
Ad server to video playerThe video ad and its trackingVAST XMLThe ad server

OpenRTB is the format exchanges and DSPs use for the bid itself. IAB Tech Lab's OpenRTB 2.6 specification sets the fields, and these ones map straight onto the links above.

  • tmax: the "maximum time in milliseconds the exchange allows for bids to be received". Miss it and the bid is lost.
  • imp.pmp.deals: the private deals a buyer can bid through, each with its own deal ID.
  • source.schain: the supply chain, one node for each company that touched the impression.
  • user.eids: the extended IDs from identity providers. The spec says they let buyers "use audience data in real-time bidding".
  • regs.gdpr, regs.us_privacy and regs.gpp: the privacy signals from your consent platform.

ads.txt and sellers.json are the two files that let a DSP check a seller before it bids. With ads.txt, publishers "publicly declare the companies they authorize to sell their digital inventory". Each line names an ad system, your account ID with it and whether the relationship is DIRECT or RESELLER.

sellers.json is the other half. Each SSP posts it at /sellers.json on its own domain, and the IAB Tech Lab spec marks every account as PUBLISHER, INTERMEDIARY or BOTH. A buyer matches your ads.txt line to the SSP's sellers.json entry. When the two don't agree, many buyers simply skip the impression. Our sellers.json guide walks through that match.

The consent link is the one most publishers forget is a link at all. Your CMP writes the visitor's choices into a string, and every platform downstream reads it from the bid request. IAB Tech Lab describes its Global Privacy Protocol as "a protocol designed to streamline the transmission of privacy, consent, and consumer choice signals" from sites and apps to ad tech. It carries the IAB Europe TCF string and several US state strings. If the string is missing, buyers who need consent can't bid.

Programmatic platforms for publishers, four common setups

Most publishers run one of four setups, and each one uses a different slice of the map. Find yours below. The arrows show the order an impression travels in.

Setup 1, one network does everything

Page > ad network tag > the network's own auction > its buyers.

AdSense and most single ad networks hide the whole map behind one tag. You don't run an ad server or a wrapper, and you don't pick SSPs. It's simple, but you also can't add buyers or see who bid. You still own two links here: ads.txt and consent.

Setup 2, Google Ad Manager with its exchange and Open Bidding

Page > Google Publisher Tag > Ad Manager > Google's exchange plus Open Bidding SSPs > DSPs.

Here the ad server and the exchange live in one product. Google's help page says Open Bidding lets you "invite third-party SSPs (supply-side platforms) to compete for your inventory". Ad Manager talks to them "in a server-to-server connection", which keeps extra code off your page.

Setup 3, Ad Manager plus Prebid header bidding

Page > Prebid.js > SSPs > DSPs, then the best bids > Ad Manager > final auction.

This is the full map. Prebid's own docs put the order plainly: "Prebid collects bids before the ad server is called, and the ad server makes the final decision." You get more buyers in the auction. You also own more links: every SSP adapter, the timeout and the line items that let header bids win. Our Prebid.js setup guide covers that wiring step by step.

Setup 4, apps and CTV

App: SDK > mediation or Prebid Mobile > Prebid Server > SSPs. CTV: player > VAST request > ad server > exchanges.

Apps swap the page tag for an SDK. Prebid describes Prebid Mobile as "an open-source library for iOS and Android" for in-app header bidding, and it needs a Prebid Server to run. App publishers use app-ads.txt in place of ads.txt. Video and CTV use VAST, IAB Tech Lab's XML schema "for serving ads to digital video players"; 4.3 is the newest version it lists. For streaming apps, our CTV monetization page shows how that setup works with us.

What you can skip. Publishers don't need their own DSP; that's the buyer's tool, and buyers compare DSPs on display reach, supply paths and fees. Most don't need their own DMP either, until they sell audience deals. What every setup needs is a clean ads.txt, a working consent link and one solid path to the exchanges.

What breaks when a connection between programmatic platforms fails

A failed link shows up as a symptom, not an error message. Ad servers rarely say "your sellers.json doesn't match". You just see lower fill or one buyer gone quiet. This table is the order we check things in when that happens.

What you seeThe link that's likely brokenFirst thing to check
A buyer says it can't buy your site, or one SSP's revenue drops to zeroDSP to your domain (ads.txt)Open yourdomain.com/ads.txt and compare the SSP's line character by character, including the account ID
Bids from an SSP fall after a reseller joinsDSP to the SSP's domain (sellers.json)Find your account ID in that SSP's sellers.json and check the name, domain and seller type
Header bids come back but never win in the ad serverWrapper to ad serverCompare pbjs.getBidResponses() with the line item that won in Google Publisher Console
Bids arrive but are marked as timed outWrapper or exchange timeout (tmax)Check the wrapper timeout against how fast each SSP answers
Fill drops for EU or US-state visitors onlyCMP to everyoneCheck the consent string fires before the first ad request
Video slots stay empty while display fillsAd server to video player (VAST)Open the VAST response and look for an empty ad or a wrapper that leads nowhere
Prices drop on Safari and Firefox more than on ChromeIdentity to SSP and DSPCheck which ID modules your wrapper sends in user.eids

Fix the cheapest link first. An ads.txt typo takes a minute to fix and can switch a whole buyer back on. A new identity module takes a week of testing. When IDs are the issue, our guide to cookie syncing explains why the older method keeps failing in browsers that block third-party cookies.

How to draw your own programmatic tech stack map

You can map your own programmatic tech stack in about an hour with a browser and two text files. Do it once, keep it, and update it whenever you add or drop a partner. Here's the order we follow.

  1. Open one of your article pages in Chrome, press F12 and go to the Network tab. Reload the page and note every ad-related domain that loads.
  2. If you use Prebid, type pbjs.getBidResponses() in the Console tab. Prebid's docs say it returns "for each ad unit the array of bid responses", so you see which SSPs actually bid.
  3. Open Google Publisher Console if you run Ad Manager. It shows which line item or exchange won each slot.
  4. Open yourdomain.com/ads.txt and list every ad system by name, with DIRECT or RESELLER next to it.
  5. For each SSP on that list, look up your account ID in its sellers.json file.
  6. Check your CMP loads before any ad request in the Network tab.
  7. Draw it: one box per platform, one arrow per link, and write the standard on each arrow.

Now compare the drawing with the ads.txt list. A company that's in ads.txt but never shows up in the Network tab is a leftover. We'd remove its lines once you've confirmed with that partner the account is closed. A company that bids but isn't in ads.txt is the bigger problem: buyers who check ads.txt treat it as an unauthorised seller.

Watch out for this. Test with an ad blocker switched off and in a clean browser profile. Blockers stop wrappers and tags from loading, and your map will look half empty.

Frequently asked questions

What are the main types of programmatic platforms?

The main types are demand-side platforms (DSPs) for buyers, supply-side platforms (SSPs) and ad exchanges for sellers, and ad servers that pick the final ad. Around them sit header bidding wrappers, consent platforms, data platforms, identity providers and verification tools.

Is Google Ad Manager a programmatic platform?

Yes. Google Ad Manager is a publisher ad server with Google's own exchange inside it. With Open Bidding it also runs server-to-server auctions with third-party SSPs, so it covers several boxes on the map at once.

What protocol do programmatic platforms use to talk to each other?

Exchanges and DSPs mostly use IAB Tech Lab's OpenRTB for bid requests and responses. Header bidding wrappers such as Prebid use their own adapters to reach SSPs. Video ads travel as VAST XML, and trust checks rely on ads.txt and sellers.json.

What's the difference between an SSP and an ad exchange?

An ad exchange runs the auction. An SSP manages the seller's side of it: floors, deals, buyer blocks and reporting. Most SSPs now run their own exchange, so the two names often point to one product. Our DSP vs SSP guide compares the buy and sell sides.

Do publishers need a DSP or a DMP?

No to the DSP: it's a buying tool for advertisers. A DMP or CDP only pays off when you sell audience deals with your own first-party data. Until then, spend the time on ads.txt, consent and your SSP mix.

Next step

Programmatic platforms only earn when every link between them works, so map the links, then fix the cheapest broken one first. If you'd like a second pair of eyes on your map, our web monetization team can check each connection with you, from ads.txt to the final auction.

More guides in this topic

All 32 Programmatic advertising guides, in reading order

Free tools

Is your site ready for Google AdX?

Check your AdX eligibility

Our current screening asks for $1,000 or more in two separate months of the last three, and invalid traffic under 10%.

Free AdX readiness checklist (PDF)

The 25 checks we run before recommending a site for AdX through MCM. Enter your details and download it straight away.

We will only use your email to reply about your site.

WhatsApp