Video pods allow groups of ads to be shown in sequence. When you activate pods for your network, you choose between standard and optimized pods.
- Standard pods allow you to specify the maximum number of ads that can be in the pod and each ad's duration.
- Optimized pods require you specify the pod length (either a maximum or an exact duration). You can also optionally specify the maximum number of ads that can be in the pod.
Request parameters
Optimized pods can be requested directly from video ad tags, instead of using ad rules, by adding the following parameters to the tag:
pmnd
: The minimum ad durationpmxd
: The maximum ad durationpmad
: The maximum number of ads that can be in the pod
You can learn more about how to create master video tags manually.
Optional parameters
- For competitive exclusions, add the
correlator
andscor
parameters.* - To target by position, add the
pod
,vpos
, andmridx
parameters to every ad call in the stream.
* The correlator parameter is a required parameter in all video ad tags.
Examples
First ad break (90s duration, 3 ads maximum)
https://securepubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&env=vp&gdfp_req=1&impl=s&output=vast&unviewed_position_start=1&url=https://publisher.com&ciu_szs=728x90,300x250&correlator=7105&pmnd=0&pmxd=90000&pmad=3&pod=1&vpos=midroll&mridx=1&scor=17&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostoptimizedpod
Second ad break (180s duration, 6 ads maximum)
https://securepubads.g.doubleclick.net/gampad/ads?env=vp&gdfp_req=1&impl=s&output=vast&sz=640x480&iu=/124319096/external/ad_rule_samples&unviewed_position_start=1&url=https://publisher.com&ciu_szs=728x90,300x250&correlator=7105&pmnd=0&pmxd=180000&pmad=6&pod=2&vpos=midroll&mridx=2&scor=17&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostoptimizedpod
Third ad break (90s duration, 3 ads maximum)
https://securepubads.g.doubleclick.net/gampad/ads?env=vp&gdfp_req=1&impl=s&output=vast&sz=640x480&iu=/124319096/external/ad_rule_samples&unviewed_position_start=1&url=https://publisher.com&ciu_szs=728x90,300x250&correlator=7105&pmnd=0&pmxd=90000&pmad=3&pod=3&vpos=midroll&mridx=3&scor=17&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostoptimizedpod