Getting Started for Developers

Overview

To run heading bidding on your site with Prebid.js you need to download the Prebid.js package, including your selected bidders and adapters, and add the code to your page. This code will gather bids from your selected demand sources (bidders) and pass the information on to your ad server. For full details on how Prebid.js works, see What is Prebid.js?.

Developers should work with their ad ops team to plan out your Prebid configuration. You’ll need to add information to your code regarding things such as:

  • Whether you’re sending all bids or only the top price bid to the ad server
  • What level of price granularity you’ll be using
  • What key-value pairs do you need to pass to the ad server

See the Ad Ops Planning Guide for details.

Quick Start

The easiest way to get started with Prebid.js is to look at an example. Start with our Basic Example, then explore other examples under Prebid.js > Examples to find what you need.

Next Steps

For more developer resources, see:

To learn more about header bidding and Prebid see:

For guidance on planning out your configuration and working with your ad server, see: