Guide

Header bidding

Definition, importance, ideas, and checklist

Header bidding is a technology that allows publishers to simultaneously request bids from multiple demand sources and send those bids to an ad server to conduct an auction.

Register for Amazon Ads to display your products and create campaigns.

Request managed services. Budget minimums apply.

Programmatic advertising to reach audiences at scale.

Ad tech solutions to support full-funnel marketing goals on or off Amazon.

The digital advertising landscape is constantly evolving, and header bidding stands out as a groundbreaking technique reshaping how publishers and advertisers interact within the programmatic space. In a world where every impression counts, understanding header bidding can unlock new revenue opportunities for publishers while giving advertisers access to high-quality inventory. So, what exactly is header bidding—and how can Amazon Ads support your strategy?

What is header bidding?

Header bidding is a programmatic advertising technique that allows publishers to offer their inventory to multiple demand partners simultaneously before making calls to their ad servers. The ad server then determines the winning bid and renders the ad on the site. Allowing multiple bidders to bid on the same inventory at the same time drives demand and gives advertisers the opportunity to access premium inventory from these publishers.

Traditionally, ad servers operated on a waterfall model, where inventory was offered to one ad network at a time—often resulting in missed opportunities and lower cost per mille (CPM). Through header bidding, publishers can execute an auction across demand sources, maximizing competition for their ad space.

Why is header bidding important?

Header bidding is important because it maximizes publisher revenue by allowing multiple demand sources to bid simultaneously on ad inventory in real time, ensuring publishers get the highest possible price for each impression instead of accepting the first bid that meets a floor price.

It replaced the waterfall method, where ad inventory was offered sequentially—often leaving money on the table when higher bidders were stuck waiting their turn.

How does header bidding work?

At its core, header bidding works as a first-price auction in which publishers simultaneously collect bids from multiple demand sources before passing them to the ad server. Here's a simplified breakdown of the process.

  1. The publisher's page loads and executes a script at the top (or header) before any ad requests are sent.
  2. This script collects bids from multiple supply-side platforms (SSPs) and demand sources.
  3. Once bids are collected, the highest bid is selected and the ad is served from the winning bidder.

What is waterfall bidding?

Waterfall bidding is a sequential ad serving method where publishers offer ad inventory to demand partners one at a time in a predetermined order (usually based on historical CPMs). If the first partner doesn't want the impression or doesn't meet the price floor, it passes down to the next partner in line.

Challenges with waterfall bidding

Waterfall bidding creates several challenges that can limit revenue and efficiency for publishers.

Revenue loss

Publishers often accept lower bids because higher-paying buyers positioned lower in the waterfall never get a chance to bid on the impression.

Inefficient prioritization

The sequence is based on historical CPMs rather than real-time demand, meaning the order may not reflect current market conditions or actual willingness to pay.

Lack of transparency

Publishers have limited visibility into what buyers further down the waterfall would have paid, making optimization difficult.

Unsold inventory

If early networks in the waterfall don't fill the impression, it continues passing down until it's either filled at a low price or goes unsold entirely.

Unfair competition

Demand partners positioned higher in the waterfall have an artificial advantage regardless of their actual bid value, preventing true price discovery.

Time inefficiency

The sequential nature means each network must respond before moving to the next, creating latency and delays in ad serving.

Waterfall vs. header bidding

Waterfall bidding was the standard approach before the advent of header bidding. With waterfall bidding, if an ad request was not filled by one vendor, it would pass to the next in line. While this made operational sense initially, it often led to inefficiencies and lost revenue opportunities because competition was limited to one demand partner at a time. These limitations are why header bidding emerged as the preferred solution—it enables simultaneous bidding from all demand sources, ensuring true competition and maximum revenue for each impression.

Types of header bidding

There are two types of header bidding: client-side header bidding and server-side header bidding.

Client-side header bidding

This method runs directly in the user’s browser. While it provides greater transparency and more accurate bid data, it may introduce latency as multiple requests are made before the page completely loads.

Server-side header bidding

In this approach, the auction takes place on a server rather than in the user's browser. This helps reduce latency but may limit some reporting visibility.

Header bidding components

Header bidding wrappers

A header bidding wrapper is a piece of JavaScript code that publishers add to their webpages to manage and orchestrate header bidding auctions. These wrappers serve as central management systems that combine multiple demand partners, send simultaneous bid requests, manage the auction process, control timing, and communicate results. The wrapper also provides analytics tools to identify which demand sources are most efficient and helps optimize performance by removing underperforming partners.

Header bidding adapters

A header bidding adapter is a piece of code that enables communication between a header bidding wrapper and specific demand partners (e.g., SSPs, ad exchanges, and ad networks). Each demand partner requires its own adapter to participate in the header bidding auction. These adapters create bid requests, process bid responses, and enable integration with multiple demand partners without publishers needing to write custom code for each one.

Benefits of header bidding

The benefits of header bidding extend across the entire ad serving process—from how inventory is priced to how demand partners are accessed.

Increased revenue

With multiple bidders competing for inventory, publishers often see higher CPMs.

Improved transparency

Header bidding offers clearer insights into which demand partners are performing well.

Better inventory management

Automated decision-making allows for better optimization in real time.

Access to premium demand

Publishers can connect with a broader range of advertisers looking for premium placements.

Tips for successful header bidding

These tips can help build a successful header bidding setup through thoughtful implementation and ongoing optimization.

Consider managed services

If you're new to header bidding, engaging managed services or working with experts can simplify setup efforts.

Test different demand sources

Regularly evaluate and adjust your network of demand partners for optimal performance.

Monitor latency closely

Keep an eye on page load times during your initial implementations; excessive latency can undermine user experience.

How to set up header bidding

The setup process involves choosing relevant demand partners, configuring your ad server to accommodate header bidding wrappers, and closely monitoring performance to optimize results.

Step 1: Find the right demand partners

Start by identifying demand partners that align with your website's niche and audience. Rather than defaulting to the most popular options, evaluate partners based on the features and services that best suit your inventory and goals.

Step 2: Install a header bidding wrapper

Add a header bidding wrapper—a piece of JavaScript code—to your website's <head> section. The wrapper serves as a central management system that combines your demand partners, sends simultaneous bid requests, manages the auction process, and communicates results back to the ad server. If you're new to header bidding or have limited technical resources, engaging managed services or working with experts can simplify this step.

Step 3: Configure timeouts and floor prices

Set auction timeouts to control how long the wrapper waits for bids before moving forward—this helps prevent latency from affecting page load times. You'll also want to establish floor prices for different ad units to ensure inventory is never sold below an acceptable threshold.

Once your setup is complete, monitor performance on an ongoing basis to ensure you're maximizing revenue without compromising the user experience.

Amazon Ads solutions

Whether you’re a publisher or an advertiser, Amazon Ads offers solutions—from header bidding integrations to full-funnel advertising tools—to help you reach your goals.

Amazon Publisher Services (APS) supports header bidding integrations so advertisers can maximize reach on publishers’ inventory, allowing APS to manage ad fills to control for competitive separation and frequency capping. Through our server-to-server integration, you will be able to request multiple bids at once, and have our bids provide additional demand managed in your ad serving system.

As a header bidding adapter that integrates with Prebid.js, the APS Prebid Adapter enables communication between publishers' existing header bidding setups and Amazon Publisher Services. Amazon Publisher Services launched the APS Prebid Adapter in open beta in January 2026, providing publishers with greater flexibility in how they integrate with APS. The APS Prebid Adapter connects publishers' current Prebid setups with APS, providing access to Amazon Ads demand and more than 60+ third-party demand sources through Transparent Advertising Marketplace (TAM) and Unified Advertising Marketplace (UAM). The integration delivers reduced latency while preserving existing auction frameworks.

Amazon Publisher Direct

Amazon Publisher Direct (APD) helps extend your reach across even more streaming content. APD provides direct header bidding integration with over 100 streaming TV apps from premium third-party publishers on connected devices (including Fire TV) and on ad-supported content through Prime Video Channels.

Our suite of ad tech solutions, including Amazon DSP and Amazon Marketing Cloud, helps brands and advertisers reach their marketing goals on Amazon and beyond. Publishers can leverage our suite of cloud-based services to build and optimize their digital media business, bringing buyers and sellers closer together.

Amazon DSP can help reach relevant customers across the largest supply of premium, ad-supported content wherever they spend their time across Amazon-exclusive properties like Prime Video, or across third-party supply through direct integrations with publishers and leading SSPs. Maximize ROI with our AI-powered solution by leveraging first- and third-party insights to automate tasks and target relevant audiences on Amazon and across third-party apps, sites, and devices.

FAQs

What is auction-based advertising?

Auction-based advertising is a digital advertising model where advertisers compete in real time by bidding for ad placements, with the highest bidder (or best combination of bid and quality) winning the opportunity to display their ad to a specific user or audience.

How is header bidding different from traditional ad serving?

Traditional ad serving relies on a single ad server to manage auctions, meaning only one advertiser can bid for an impression at a time. In contrast, header bidding allows multiple advertisers to compete simultaneously, fostering true competition and potentially enhancing publisher yield. This shift may also result in a more relevant ad experience for users and greater engagement.

Can header bidding be integrated with other advertising technologies?

Traditional ad serving relies on a single ad server to manage auctions, meaning only one advertiser can bid for an impression at a time. In contrast, header bidding allows multiple advertisers to compete simultaneously, fostering true competition and potentially enhancing publisher yield. This shift may also result in a more relevant ad experience for users and greater engagement.

What is real-time bidding (RTB)?

Real-time bidding (RTB) is a form of programmatic advertising that enables the buying and selling of digital ads in real time. When users visit a website or mobile app, a real-time auction is conducted where advertisers bid for an ad placement. The advertiser with the highest bid wins, and their ad is displayed on a publisher’s website or mobile app.

What is pre-bidding?

Pre-bidding refers to using data or services before placing a bid to determine whether to bid on a publisher's inventory. It evaluates factors like brand safety, viewability, and fraud to decide whether an impression is worth bidding on.

What is the difference between pre-bidding and header bidding?

The terms pre-bidding and header bidding are sometimes confused because "pre-bid" is also used as an alternate name for header bidding (since the auction happens before the ad server call). However, in most contexts, "pre-bid" specifically refers to third-party services that filter inventory based on quality signals before advertisers submit bids.

What is open bidding?

Open bidding is a programmatic advertising solution that allows publishers to invite multiple SSPs and ad exchanges to compete for ad inventory in a unified auction hosted rather than in the user's browser.

What is advanced bidding?

Advanced bidding is another term for header bidding. Both terms refer to the programmatic advertising technique where publishers offer ad inventory to multiple demand sources simultaneously before calling their ad server.

What is yield optimization?

Yield optimization is the process of maximizing ad revenue by strategically managing and adjusting pricing, placement, targeting, and demand sources to get the highest possible return from each ad impression. It involves analyzing data to improve fill rates, CPMs, and overall monetization efficiency.

If you have limited experience, contact us to request services managed by Amazon Ads. Budget minimums apply.

Already a registered advertiser? Sign in.