Full outstream unit bidding
Use this implementation if you want to do minimal coding and let the outstream unit handle all your bidding functionality.
All that needs to be done is to set up your prebid params inside the outstream unit settings area and let the unit do the rest.
Example of unit settings area for this type of prebid implementation:
Option | Description |
---|---|
Bid Platform | Make sure this is set to Prebid |
Already using prebid on site? | Make sure this option is off |
Prebid JS URL | This is the URL you create on prebid.org for your specific use case |
Sellers.json URL | This is the URL pointing to your sellers.json |
DFP ad unit ID | This is the ad unit you will be using in DFP which is intergrated with prebid |
Custom params | Set up custom targeting values here in an object |
Video media types | Set up media types as some of the bidders require this, e.g. Rubicon |
Bids | Set up your bidder array, each in an object of itself |
Once this is set up, all you need to do is grab an embed code for this outstream unit and paste it to your site.
You can further configure and add some custom parameters to your Prebid by adding them to your page:
var prebidConfig<<company>> = {}; // will be set using pbjs.setConfig();
var prebidAnalyticsConfig<<company>> = []; // will be set using pbjs.enableAnalytics();
var bidderSettings<<company>> = {}; // will be set to pbjs.bidderSettings();
The unit will automatically read these configuration parameters from your page and use them when it starts the bidding process. If you have any Prebid extension installed inside your browser, this implementation may not work due to potential conflicts so please have this in mind.
Updated over 2 years ago