Glossary/Programmatic/Header bidding

What is header bidding and how does it work?

How header bidding works, why it replaced the waterfall, and the difference between client-side and server-side setups.

Written by Samhub with the help of AI·Updated 13 Oct 2026·3 min read
Definition

Header bidding lets several SSPs and exchanges bid on the same impression at the same time, before the publisher’s ad server makes its final decision.

How header bidding works

01

The page loads a wrapper

A script, often Prebid, in the page or on a server.

02

All partners bid at once

Each SSP returns its best bid within a time limit.

03

The best bid goes to the ad server

It competes with direct campaigns and other demand.

04

The winner is shown

The highest-value option wins the impression.

Header bidding vs the waterfall

In the old waterfall, partners were asked one at a time in a fixed order, so a higher bid further down was often never seen. Header bidding asks everyone at once, which raises competition and price.

The Media Monetization Playbook
Free playbook: three foundations for earning more from your audience data

16 pages for publishers, with a checklist for data, programmatic and direct sales.

Client-side vs server-side

Client-sideServer-side
Auction runs inThe reader’s browserA server
Page speedSlower with many partnersFaster
Cookie matchingBetterWeaker
+€1.33

CPM uplift at Stampen Media after activating first-party audiences with Samhub.

Frequently asked questions

The most used open-source header bidding wrapper, maintained by Prebid.org.

Enough for competition, often a handful, while keeping page speed and timeouts in check.

Usually, because more buyers compete for each impression.

Yes, audience segments can be passed to bidders with each request.

Related terms

On this page
Monetization Suite
+€1.33
CPM uplift
Stampen Media
Raise your CPMs with audience data

Samhub audiences let you set higher floors and win more data deals, in every channel you sell.

Book a demo
See what your audience data could earn
Free playbook

Turn your audience data into more revenue

Get the Media Monetization Playbook: how media houses turn first-party data into higher CPMs, data deals and direct sales. With checklists for every step.

The Media Monetization PlaybookFREE GUIDE · PDF
  • Platform
  • Solutions
  • Resources
  • Pricing