The Definitive Guide to Header Bidding

Complete guide to header bidding in programmatic advertising: how it works, client-side vs server-side, Prebid.js, and its impact on publisher revenue.

Jack Pauley Product Manager Updated March 09, 2026

What is Header Bidding?

Header bidding (also known as advance bidding or pre-bidding) is a programmatic advertising technique that allows publishers to offer their ad inventory to multiple demand sources simultaneously, before making a call to their primary ad server. It replaced the inefficient "waterfall" model that previously dominated the industry, and it has become the standard approach for publisher yield optimization in 2026.

In a header bidding setup, a piece of JavaScript code in the publisher's page header sends bid requests to multiple SSPs and ad exchanges at the same time. All demand sources compete in a single unified auction, and the highest bid wins. This competition typically increases publisher revenue by 20-50% compared to the waterfall model.

The Problem Header Bidding Solved: The Waterfall Model

Before header bidding, publishers used a "waterfall" (or "daisy chain") approach to sell their ad inventory. The ad server would call demand partners sequentially, starting with the one that historically paid the highest CPM, then falling to the next, and so on. The first partner to fill the impression won.

The waterfall model had several critical flaws:

Header bidding eliminated these problems by letting every demand source bid on every impression simultaneously.

How Header Bidding Works: Step by Step

Here is a simplified overview of how a client-side header bidding auction works:

  1. Page loads: A user visits a publisher's website. The header bidding wrapper (e.g., Prebid.js) loads in the page's <head> tag.
  2. Bid requests sent: The wrapper simultaneously sends bid requests to all configured demand partners (SSPs, exchanges, ad networks).
  3. Bids received: Each demand partner evaluates the impression opportunity and returns a bid (or declines). A timeout (typically 1-3 seconds) ensures the auction does not wait indefinitely for slow responders.
  4. Bids passed to ad server: The wrapper collects all bids and passes them as key-value pairs to the publisher's primary ad server (typically Google Ad Manager).
  5. Final auction: The ad server runs its own auction, comparing header bidding bids against its own demand (e.g., Google AdX) and any direct-sold campaigns. The highest bid wins.
  6. Ad renders: The winning ad creative renders in the ad slot on the page.

Client-Side vs. Server-Side Header Bidding

There are two primary architectures for header bidding, each with distinct trade-offs:

Client-Side Header Bidding

In client-side header bidding, the auction runs in the user's web browser. The wrapper JavaScript sends bid requests directly from the browser to each demand partner's endpoint.

Advantages:

Disadvantages:

Server-Side Header Bidding

Server-side (or S2S) header bidding moves the auction from the browser to a server. The wrapper makes a single call to a server-side auction endpoint, which then fans out bid requests to all demand partners server-to-server.

Advantages:

Disadvantages:

Hybrid Approach

Many publishers in 2026 use a hybrid model: their top 3-5 demand partners bid client-side (maximizing bid value with full cookie access), while additional partners bid server-side (maximizing competition without adding latency). This balances performance and revenue.

Prebid.js: The Industry Standard Wrapper

Prebid.js is the dominant open-source header bidding framework, maintained by Prebid.org (a consortium of ad tech companies). It provides:

Red Volcano tracks Prebid.js deployment across millions of publisher websites, providing adoption data by country, publisher segment, and configured bidder adapters.

Header Bidding's Impact on Publisher Revenue

The adoption of header bidding fundamentally shifted power dynamics in programmatic advertising:

Header Bidding Beyond the Web

While header bidding originated in desktop web advertising, the concept has expanded:

How Red Volcano Helps with Header Bidding Intelligence

Red Volcano provides comprehensive header bidding intelligence across the ecosystem:

Need supply chain intelligence at scale? Red Volcano tracks 32M+ publishers weekly.

Book a Demo →

Frequently Asked Questions

Header bidding is a programmatic advertising technique where publishers simultaneously offer ad inventory to multiple demand sources (SSPs, ad exchanges, ad networks) before making a call to their primary ad server. This replaces the traditional waterfall model and lets all demand sources compete on equal footing, typically increasing publisher revenue by 20-50%.

Client-side header bidding runs in the user's browser via JavaScript (e.g., Prebid.js). It offers transparency but adds page latency. Server-side header bidding moves the auction to a server, reducing latency but introducing potential transparency concerns since the server operator manages the auction. Many publishers use a hybrid approach.

Prebid.js is the most widely adopted open-source header bidding wrapper, maintained by Prebid.org. It provides a standardized framework for running client-side header bidding auctions, with support for hundreds of demand partners (bidder adapters), analytics, and ad server integrations. Red Volcano tracks Prebid.js adoption across millions of publisher sites.

Client-side header bidding adds latency because it runs JavaScript in the browser and waits for bid responses before loading ads. Typical timeout settings are 1,000-3,000 milliseconds. Publishers mitigate this through server-side header bidding, lazy loading, timeout optimization, and reducing the number of bidders. The shift toward server-side solutions is largely driven by performance concerns.

Header bidding continues to evolve. Key trends include: growth of server-side implementations, expansion into CTV and in-app environments, integration with first-party data strategies as cookies deprecate, and consolidation of header bidding wrappers. The core principle of unified auctions is now standard across programmatic advertising.

Explore Red Volcano

The most comprehensive supply-side AdTech intelligence platform. 32M+ publishers, 2,000+ technologies, complete ads.txt and sellers.json data — updated weekly.

🔗

Related Data

📊

Get the Complete Dataset

What you see here is just a preview. Red Volcano customers get access to the full, unfiltered dataset — including:

Book a 15-minute call and we’ll walk you through the platform live.