public abstract class BaseAdRuleSlot extends Object
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.
Java class for BaseAdRuleSlot complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BaseAdRuleSlot">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="slotBehavior" type="{https://www.google.com/apis/ads/publisher/v201805}AdRuleSlotBehavior" minOccurs="0"/>
<element name="minVideoAdDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="maxVideoAdDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="videoMidrollFrequencyType" type="{https://www.google.com/apis/ads/publisher/v201805}MidrollFrequencyType" minOccurs="0"/>
<element name="videoMidrollFrequency" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="bumper" type="{https://www.google.com/apis/ads/publisher/v201805}AdRuleSlotBumper" minOccurs="0"/>
<element name="maxBumperDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="minPodDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="maxPodDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="maxAdsInPod" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AdRuleSlotBumper |
bumper |
protected Integer |
maxAdsInPod |
protected Long |
maxBumperDuration |
protected Long |
maxPodDuration |
protected Long |
maxVideoAdDuration |
protected Long |
minPodDuration |
protected Long |
minVideoAdDuration |
protected AdRuleSlotBehavior |
slotBehavior |
protected String |
videoMidrollFrequency |
protected MidrollFrequencyType |
videoMidrollFrequencyType |
| Constructor and Description |
|---|
BaseAdRuleSlot() |
| Modifier and Type | Method and Description |
|---|---|
AdRuleSlotBumper |
getBumper()
Gets the value of the bumper property.
|
Integer |
getMaxAdsInPod()
Gets the value of the maxAdsInPod property.
|
Long |
getMaxBumperDuration()
Gets the value of the maxBumperDuration property.
|
Long |
getMaxPodDuration()
Gets the value of the maxPodDuration property.
|
Long |
getMaxVideoAdDuration()
Gets the value of the maxVideoAdDuration property.
|
Long |
getMinPodDuration()
Gets the value of the minPodDuration property.
|
Long |
getMinVideoAdDuration()
Gets the value of the minVideoAdDuration property.
|
AdRuleSlotBehavior |
getSlotBehavior()
Gets the value of the slotBehavior property.
|
String |
getVideoMidrollFrequency()
Gets the value of the videoMidrollFrequency property.
|
MidrollFrequencyType |
getVideoMidrollFrequencyType()
Gets the value of the videoMidrollFrequencyType property.
|
void |
setBumper(AdRuleSlotBumper value)
Sets the value of the bumper property.
|
void |
setMaxAdsInPod(Integer value)
Sets the value of the maxAdsInPod property.
|
void |
setMaxBumperDuration(Long value)
Sets the value of the maxBumperDuration property.
|
void |
setMaxPodDuration(Long value)
Sets the value of the maxPodDuration property.
|
void |
setMaxVideoAdDuration(Long value)
Sets the value of the maxVideoAdDuration property.
|
void |
setMinPodDuration(Long value)
Sets the value of the minPodDuration property.
|
void |
setMinVideoAdDuration(Long value)
Sets the value of the minVideoAdDuration property.
|
void |
setSlotBehavior(AdRuleSlotBehavior value)
Sets the value of the slotBehavior property.
|
void |
setVideoMidrollFrequency(String value)
Sets the value of the videoMidrollFrequency property.
|
void |
setVideoMidrollFrequencyType(MidrollFrequencyType value)
Sets the value of the videoMidrollFrequencyType property.
|
protected AdRuleSlotBehavior slotBehavior
protected Long minVideoAdDuration
protected Long maxVideoAdDuration
protected MidrollFrequencyType videoMidrollFrequencyType
protected String videoMidrollFrequency
protected AdRuleSlotBumper bumper
protected Long maxBumperDuration
protected Long minPodDuration
protected Long maxPodDuration
protected Integer maxAdsInPod
public AdRuleSlotBehavior getSlotBehavior()
AdRuleSlotBehaviorpublic void setSlotBehavior(AdRuleSlotBehavior value)
value - allowed object is
AdRuleSlotBehaviorpublic Long getMinVideoAdDuration()
Longpublic void setMinVideoAdDuration(Long value)
value - allowed object is
Longpublic Long getMaxVideoAdDuration()
Longpublic void setMaxVideoAdDuration(Long value)
value - allowed object is
Longpublic MidrollFrequencyType getVideoMidrollFrequencyType()
MidrollFrequencyTypepublic void setVideoMidrollFrequencyType(MidrollFrequencyType value)
value - allowed object is
MidrollFrequencyTypepublic String getVideoMidrollFrequency()
Stringpublic void setVideoMidrollFrequency(String value)
value - allowed object is
Stringpublic AdRuleSlotBumper getBumper()
AdRuleSlotBumperpublic void setBumper(AdRuleSlotBumper value)
value - allowed object is
AdRuleSlotBumperpublic Long getMaxBumperDuration()
Longpublic void setMaxBumperDuration(Long value)
value - allowed object is
Longpublic Long getMinPodDuration()
Longpublic void setMinPodDuration(Long value)
value - allowed object is
Longpublic Long getMaxPodDuration()
Longpublic void setMaxPodDuration(Long value)
value - allowed object is
Longpublic Integer getMaxAdsInPod()
IntegerCopyright © 2018. All Rights Reserved.