Prebid.js Module Overview

The core of Prebid.js contains only the foundational code needed for header bidding. Any functionality that could be considered an add-on or that covers a special case is being moved out into modules. Examples of this kind of code include:

  • Bidder adapters
  • Special auction logic
  • Ad server API integrations
  • Any other extensible functionality

This section of the site contains user-submitted module documentation. We’re hoping that it will grow over time.

To see all of the modules that are available, see the modules folder in the repo.

If you are looking for bidder adapter parameters, see Bidders’ Params.

General Modules

Module Description
Currency Converts bid currency into ad server currency based on data in a supplied exchange rate file.
GDPR ConsentManagement Facilitates collecting/passing consent information in support of the EU GDPR.
Google Ad Manager Express A simplified installation mechanism for publishers that have Google Publisher Tag (GPT) ad calls in their pages.
Supply Chain Object Validates and makes the Supply Object available to bidders
User ID Sub-modules are available to support a range of identification approaches: Criteo RTUS, DigiTrust, ID5, IdentityLink, PubCommon ID, and Unified ID.

Video Modules

Module Description
Ad Pod Enables developers to add support for a new adserver that handles ad pod (long-form) videos
Freewheel Passes key value targeting to Freewheel SDK
Google Ad Manager Video Required for serving instream video through Google Ad Manager.
IAB Category Translation Converts IAB sub category to Ad server category for long-form videos.

Testing and Debug Modules

Module Description
Server-to-Server Testing Adds A/B test support to ease into server-side header bidding.

Deprecated Modules

Module Description
Publisher Common ID (Deprecated - please use User ID module) Adds a persisted user ID in the publisher’s domain.

Further Reading