Ads API .NET library
|
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. More...
Properties | |
AdRuleSlotBehavior | slotBehavior [get, set] |
The AdRuleSlotBehavior for video ads for this slot. This attribute is optional and defaults to AdRuleSlotBehavior::DEFER. More... | |
bool | slotBehaviorSpecified [get, set] |
long | maxVideoAdDuration [get, set] |
The maximum duration in milliseconds of video ads within this slot. This attribute is optional and defaults to 0. More... | |
bool | maxVideoAdDurationSpecified [get, set] |
MidrollFrequencyType | videoMidrollFrequencyType [get, set] |
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. More... | |
bool | videoMidrollFrequencyTypeSpecified [get, set] |
string | videoMidrollFrequency [get, set] |
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 More... | |
AdRuleSlotBumper | bumper [get, set] |
The AdRuleSlotBumper for this slot. This attribute is optional and defaults to AdRuleSlotBumper::NONE. More... | |
bool | bumperSpecified [get, set] |
long | maxBumperDuration [get, set] |
The maximum duration of bumper ads within this slot. This attribute is optional and defaults to 0. More... | |
bool | maxBumperDurationSpecified [get, set] |
long | maxPodDuration [get, set] |
The maximum pod duration in milliseconds for this slot. This attribute is optional and defaults to 0. More... | |
bool | maxPodDurationSpecified [get, set] |
int | maxAdsInPod [get, set] |
The maximum number of ads allowed in a pod in this slot. This attribute is optional and defaults to 0. More... | |
bool | maxAdsInPodSpecified [get, set] |
long | breakTemplateId [get, set] |
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. More... | |
bool | breakTemplateIdSpecified [get, set] |
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.
|
getset |
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.
|
getset |
true
, if a value is specified for breakTemplateId, false
otherwise.
|
getset |
The AdRuleSlotBumper for this slot. This attribute is optional and defaults to AdRuleSlotBumper::NONE.
|
getset |
true
, if a value is specified for bumper, false
otherwise.
|
getset |
The maximum number of ads allowed in a pod in this slot. This attribute is optional and defaults to 0.
|
getset |
true
, if a value is specified for maxAdsInPod, false
otherwise.
|
getset |
The maximum duration of bumper ads within this slot. This attribute is optional and defaults to 0.
|
getset |
true
, if a value is specified for maxBumperDuration, false
otherwise.
|
getset |
The maximum pod duration in milliseconds for this slot. This attribute is optional and defaults to 0.
|
getset |
true
, if a value is specified for maxPodDuration, false
otherwise.
|
getset |
The maximum duration in milliseconds of video ads within this slot. This attribute is optional and defaults to 0.
|
getset |
true
, if a value is specified for maxVideoAdDuration, false
otherwise.
|
getset |
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.
|
getset |
true
, if a value is specified for slotBehavior, false
otherwise.
|
getset |
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
videoMidrollFrequency
= "60", this would mean " play a mid-roll
every 60 seconds."
|
getset |
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.
|
getset |
true
, if a value is specified for videoMidrollFrequencyType, false
otherwise.