Setting up Prebid Video in DFP
This page describes how to set up video creatives in DFP for use with Prebid.js.
For general DFP line item setup instructions, see the other pages in this section.
For engineering setup instructions, see Show Video Ads with a DFP Video Tag.
Line Item Setup
In the New line item dialog, under Inventory sizes, select the Video VAST radio button.
In the Master text area, add your video player size(s).
Other line item settings and key/value targeting are the same as those recommended for Prebid display, with one exception:
- By default, Prebid.js caps all CPMs at $20. As a video seller, you may expect to see CPMs higher than $20. In order to receive those bids, you’ll need to make sure your dev team implements custom price buckets as described in the engineering setup instructions. Once those changes are made on the engineering side, there should be no changes required from the ad ops side to support CPMs over $20.
Be sure to duplicate your line item and video creative for each Prebid price bucket you intend to create.
1. For each line item you created above, select new creative set.
2. In the dialog that appears, set the creative set type to “Redirect”
3. Set the VAST tag URL to:
Prebid.js versions 1.6+, 0.34.6+:
Prebid.js versions 1.0-1.5, 0.x-0.34.5:
This creative URL is required in order to show video ads. It points to a server-side cache hosted by Prebid Server.
Prebid Cache and the VAST creative URL warning
DFP will show you a warning that fetching VAST from the creative URL failed. This is expected, since the creative URL above points to a server-side asset cache hosted by Prebid Server.
hb_cache_id will be the video ad server targeting variable going forward.
In previous versions, mobile used
hb_cache_id and video used
hb_uuid. There will be a
transition period where both of these values are provided to the ad server.
Please begin converting video creatives to use
4. Set the duration to 1
The resulting creative should look something like the following:
That’s it as far as Prebid setup is concerned. At this point you can add any other options you would normally use, e.g., labels or tracking URLs.