Level 11 · Prebid Memory match Header bidding · 1 of 10 1 min

Inside a Prebid Wrapper

A Prebid wrapper is a handful of parts, each with one job. Study the tiles for five seconds, then match each part of a Prebid setup to what it does before the clock runs out.

Wrapper Parts Memory match · 1-minute clock · plays full screen

What you’ll learn

  • What ad units, bid adapters and bidder params are
  • How price granularity and key-values connect Prebid to Ad Manager
  • Which part to check when a bidder never bids

The code and the slots

Prebid.js is free, open-source code that runs header bidding auctions in the browser; your page talks to it through the pbjs object. Each ad unit describes one slot: its sizes and the bidders to ask.

The bidders

A bid adapter is a plug-in that lets Prebid talk to one SSP, and only adapters packed into your Prebid build can bid. Bidder params are the IDs each bidder needs to recognise your inventory. A timeout sets how long Prebid waits for their answers, and User ID modules can share reader IDs with bidders where consent allows.

Talking to the ad server

Price granularity rounds each bid down into a price bucket. Prebid then sends key-values such as hb_pb (the bucket) and hb_bidder with the ad request, so Google Ad Manager line items can compete with the bid.

Key terms

Ad unit
One ad slot in Prebid: its sizes and its bidders.
Bid adapter
A plug-in that lets Prebid.js talk to one demand partner.
Prebid build
The Prebid.js file with only the adapters and modules you chose.
Key-value
A label sent with the ad request, such as hb_pb=2.10.

Level 11 leaderboard

No scores yet. Be the first on the board!