Enum AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType (0.54.0)

public enum AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType extends Enum<AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType> implements ProtocolMessageEnum

Frequency types for mid-roll BaseAdRuleSlot ad rule slots.

Protobuf enum google.ads.admanager.v1.AdRuleSlotMidrollFrequencyTypeEnum.AdRuleSlotMidrollFrequencyType

Implements

ProtocolMessageEnum

Static Fields

Name Description
AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED

Default value. This value is unused.

AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED = 0;

AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED_VALUE

Default value. This value is unused.

AD_RULE_SLOT_MIDROLL_FREQUENCY_TYPE_UNSPECIFIED = 0;

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".

EVERY_N_CUEPOINTS = 1;

EVERY_N_CUEPOINTS_VALUE

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".

EVERY_N_CUEPOINTS = 1;

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".

EVERY_N_SECONDS = 2;

EVERY_N_SECONDS_VALUE

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".

EVERY_N_SECONDS = 2;

FIXED_CUE_POINTS

Same as FIXED_TIME, except the values represent the ordinal cue points ("1,3,5", for example).

FIXED_CUE_POINTS = 3;

FIXED_CUE_POINTS_VALUE

Same as FIXED_TIME, except the values represent the ordinal cue points ("1,3,5", for example).

FIXED_CUE_POINTS = 3;

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".

FIXED_TIME = 4;

FIXED_TIME_VALUE

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".

FIXED_TIME = 4;

NONE

The ad rule slot is not a mid-roll and MidrollFrequency should be ignored.

NONE = 5;

NONE_VALUE

The ad rule slot is not a mid-roll and MidrollFrequency should be ignored.

NONE = 5;

REVERSE_MIDROLL_INDEX

After all other frequency type is applied and the number of midrolls are settled, this slot setting will override the mid-roll defined by ReverseMidrollIndex.

REVERSE_MIDROLL_INDEX = 6;

REVERSE_MIDROLL_INDEX_VALUE

After all other frequency type is applied and the number of midrolls are settled, this slot setting will override the mid-roll defined by ReverseMidrollIndex.

REVERSE_MIDROLL_INDEX = 6;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()