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.
ConsentManagement Collecting and passing consent information in support of privacy regulations: See CMP Best Practices.
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.
ID Import Library Retrieve user ids deployed on your site, and return them to a configurable endpoint for ID Graphing
Advanced Size Mapping Display Responsive AdUnits in demanding page environments.
Price Floors Module Configure and enforce minimum bids.
GPT Pre-Auction Module Adds a PB Ad Slot and matching GAM ad unit name to each ad unit’s first-party data before bid requests are sent to the adapters.
ID Import Library Retrieve user ids deployed on your site, and return them to a configurable endpoint for ID Graphing
First Party Data Enrichment Pulls well-known FPD from the environment to form a base of data available to all adapters.
MASS Enables the MASS protocol for Prebid and custom renderers by DealID
MultiBid Module Allows bidders to send multiple bids to the ad server.
Bid Viewability Triggers an event which can be consumed by analytics and bid adapters.

Real-Time Data Providers

All of the modules that fall under the Real-Time Data (RTD) category conform to a consistent set of publisher controls. The pub can choose to run multiple RTD modules, define an overall amount of time they’re willing to wait for results, and even flag some of the modules as being more “important” than others.

See the realTimeData setConfig reference for more details.

Module Description
Browsi Viewability Module Browsi Real Time Viewability
Digital Garage Keyword Module Digital Garage Keyword
Geoedge Realtime Module Geoedge realtime blocking of bad ads - malware, redirect and offensive content
Audigent Halo Real Time Data Provider Audigent Halo Real-time Segmentation Module
Integral Ad Science(IAS) Real Time Data Module RTD provider for Integral Ad Science(IAS)
JW Player Real Time Data Provider makes JW Player's video ad targeting information accessible to Bid Adapters. Realtime Module Delivers added functionality based on configurations, i.e. refresh, viewability, etc.
Optimera Real Time Data Module Optimera Optimization Targeting
Reconciliation SDK Module Reconciliation Real Time Data Module
Sirdata Real Time Data Provider Sirdata Real-time Segmentation Module

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.
Instream Video Ads Tracking Allow Analytics Adapters and Bid Adapters to track BID_WON events for Instream video bids.
Konduit Accelerate Provides Real Time Start Rate Performance per Bidder.

Testing and Debug Modules

Module Description
Server-to-Server Testing Adds A/B test support to ease into server-side header bidding.
First Party Data Validation Verify First Party Data ortb2 fields and data types.

Further Reading