Basic Prebid.js Example

This page contains:

  • Asynchronous Prebid.js integration with single Google Ad Manager ad slot
  • Default keyword targeting setup (reference)
  • Default price granularity

On the JSFiddle example below, click Result to see the result.

Click Edit in JSFiddle to open the example in a new tab.

For tips and troubleshooting info, see:

This example uses a test version of Prebid.js hosted on our CDN that is not recommended for production use. It includes all available adapters. Production implementations should build from source or customize the build using the Download page to make sure only the necessary bidder adapters are included.

(Sorry, jsfiddle code examples aren't available with your cookie privacy settings.)

Cookie Settings