enum MidrollFrequencyType (v202508)

  • MidrollFrequencyType defines frequency types for mid-roll ad rule slots.

  • NONE indicates the ad rule slot is not a mid-roll.

  • EVERY_N_SECONDS and EVERY_N_CUEPOINTS represent interval-based mid-roll frequencies.

  • FIXED_TIME and FIXED_CUE_POINTS represent mid-roll frequencies at specific points.

Frequency types for mid-roll ad rule slots.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
NONE The ad rule slot is not a mid-roll and hence MidrollFrequency should be ignored.
EVERY_N_SECONDS MidrollFrequency is a time interval and mentioned as a single numeric value in seconds. For example, "100" would mean "play a mid-roll every 100 seconds".
FIXED_TIME MidrollFrequency is a comma-delimited list of points in time (in seconds) when an ad should play. For example, "100,300" would mean "play an ad at 100 seconds and 300 seconds".
EVERY_N_CUEPOINTS MidrollFrequency is a cue point interval and is a single integer value, such as "5", which means "play a mid-roll every 5th cue point".
FIXED_CUE_POINTS Same as FIXED_TIME, except the values represent the ordinal cue points ("1,3,5", for example).
UNKNOWN The value returned if the actual value is not exposed by the requested API version.