Basic Prebid.js Example

About this example:

  • This example demonstrates asynchronous Prebid.js integration with a single Google Ad Manager ad slot
  • Default keyword targeting setup (reference)
  • Default price granularity

In the JSFiddle example below:

  • Click Result to see the example output.
  • Click Edit in JSFiddle to open the example in the JSFiddle editor in a new tab.

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

Cookie Settings


This example includes all available adapters and modules. Production implementations should build from source or customize the build using the Download page to make sure only the necessary bidder adapters and modules are included.

Further Reading