You can set up your Prebid.js integration for any player in the CMS by going into the settings area of any player and then under MONETIZATION you will see the PRE-BIDDING section.
Enable Prebid feature.
Once enabled, you need to select one of the three implementation types.
Player bidding
To set up your Prebid.js integration with the Brid player, the player expects the following information:
- Under the Bid Platform option make sure that Prebid is selected.
- Enter the URL to your prebid JS file. We suggest you use this notation //path-to-your-prebid-js-file.
Example:
//acdn.adnxs.com/prebid/not-for-prod/1/prebid.js - Optional: Set the URL to your sellers.json file so our player can send the required data to your bidders/SSP's. This files should be located at the root of your domain for example: https://www.example.com/sellers.json
- Optional: Set a custom prebid global config. By default, our system sends a "cache" and "priceGranularity" param to prebid for proper functionality. If you set a custom JSON config in this field, make sure to include all the needed parameters as any setting here will override whatever Brid does by default. For example, if you want to set a custom prebid config for Unified ID, you can enter in this field something like this - Custom prebid config - Pastebin.com
- Optional: Set a custom config for bidder settings. Prebid by default handles this part nicely but in case you want to define some different behavior depending on the bidder, you can do this here.
Example of a valid config would be this:
{
appnexus: {
bidCpmAdjustment : function(bidCpm, bid){
return bidCpm * .53;
}
}
}
More information on this can be found here - Publisher API Reference for Header Bidding (prebid.org)
On the right side of the screen, you will find the Ad unit ID (code) slot. Set your DFP ad unit ID. This is the string that is located under the "ui" parameter in your DFP ad tag call. Example:
/123456/adunit1/adunit2
Select the bidders from the downfall menu right next to the Add bidder option. A list of bidders will be displayed below under the Basic tab. You can easily edit or remove the bidder from the list by clicking on the edit/delete icons.
Detailed editable bidder config is available under the Advanced tab.
- Under the Bidders config section you will see your bidder information as an array of objects. Example:
[{
"bidder": "appnexus",
"params": {
"placementId": 13232361,
"video": {
"skippable": true,
"playback_method": ["auto_play_sound_off"]
}
}
}]
- Optional: Under the Custom params input add a JSON of your custom parameters for prebid. Example:
{
"section": "blog",
"anotherKey": "anotherValue"
}
Note that you can set-up prebid for Desktop & Mobile or Desktop Only. Just switch between the two tabs under the prebid setup section.
Bidding on Page
If you are already using prebid on site, choose External via player embed option and you will only be required to add your DFP ad unit ID.
External Script Implementation
Use the External via custom script option to set up prebidJS video header bidding externally on your web page.
Please visit this link to learn how to do this.
No further actions are necessary under the player settings.
Save your player and allow some time for propagation.
NOTE: This implementation is fully compatible with your pre-existing prebid.js display banner header bidding setup so you should not have any issues or conflicts.
You can find more information on different prebid setups here.
A list of PrebidJS macros can be found here.
Comments
0 comments
Please sign in to leave a comment.