com.google.api.ads.adwords.v201109.o
Class InStreamAdInfo

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.o.InStreamAdInfo
All Implemented Interfaces:
Serializable

public class InStreamAdInfo
extends Object
implements Serializable

Information specific to the instream ad format. Instream ads are video ads which play as part of the delivery of video content, either before, during, or after the content itself.

See Also:
Serialized Form

Constructor Summary
InStreamAdInfo()
           
InStreamAdInfo(Integer maxAdDuration, Integer minAdDuration, Integer medianAdDuration, Double preRollPercent, Double midRollPercent, Double postRollPercent)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getMaxAdDuration()
          Gets the maxAdDuration value for this InStreamAdInfo.
 Integer getMedianAdDuration()
          Gets the medianAdDuration value for this InStreamAdInfo.
 Double getMidRollPercent()
          Gets the midRollPercent value for this InStreamAdInfo.
 Integer getMinAdDuration()
          Gets the minAdDuration value for this InStreamAdInfo.
 Double getPostRollPercent()
          Gets the postRollPercent value for this InStreamAdInfo.
 Double getPreRollPercent()
          Gets the preRollPercent value for this InStreamAdInfo.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setMaxAdDuration(Integer maxAdDuration)
          Sets the maxAdDuration value for this InStreamAdInfo.
 void setMedianAdDuration(Integer medianAdDuration)
          Sets the medianAdDuration value for this InStreamAdInfo.
 void setMidRollPercent(Double midRollPercent)
          Sets the midRollPercent value for this InStreamAdInfo.
 void setMinAdDuration(Integer minAdDuration)
          Sets the minAdDuration value for this InStreamAdInfo.
 void setPostRollPercent(Double postRollPercent)
          Sets the postRollPercent value for this InStreamAdInfo.
 void setPreRollPercent(Double preRollPercent)
          Sets the preRollPercent value for this InStreamAdInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InStreamAdInfo

public InStreamAdInfo()

InStreamAdInfo

public InStreamAdInfo(Integer maxAdDuration,
                      Integer minAdDuration,
                      Integer medianAdDuration,
                      Double preRollPercent,
                      Double midRollPercent,
                      Double postRollPercent)
Method Detail

getMaxAdDuration

public Integer getMaxAdDuration()
Gets the maxAdDuration value for this InStreamAdInfo.

Returns:
maxAdDuration * The maximum ad duration (sec).

setMaxAdDuration

public void setMaxAdDuration(Integer maxAdDuration)
Sets the maxAdDuration value for this InStreamAdInfo.

Parameters:
maxAdDuration - * The maximum ad duration (sec).

getMinAdDuration

public Integer getMinAdDuration()
Gets the minAdDuration value for this InStreamAdInfo.

Returns:
minAdDuration * The minimum ad duration (sec).

setMinAdDuration

public void setMinAdDuration(Integer minAdDuration)
Sets the minAdDuration value for this InStreamAdInfo.

Parameters:
minAdDuration - * The minimum ad duration (sec).

getMedianAdDuration

public Integer getMedianAdDuration()
Gets the medianAdDuration value for this InStreamAdInfo.

Returns:
medianAdDuration * The median ad duration (sec).

setMedianAdDuration

public void setMedianAdDuration(Integer medianAdDuration)
Sets the medianAdDuration value for this InStreamAdInfo.

Parameters:
medianAdDuration - * The median ad duration (sec).

getPreRollPercent

public Double getPreRollPercent()
Gets the preRollPercent value for this InStreamAdInfo.

Returns:
preRollPercent * Percentage of ads shown before the video content.

setPreRollPercent

public void setPreRollPercent(Double preRollPercent)
Sets the preRollPercent value for this InStreamAdInfo.

Parameters:
preRollPercent - * Percentage of ads shown before the video content.

getMidRollPercent

public Double getMidRollPercent()
Gets the midRollPercent value for this InStreamAdInfo.

Returns:
midRollPercent * Percentage of ads shown during the video content.

setMidRollPercent

public void setMidRollPercent(Double midRollPercent)
Sets the midRollPercent value for this InStreamAdInfo.

Parameters:
midRollPercent - * Percentage of ads shown during the video content.

getPostRollPercent

public Double getPostRollPercent()
Gets the postRollPercent value for this InStreamAdInfo.

Returns:
postRollPercent * Percentage of ads shown after the video content.

setPostRollPercent

public void setPostRollPercent(Double postRollPercent)
Sets the postRollPercent value for this InStreamAdInfo.

Parameters:
postRollPercent - * Percentage of ads shown after the video content.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.