Serve mid-roll ads without content ingestion

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 vid_d and allcues parameters are used to serve mid-roll ads without content ingestion. Ad rules are also required to return mid-rolls.

Usage example

Video content duration of 90000 seconds (25 hours):
vid_d=90000

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 vid_d and allcues parameters are used to serve mid-roll ads without content ingestion. Ad rules are also required to return mid-rolls.

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 allcues are ignored. Mid-rolls still require duration, so vid_d must still be passed.

Usage example

Cue points at 10 and 20 seconds:
allcues=10000,20000

 

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

Was this helpful?

How can we improve it?
true
Release notes

Read about the latest Ad Manager features and Help Center updates.

See what's new

Search
Clear search
Close search
Google apps
Main menu
14882104513672970082
true
Search Help Center
true
true
true
true
true
148
false
false