What is Prebid.js?
A high-level overview of Prebid.js, Prebid’s header bidding product for websites.
How Does Prebid.js Work?
At a high level, header bidding with Prebid.js involves just a few steps:
- The ad server’s tag on page is paused, bound by a timer, while the Prebid.js library fetches bids and creatives from various SSPs & exchanges you want to work with.
- Prebid.js passes information about those bids (including price) to the ad server’s tag on page, which passes it to the ad server as query string parameters.
- The ad server has line items targeting those bid parameters.
- If the ad server decides Prebid wins, the ad server returns a signal to Prebid.js telling the library to write the winning creative to the page.
Further Reading: