public abstract class BaseAdRuleSlot extends Object implements Serializable
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.| Constructor and Description |
|---|
BaseAdRuleSlot() |
BaseAdRuleSlot(AdRuleSlotBehavior slotBehavior,
Long minVideoAdDuration,
Long maxVideoAdDuration,
MidrollFrequencyType videoMidrollFrequencyType,
String videoMidrollFrequency,
AdRuleSlotBumper bumper,
Long maxBumperDuration,
Long minPodDuration,
Long maxPodDuration,
Integer maxAdsInPod) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AdRuleSlotBumper |
getBumper()
Gets the bumper value for this BaseAdRuleSlot.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Integer |
getMaxAdsInPod()
Gets the maxAdsInPod value for this BaseAdRuleSlot.
|
Long |
getMaxBumperDuration()
Gets the maxBumperDuration value for this BaseAdRuleSlot.
|
Long |
getMaxPodDuration()
Gets the maxPodDuration value for this BaseAdRuleSlot.
|
Long |
getMaxVideoAdDuration()
Gets the maxVideoAdDuration value for this BaseAdRuleSlot.
|
Long |
getMinPodDuration()
Gets the minPodDuration value for this BaseAdRuleSlot.
|
Long |
getMinVideoAdDuration()
Gets the minVideoAdDuration value for this BaseAdRuleSlot.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
AdRuleSlotBehavior |
getSlotBehavior()
Gets the slotBehavior value for this BaseAdRuleSlot.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
String |
getVideoMidrollFrequency()
Gets the videoMidrollFrequency value for this BaseAdRuleSlot.
|
MidrollFrequencyType |
getVideoMidrollFrequencyType()
Gets the videoMidrollFrequencyType value for this BaseAdRuleSlot.
|
int |
hashCode() |
void |
setBumper(AdRuleSlotBumper bumper)
Sets the bumper value for this BaseAdRuleSlot.
|
void |
setMaxAdsInPod(Integer maxAdsInPod)
Sets the maxAdsInPod value for this BaseAdRuleSlot.
|
void |
setMaxBumperDuration(Long maxBumperDuration)
Sets the maxBumperDuration value for this BaseAdRuleSlot.
|
void |
setMaxPodDuration(Long maxPodDuration)
Sets the maxPodDuration value for this BaseAdRuleSlot.
|
void |
setMaxVideoAdDuration(Long maxVideoAdDuration)
Sets the maxVideoAdDuration value for this BaseAdRuleSlot.
|
void |
setMinPodDuration(Long minPodDuration)
Sets the minPodDuration value for this BaseAdRuleSlot.
|
void |
setMinVideoAdDuration(Long minVideoAdDuration)
Sets the minVideoAdDuration value for this BaseAdRuleSlot.
|
void |
setSlotBehavior(AdRuleSlotBehavior slotBehavior)
Sets the slotBehavior value for this BaseAdRuleSlot.
|
void |
setVideoMidrollFrequency(String videoMidrollFrequency)
Sets the videoMidrollFrequency value for this BaseAdRuleSlot.
|
void |
setVideoMidrollFrequencyType(MidrollFrequencyType videoMidrollFrequencyType)
Sets the videoMidrollFrequencyType value for this BaseAdRuleSlot.
|
String |
toString() |
public BaseAdRuleSlot()
public BaseAdRuleSlot(AdRuleSlotBehavior slotBehavior, Long minVideoAdDuration, Long maxVideoAdDuration, MidrollFrequencyType videoMidrollFrequencyType, String videoMidrollFrequency, AdRuleSlotBumper bumper, Long maxBumperDuration, Long minPodDuration, Long maxPodDuration, Integer maxAdsInPod)
public AdRuleSlotBehavior getSlotBehavior()
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.
public void setSlotBehavior(AdRuleSlotBehavior slotBehavior)
slotBehavior - * 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.
public Long getMinVideoAdDuration()
public void setMinVideoAdDuration(Long minVideoAdDuration)
minVideoAdDuration - * The minimum duration in milliseconds of video ads within this
slot. This
attribute is optional and defaults to 0.public Long getMaxVideoAdDuration()
public void setMaxVideoAdDuration(Long maxVideoAdDuration)
maxVideoAdDuration - * The maximum duration in milliseconds of video ads within this
slot. This
attribute is optional and defaults to 0.public MidrollFrequencyType getVideoMidrollFrequencyType()
MidrollFrequencyType.NONE.public void setVideoMidrollFrequencyType(MidrollFrequencyType videoMidrollFrequencyType)
videoMidrollFrequencyType - * 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.public String getVideoMidrollFrequency()
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."public void setVideoMidrollFrequency(String videoMidrollFrequency)
videoMidrollFrequency - * 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."public AdRuleSlotBumper getBumper()
AdRuleSlotBumper for this slot. This attribute
is optional and
defaults to AdRuleSlotBumper.NONE.public void setBumper(AdRuleSlotBumper bumper)
bumper - * The AdRuleSlotBumper for this slot. This attribute
is optional and
defaults to AdRuleSlotBumper.NONE.public Long getMaxBumperDuration()
public void setMaxBumperDuration(Long maxBumperDuration)
maxBumperDuration - * The maximum duration of bumper ads within this slot. This attribute
is
optional and defaults to 0.public Long getMinPodDuration()
public void setMinPodDuration(Long minPodDuration)
minPodDuration - * The minimum pod duration in milliseconds for this slot. This
attribute is
optional and defaults to 0.public Long getMaxPodDuration()
public void setMaxPodDuration(Long maxPodDuration)
maxPodDuration - * The maximum pod duration in milliseconds for this slot. This
attribute is
optional and defaults to 0.public Integer getMaxAdsInPod()
public void setMaxAdsInPod(Integer maxAdsInPod)
maxAdsInPod - * The maximum number of ads allowed in a pod in this slot. This
attribute is
optional and defaults to 0.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2018. All Rights Reserved.