AI-generated Key Takeaways
-
A BaseAdRuleSlot is an object representing an ad slot within an AdRule, providing information about ad types, numbers, and playlist generation.
-
It includes fields for controlling video ad behavior, maximum durations for video and bumper ads, and mid-roll frequency settings.
-
The BaseAdRuleSlot can have different inheritance types including NoPoddingAdRuleSlot, OptimizedPoddingAdRuleSlot, StandardPoddingAdRuleSlot, and UnknownAdRuleSlot.
-
Maximum pod duration and maximum number of ads in a pod can be defined for the slot.
-
An optional break template ID can be used with OptimizedPoddingAdRuleSlot entities to define ad positions within the slot.
Simple object representing an ad slot within an AdRule. Ad rule slots contain information about the types/number of ads to display, as well as additional information on how the ad server will generate playlists.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
|
The AdRuleSlotBehavior for video ads for this slot. This attribute is optional and defaults to AdRuleSlotBehavior.DEFER. Indicates whether video ads are allowed for this slot, or if the decision is deferred to a lower-priority ad rule. Enumerations
|
|
The maximum duration in milliseconds of video ads within this slot. This attribute is optional and defaults to 0. |
|
The frequency type for video ads in this ad rule slot. This attribute is required for mid-rolls, but if this is not a mid-roll, the value is set to MidrollFrequencyType.NONE. Enumerations
|
|
The mid-roll frequency of this ad rule slot for video ads. This attribute is required for
mid-rolls, but if MidrollFrequencyType is set to MidrollFrequencyType.NONE,
this value should be ignored. For example, if this slot has a frequency type of MidrollFrequencyType.EVERY_N_SECONDS and |
|
The AdRuleSlotBumper for this slot. This attribute is optional and defaults to AdRuleSlotBumper.NONE. Enumerations
|
|
The maximum duration of bumper ads within this slot. This attribute is optional and defaults to 0. |
|
The maximum pod duration in milliseconds for this slot. This attribute is optional and defaults to 0. |
|
The maximum number of ads allowed in a pod in this slot. This attribute is optional and defaults to 0. |
|
ID of a BreakTemplate that defines what kinds of ads show at which positions within this slot. This field is optional and only supported on OptimizedPoddingAdRuleSlot entities. |