Skip to main content
Back to Blog
Header Bidding7 min read

What Is Header Bidding and How Does It Work?

Before header bidding, publishers were trapped in a sequential waterfall that sold their best impressions at a fraction of their real value. Here's how everything changed.

CD

Click Dudes Editorial Team

Click Dudes helps publishers maximize revenue through AI-powered monetization, premium demand access, and advanced optimization strategies.

Before header bidding existed, publishers managed ad inventory through a system called the waterfall — a sequential priority list where demand partners were contacted one by one until an impression was filled. If your top demand partner passed, the impression moved down to the next partner, then the next, often ending up filled at a fraction of its real market value. Header bidding eliminated this inefficiency entirely. By running simultaneous auctions across all demand sources at once, header bidding allows the highest real-time bid to win every impression — regardless of where that buyer sits in any priority stack.

The Problem with the Old Waterfall Model

In the waterfall model, publishers would set up demand partners in a priority order based on historical CPMs. Google DFP would first offer the impression to the highest-priority partner, wait for a response (typically 100-200ms), and if that partner passed or didn't meet the price floor, move to the next. This system had one fatal flaw: a buyer lower in the waterfall might have been willing to pay more for a specific impression than the top-priority partner, but they never got the chance to bid. Publishers were systematically underselling their best inventory, leaving 20–40% of potential revenue on the table.

How Header Bidding Works: Step by Step

  1. A user visits your page and begins to load
  2. Before the ad server is called, the header bidding wrapper (typically Prebid.js) simultaneously sends bid requests to all connected demand partners
  3. All demand partners return their bids within a set timeout (typically 1–2 seconds)
  4. The highest bids from each partner are passed to Google Ad Manager as key-value pairs
  5. GAM runs its internal auction, comparing header bidding bids with direct campaigns and AdX demand
  6. The winning bid serves the ad — guaranteeing the highest possible price for that specific impression
  7. The entire process completes in under 2 seconds, transparent to the user

Client-Side vs Server-Side Header Bidding

Client-Side Header Bidding

Client-side header bidding runs entirely in the user's browser. The Prebid.js wrapper sends bid requests from the user's device to each demand partner. The advantage is simplicity and transparency — you can inspect exactly what each partner is bidding. The disadvantage is latency: each additional demand partner adds to page load time, and running 15+ partners simultaneously can slow page load by 0.5–1 second. For sites with Core Web Vitals concerns, this is a meaningful tradeoff. Most publishers run 8–12 demand partners on client-side to balance revenue and performance.

Server-Side Header Bidding

Server-side header bidding moves the auction from the user's browser to a dedicated auction server. The page sends a single request to the auction server, which then simultaneously contacts all demand partners, runs the auction, and returns the winning bid. This dramatically reduces page load impact — regardless of how many demand partners are connected. The tradeoff is that buyers receive less signal (device fingerprinting, cookie data) from the server, which can reduce bid accuracy for some DSPs. Most enterprise publishers use a hybrid approach: high-value partners client-side, long-tail partners server-side.

Revenue Impact: What Publishers Actually See

The revenue impact of header bidding is well-documented across the industry. Publishers switching from AdSense waterfall to header bidding with 8–12 demand partners typically see 20–40% RPM improvement immediately. The gains compound over time as bidders build audience data and refine their pricing. Publishers in high-CPM niches (finance, tech, health) often see even greater improvements because premium DSPs that previously couldn't access their inventory now compete aggressively. A publisher with $5 RPM on AdSense alone can realistically achieve $7–8 RPM with properly implemented header bidding.

Top Header Bidding Demand Partners

  • Index Exchange — strong in North America, premium demand from major brands
  • Criteo — retargeting specialist, high CPMs for ecommerce-adjacent audiences
  • Magnite (formerly Rubicon) — premium video and display, strong UK/EU coverage
  • OpenX — strong publisher relationships, good fill rates globally
  • Xandr (Microsoft) — premium brand budgets, strong cross-device targeting
  • Triplelift — native and display specialist with strong brand CPMs
  • PubMatic — data-driven optimization, good performance in Asia-Pacific

Frequently Asked Questions

Header BiddingPrebid.jsProgrammaticPublisher RevenueAd Tech