Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AdRuleSlotMidrollFrequencyType.
Frequency types for mid-roll BaseAdRuleSlot ad rule slots.
Protobuf type google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType
Namespace
Google \ Ads \ AdManager \ V1 \ AdRuleSlotMidrollFrequencyTypeEnumMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED = 0;
EVERY_N_CUEPOINTS
Value: 1MidrollFrequency is a cue point interval and is a single integer value, such as "5", which means "play a mid-roll every 5th cue point".
Generated from protobuf enum EVERY_N_CUEPOINTS = 1;
EVERY_N_SECONDS
Value: 2MidrollFrequency 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".
Generated from protobuf enum EVERY_N_SECONDS = 2;
FIXED_CUE_POINTS
Value: 3Same as FIXED_TIME, except the values represent the ordinal cue
points ("1,3,5", for example).
Generated from protobuf enum FIXED_CUE_POINTS = 3;
FIXED_TIME
Value: 4MidrollFrequency 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".
Generated from protobuf enum FIXED_TIME = 4;
NONE
Value: 5The ad rule slot is not a mid-roll and MidrollFrequency should be ignored.
Generated from protobuf enum NONE = 5;
REVERSE_MIDROLL_INDEX
Value: 6After all other frequency type is applied and the number of midrolls are settled, this slot setting will override the mid-roll defined by ReverseMidrollIndex.
Generated from protobuf enum REVERSE_MIDROLL_INDEX = 6;