You can serve mid-roll ads without content ingestion by manually including video duration and cue points in your ad tag, using the following parameters:
Parameter | Details |
---|---|
vid_d
(Video duration) |
This parameter accepts a variable value which specifies the duration of the content, in seconds. The Usage exampleVideo content duration of 90000 seconds (25 hours): |
allcues
(All cue points) |
This parameter accepts variable values which are a comma-separated list of cue points, in milliseconds. For each value, Ad Manager returns an ad break. The If time-based cues are used in your ad rules (for example, "Every N seconds" or "At fixed times"), then those set in the ad rule are used, and the cues passed into Usage exampleCue points at 10 and 20 seconds: |
Examples
https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostpod&correlator=2342342347&vid_d=90000&allcues=10000,20000
https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostpod&correlator=2342342347&vid_d=90000&allcues=10000,20000&cmsid=496&vid=long_thirtycue