Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

New prebid configuration object

Compare
Choose a tag to compare
@rafamarquezv rafamarquezv released this 24 Jan 17:21
· 12 commits to master since this release
69d3c65

Configuration object is divided in two objects:

  • config: related with AppNexus (ast.js)
  • prebidConfig: related with PreBid (pbjs.js)
    • core : (Optional) Settings to override the default Prebid core configuration.
    • bidderSettings: (Optional) Settings to override the default Prebid settings used by the bidders.

Now setConfig method will:

  • call pbjs.setConfig with prebidConfig.core from config
  • override pbjs.bidderSettings with prebidConfig.bidderSettings from config