Get started →

Home / Guides / What is header bidding? A plain guide for publishers

● Yield

What is header bidding? A plain guide for publishers

Updated 16 November 2026 · 3 min read · By Arslan Mehdi

Header bidding is the main reason a publisher's revenue can go up without adding a single new ad slot. It changes who gets to bid on an impression, and when. This guide explains how it works, what it does well, and the trade-offs that come with it.

The problem it solved

Before header bidding, most publishers used a "waterfall". The ad server offered each impression to one demand source at a time, in a fixed order. If the first buyer passed, the impression dropped to the next one, often at a lower price.

The weakness is obvious once you say it out loud. A buyer lower in the waterfall might have paid more than the one at the top, but never got the chance to bid. The order was set by historical averages, not by what each buyer would pay for this particular impression.

How header bidding works

With header bidding, the page asks several demand partners for a bid at the same time, before the ad server makes its decision. The flow looks roughly like this:

  1. The page loads a header bidding library, usually Prebid.js.
  2. The library sends bid requests to each configured partner (SSPs and exchanges) in parallel.
  3. Partners reply with a price, or no bid, within a set timeout.
  4. The bids are passed to the ad server, typically as key-values on the ad request.
  5. The ad server compares those bids with its own demand, including Google Ad Exchange, and serves the winner.

The name comes from where the code originally ran: in the <head> of the page, before the ad calls. Today it often runs in other places too, but the principle is the same. Everyone bids first, then the best price wins.

Why it usually raises revenue

More bidders on the same impression means more competition, and competition is what moves prices. If two buyers both want a reader from Germany on a mobile phone, the one that values them more has to outbid the other. In a waterfall, it might never have needed to.

Header bidding also gives the ad server real prices to work with instead of estimates. That makes it easier to see which partners are actually paying and which are just taking up space in the setup.

How much it helps depends on your traffic. Sites with audiences buyers actively want, in countries with strong ad spend, tend to see the clearest gains. Sites with thin or low-value traffic see less, because adding bidders doesn't create demand that isn't there.

What it costs you

Header bidding isn't free. The trade-offs are real and worth managing:

  • Page speed. Every partner adds requests and a bit of JavaScript. Too many partners, or a long timeout, slow the page and delay ads.
  • Timeouts. If a partner replies late, its bid is ignored. Set the timeout too short and you lose bids; too long and the page waits.
  • Maintenance. Partners change their adapters, IDs and rules. Someone has to keep the setup current.
  • Discrepancies. Each partner counts impressions a little differently, so reports never match perfectly.

The fix for most of these is restraint. A handful of partners that actually win is better than fifteen that mostly time out. We cover the speed side in more detail in ads and Core Web Vitals.

How it fits with Google Ad Manager

Header bidding doesn't replace Ad Manager. It feeds it. The usual setup is:

  • Prebid collects bids from outside partners.
  • Ad Manager receives those bids and runs its own auction, where Ad Exchange and Open Bidding partners also compete.
  • The highest price wins, subject to your pricing rules and floors.

Google's own answer to header bidding is Open Bidding, which runs the extra auction on Google's servers instead of in the browser. Many publishers use both. We compare them in Open Bidding vs header bidding.

Is it worth it for a smaller site?

Often, yes, but not on your own. The technical part is manageable. The hard part is getting approved by good demand partners, keeping adapters updated and tuning timeouts and floors over time. That's ongoing work, not a one-off install.

This is one reason publishers work with a partner. A partner who already runs Prebid across many sites has the demand relationships in place and can see which bidders are worth the page weight.

A sensible starting point:

  • Start with a small set of proven partners.
  • Keep the timeout tight and measure the effect on page load.
  • Review win rates monthly and remove partners that rarely win.
  • Keep your ads.txt in line with every partner you add, or their bids may not count.

Want header bidding without running it yourself? Bidora runs a tuned Prebid setup alongside Ad Exchange and Open Bidding for the sites we manage. Talk to us about joining Bidora MCM.

Ready when you are

Tell us about your site. We'll take it from there.