-
Notifications
You must be signed in to change notification settings - Fork 35
Adding Display Ads To Your Showcase
This page will help you get started with DoubleClick for Publishers (DFP) display ads on your Showcase. We will not cover how to setup DFP, although we do recommended to make your ads responsive (see https://support.google.com/dfp_premium/answer/3423562 for more information).
Showcase has four predefined ad positions which you can use to insert DFP ads into your video watch pages. It's currently not possible to change or move these positions, but we have intentions to add more in the future.
- Slot identifier: "above-video"
- Shown on: tablet
- Ad sizes: leaderboard (728x90) and medium rectangle (300x250)
- Slot identifier: "below-video"
- Shown on: desktop, tablet, and mobile
- Ad sizes: leaderboard (728x90) and medium rectangle (300x250)
- Slot identifier: "rail"
- Shown on: desktop
- Ad sizes: medium rectangle (300x250)
- Slot identifier: "below-rail"
- Shown on: mobile
- Ad sizes: medium rectangle (300x250)
Display ads configuration in Showcase is simple. You only have to match your DFP paths to the correct identifier. Make sure that your DFP paths are able to serve the ad sizes being used in the selected position.
The displayAds
contains two fields:
-
client
is used to configure the ad client. Currently, we only have support for the valuedfp
. -
slots
is the mapping between ad positions in Showcase and your DFP paths.
Here is an example:
{
"version": "2",
...
"options": {
"displayAds": {
"client": "dfp",
"slots": {
"above-video": "/123456789/ad-path1",
"below-video": "/123456789/ad-path2",
"rail": "/123456789/ad-path3",
"below-rail": "/123456789/ad-path4"
}
}
}
}
If your display ads don't display properly, you can try to:
- visit your DFP dashboard for debugging stats.
- type
googletag.openConsole()
in your browser Developer Tools console to open the Google DFP debugging tools.