Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot Class Reference

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

Inheritance diagram for Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot:
Google.Api.Ads.AdManager.v202311.NoPoddingAdRuleSlot Google.Api.Ads.AdManager.v202311.OptimizedPoddingAdRuleSlot Google.Api.Ads.AdManager.v202311.StandardPoddingAdRuleSlot Google.Api.Ads.AdManager.v202311.UnknownAdRuleSlot

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]
 

Detailed Description

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.

Property Documentation

long Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.breakTemplateId
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.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.breakTemplateIdSpecified
getset

true, if a value is specified for breakTemplateId, false otherwise.

AdRuleSlotBumper Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.bumper
getset

The AdRuleSlotBumper for this slot. This attribute is optional and defaults to AdRuleSlotBumper::NONE.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.bumperSpecified
getset

true, if a value is specified for bumper, false otherwise.

int Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxAdsInPod
getset

The maximum number of ads allowed in a pod in this slot. This attribute is optional and defaults to 0.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxAdsInPodSpecified
getset

true, if a value is specified for maxAdsInPod, false otherwise.

long Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxBumperDuration
getset

The maximum duration of bumper ads within this slot. This attribute is optional and defaults to 0.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxBumperDurationSpecified
getset

true, if a value is specified for maxBumperDuration, false otherwise.

long Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxPodDuration
getset

The maximum pod duration in milliseconds for this slot. This attribute is optional and defaults to 0.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxPodDurationSpecified
getset

true, if a value is specified for maxPodDuration, false otherwise.

long Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxVideoAdDuration
getset

The maximum duration in milliseconds of video ads within this slot. This attribute is optional and defaults to 0.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.maxVideoAdDurationSpecified
getset

true, if a value is specified for maxVideoAdDuration, false otherwise.

AdRuleSlotBehavior Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.slotBehavior
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.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.slotBehaviorSpecified
getset

true, if a value is specified for slotBehavior, false otherwise.

string Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.videoMidrollFrequency
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."

MidrollFrequencyType Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.videoMidrollFrequencyType
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.

bool Google.Api.Ads.AdManager.v202311.BaseAdRuleSlot.videoMidrollFrequencyTypeSpecified
getset

true, if a value is specified for videoMidrollFrequencyType, false otherwise.


The documentation for this class was generated from the following file: