The split-second auction behind every web page
While a page loads, the site's ad server asks ad exchanges for bids, and each exchange auctions the ad slot among buyers in a fraction of a second. The highest valid bid wins and, in most auctions today, pays its own bid.
Published Updated 9 min readApplies to: Most countries
Short answer
When you open a web page with ads, the site's ad server sends a bid request to one or more ad exchanges, along with the time they have to respond. Each exchange runs an auction among buying tools that bid for advertisers, and the highest bid above the floor wins. According to a US federal court, it all fits in the time the page takes to load, often well under half a second.
Key points
- 1The site's ad server sends a bid request with a deadline to respond, usually a fraction of a second.
- 2The request can carry the page, your IP address, device, location and a user ID.
- 3There is no single deadline: each exchange sets its own, and the OpenRTB standard recommends no value.
- 4Since 2019, the large majority of auctions have been first-price: the winner pays its own bid.
- 5A US court found the auction runs many billions of times a day.
An auction before the page loads
You open a web page, and while the text appears, the ad slots are still empty. In that gap, an auction takes place. As a US federal court described it, when a user visits a website, one or more ad exchanges receive a bid request from the site's ad server, with information about the slot and the amount of time the exchange has to respond.
That time is "usually a fraction of a second." In it, each exchange runs an auction among buying tools (DSPs) that bid for advertisers, picks the highest bid and passes it back to the ad server, which selects the winner. Bids below the site's floor price are screened out. The winning ad shows up on the page; if no eligible buyer is found, the slot may go unfilled. And this happens for each ad on the page.
From the page to the ad: Page (you open the site) → Ad server (the site's) [ad slot]; Ad server (the site's) → Ad exchange (runs the auction) [bid request + deadline]; Ad exchange (runs the auction) → Bidders (place bids) [auction]; Bidders (place bids) → Page (you open the site) [winning ad]
The OpenRTB technical standard describes the same loop. The winner gets a win notice; a separate billing notice says when spend should actually be applied; and a loss notice can tell a bidder why it lost.
What's inside a bid request
In OpenRTB, a bid request can carry the page URL, the browser's user agent, your IP address, location, device, a buyer-specific user ID, consent signals, the floor price and categories the site blocks. Most of these fields are optional or merely recommended: each exchange decides what to fill in.
OpenRTB is one standard among others: in 2019, the UK's data protection regulator, the ICO, also named Google's own protocol. In the same report, the ICO wrote that bid requests "normally contain information that constitutes personal data under the GDPR" and that a single visit can mean your data is "seen by hundreds of organisations."
Privacy signals travel in the request too: OpenRTB has fields for the US privacy signals and for the European consent string.
How long it takes
There is no single deadline. In OpenRTB, the tmax field says how many milliseconds the exchange allows for bids, network time included, and the spec sets no default and recommends no value. On Google's exchange, the deadline "typically ranges from 80 to 1000 ms," and 85% of a bidder's responses must arrive within it, or the bidder gets throttled. Google's overview page says it all happens "within a few hundred milliseconds." In the US trial, a Magnite witness testified: "We had 250 milliseconds."
The court summed it up: the whole process takes no longer than the page takes to load, "which is often well under half a second."
There's also a second clock, not to be confused with the first. With header bidding, the browser waits for bids before calling the ad server. In Prebid.js, that wait is 3,000 ms by default, and each site can change it. A 2019 measurement found a median of about 600 ms for header bidding, with about 35% of sites taking over 1 second.
From a waterfall to a simultaneous auction
Buyers used to be called one after another, in a fixed order based on expected price: if the first didn't buy, the second was called, and so on. The UK's competition authority, the CMA, says this was known as "daisy chaining," or the waterfall. It had two problems: a buyer willing to pay more "was never given the chance," and each step down the waterfall added time.
Header bidding arrived in 2015: the browser calls all of the site's partners at the same time, before it calls the ad server. According to the US court, it was developed by Prebid, an organization formed by industry members outside Google. The cost is waiting: the ad server call only goes out after the bids, which can add latency.
Two adoption figures exist, and they shouldn't be compared, because they measure different populations: over 65% of the top 1,000 UK sites in 2018 (an eMarketer figure quoted by the CMA) and at least 14.28% of the top 35,000 sites in a 2019 crawl.
First price and second price
How much does the winner pay?: Second price: Highest bid wins; Pays the second-highest bid; Bids $1.90, runner-up $1.50: pays $1.50; Encourages bidding your true value; Common before 2019 | First price: Highest bid wins; Pays its own bid; Bids $1.90: pays $1.90; Large majority since Google's 2019 switch
In a second-price auction, the highest bid wins but pays the second-highest bid. According to the CMA, this format encourages each buyer to bid its true value. In a first-price auction, the winner pays exactly what it bid.
Exchanges switched to first price. In the CMA's analysis, trust in second price had been eroded by practices such as raising floors and using "soft" floors, and header bidding already ended in a first-price final auction. Google announced the full rollout of first-price auctions in Ad Manager on September 5, 2019. With that move, the CMA wrote in 2020, "the large majority of auctions" became first-price.
In OpenRTB, the auction-type field still defaults to second price in the schema, even though the market moved.
Try the auction
In the simulator, set the exchange's deadline and the number of bidders and watch the bids arrive. With a 300 ms deadline, the $2.40 bid arrives at 350 ms and is left out: $1.90 wins. With 400 ms, $2.40 wins.
Ad auction simulator: set the exchange's deadline (80 to 1,000 ms) and the number of bidders, watch the bids arrive at their own times, late bids get left out and the winner pay its own bid.
Prices are quoted per thousand impressions, or CPM. One impression costs the CPM divided by 1,000: a $2.40 CPM bid works out to $0.0024 per impression.
Billions of times a day
According to the US court, this auction runs "many billions of times per day." The same court cites major exchanges handling more than one trillion impressions a month as of 2014. In 2019, the ICO wrote that "millions of bid requests are processed every second." The court also found that ad tech companies typically keep $20 to $40 of every $100 spent.
In the courts
From header bidding to the courts: 2015 Header bidding (The browser asks several partners for bids at once (CMA)) → Sep 5, 2019 Google announces first price (Full rollout in Google Ad Manager) → Apr 17, 2025 US federal court ruling (Google violated antitrust law in two ad tech markets) → Sep 5, 2025 European Commission fine (€2.95 billion for favoring its own exchange) → Sep 2, 2026 US remedies, no breakup (The judge declined divestiture and accepted behavioral remedies) → Oct 2, 2026 Joint proposed final judgment (With disputed provisions; no final judgment entered as of Oct 25, 2026)
In the US, on April 17, 2025, a federal court in Virginia ruled that Google violated antitrust law in the markets for open-web display publisher ad servers and ad exchanges, and unlawfully tied the two products. The court found no proven market for advertiser ad networks. Among its findings is so-called Last Look: Google's exchange could "just bid 1 cent more" after seeing header-bidding results.
On September 2, 2026, the judge declined to order Google to divest its ad exchange, open-source the auction logic of its ad server or divest the ad server on a contingent basis, and accepted most of the behavioral remedies, as modified. They include a connection that lets Prebid request real-time bids from Google's exchange. Both sides had proposed barring Google from bringing back First Look and Last Look; the final wording was still pending. The remedies last 6 years (the plaintiffs asked for 15) and take effect 60 days after entry. On October 2, 2026, the parties filed a joint proposed final judgment with disputed provisions; as of October 25, 2026, we found no entered final judgment.
In Europe, on September 5, 2025, the European Commission fined Google €2.95 billion for abusing a dominant position in publisher ad servers and ad buying tools by favoring its own exchange since at least 2014. The US and the EU found dominance in different markets.
What you control
In Chrome, you can block third-party cookies under Settings → Privacy and security → Third-party cookies; they're blocked by default in Incognito. In April 2025, Google decided to keep third-party cookies as a user choice, with no new standalone prompt. Safari has blocked third-party cookies by default since 2020, and desktop Firefox has isolated cookies per site by default since 2022.
Blocking third-party cookies removes the ID that follows you from site to site. But your IP address, browser and the page URL can still be sent: an ad still appears, and bidders usually know less about you.
If you live in California, you can opt out of the "sale or sharing" of your personal information, where sharing means cross-context behavioral advertising, and businesses must honor a Global Privacy Control signal from your browser. That's California law, not a nationwide rule.
Questions people ask
How long does an ad auction take?
There's no single number. Each exchange sets its own deadline: on Google's, it typically ranges from 80 to 1,000 ms. According to a US court, the whole process takes no longer than the page takes to load, often well under half a second.
Does the auction take 100 milliseconds?
That number got around: in 2019, Google's page said "within 100 milliseconds." Google now says "within a few hundred milliseconds," and the OpenRTB standard sets and recommends no deadline.
Who pays what in the auction?
In a first-price auction, the large majority since 2019, the winner pays its own bid. In a second-price auction, it paid the second-highest bid. Prices are quoted per thousand impressions (CPM).
What data is in a bid request?
It can carry the page URL, your browser, IP address, location, device, a buyer-specific user ID, consent signals and the floor price. Most fields are optional, and each exchange decides what to fill in.
If I block cookies, does the auction stop?
No. Blocking third-party cookies removes the ID that follows you across sites, but your IP address, browser and the page URL can still be sent. An ad still appears, and bidders usually know less about you.
Can I opt out?
In California, you can opt out of the sale or sharing of your personal information for cross-context behavioral advertising, and businesses must honor a Global Privacy Control signal.
Sources and notes
- Confirmed factUnited States v. Google LLC, 1:23-cv-108, Memorandum Opinion (Apr 17, 2025), US District Court, E.D. Va. (DOJ copy)Auction flow (pp. 17-19), 'fraction of a second' and 'often well under half a second', Magnite 250 ms, $20 to $40 of every $100 (p. 18), billions a day, Prebid (p. 33), Last Look (pp. 34-35), markets (p. 1).
- Confirmed factOpenRTB API Specification Version 2.6, IAB Tech LabAuction loop and notices (§2, §4), request fields (§3.2), tmax with no recommended value (§3.2.1), auction type, privacy signals (§3.2.3, §3.2.20), CPM.
- Confirmed factAppendix M: intermediation in open display advertising (Jul 1, 2020), CMA (UK)Waterfall (paras 24-30), header bidding from 2015 (para 29), UK adoption (para 31, eMarketer figure), first and second price (paras 25, 38-41).
- Confirmed factLatency Restrictions and Peering (Authorized Buyers RTB), Google for DevelopersGoogle exchange deadline typically 80 to 1000 ms; 85% of responses within it. One exchange only.
- Confirmed factAuthorized Buyers overview, Google'Within a few hundred milliseconds' (read Oct 25, 2026).
- Confirmed factUpdate report into adtech and real time bidding (Jun 20, 2019), ICO (UK)Protocols and personal data (§2.4), 'hundreds of organisations', 'millions of bid requests every second' and Google's 2019 '100 milliseconds' wording (fn. 12). 2019 statements.
- Confirmed factPrebid.js src/config.ts (commit 1279ee9), Prebid.orgDefault bidderTimeout: 3000 ms (browser wait, a different clock).
- Confirmed factIntroduction to Header Bidding, Prebid.orgHeader bidding delays the ad server call and can add latency.
- EstimateNo More Chasing Waterfalls: A Measurement Study of the Header Bidding Ad-Ecosystem (2019), Pachilakis et al., ACM IMC 2019Median about 600 ms; about 35% of sites over 1 s; at least 14.28% of 35,000 sites. 2019 measurement.
- Confirmed factRolling out first price auctions to Google Ad Manager partners (Sep 5, 2019), GoogleFull rollout of first-price auctions in Ad Manager.
- Confirmed factOrder on remedies, Dkt. 1857 (Sep 2, 2026), US District Court, E.D. Va. (RECAP copy)Divestiture, open-sourcing and contingent divestiture rejected; behavioral remedies accepted as modified.
- Confirmed factMemorandum Opinion on remedies, Dkt. 1858 (Sep 2, 2026), US District Court, E.D. Va. (RECAP copy)AdX-Prebid connection (pp. 61-62), First/Last Look (p. 58), 6 years and 60 days (pp. 102-103).
- Confirmed factJoint Notice of Parties' Proposed Final Judgment, Dkt. 1861 (Oct 2, 2026), Parties (RECAP copy)Joint proposal with disputed provisions. No entered final judgment found as of Oct 25, 2026.
- Confirmed factCommission fines Google €2.95 billion over abusive practices in online advertising technology (Sep 5, 2025), European CommissionFine, markets and self-preferencing of its exchange since at least 2014.
- Confirmed factCalifornia Consumer Privacy Act (CCPA), California Attorney GeneralRight to opt out of sale or sharing (cross-context behavioral advertising); Global Privacy Control must be honored. California only.
- Confirmed factDelete, allow and manage cookies in Chrome, GoogleBlocking third-party cookies in settings; blocked by default in Incognito.
- Confirmed factFull Third-Party Cookie Blocking and More (Mar 24, 2020), WebKit (Apple)Safari blocks third-party cookies by default.
- Confirmed factFirefox rolls out Total Cookie Protection by default to all users worldwide (Jun 14, 2022), MozillaDesktop Firefox isolates cookies per site by default.
- EstimateVIZHOW's arithmetic: price per impression and simulator cases$2.40 CPM ÷ 1,000 = $0.0024 per impression; a 300 ms deadline leaves out the 350 ms bid ($1.90 wins), with 400 ms $2.40 wins. Illustrative values.
- Teaching simplificationSingle-line diagram and the effect of blocking cookies'Page → exchange → bidders → winner' simplifies layered auctions. Blocking cookies removes the ID but not the IP address: inferred from OpenRTB's fields.