com.google.api.ads.dfp.axis.v201208
Class BaseVideoCreative

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201208.Creative
      extended by com.google.api.ads.dfp.axis.v201208.HasDestinationUrlCreative
          extended by com.google.api.ads.dfp.axis.v201208.BaseVideoCreative
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
VideoCreative, VideoRedirectCreative

public abstract class BaseVideoCreative
extends HasDestinationUrlCreative
implements Serializable

A base type for video creatives.

See Also:
Serialized Form

Constructor Summary
BaseVideoCreative()
           
BaseVideoCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType, String destinationUrl, Integer duration, Boolean allowDurationOverride, ConversionEvent_TrackingUrlsMapEntry[] trackingUrls, long[] companionCreativeIds, String customParameters)
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAllowDurationOverride()
          Gets the allowDurationOverride value for this BaseVideoCreative.
 long[] getCompanionCreativeIds()
          Gets the companionCreativeIds value for this BaseVideoCreative.
 long getCompanionCreativeIds(int i)
           
 String getCustomParameters()
          Gets the customParameters value for this BaseVideoCreative.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getDuration()
          Gets the duration value for this BaseVideoCreative.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 ConversionEvent_TrackingUrlsMapEntry[] getTrackingUrls()
          Gets the trackingUrls value for this BaseVideoCreative.
 ConversionEvent_TrackingUrlsMapEntry getTrackingUrls(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAllowDurationOverride(Boolean allowDurationOverride)
          Sets the allowDurationOverride value for this BaseVideoCreative.
 void setCompanionCreativeIds(int i, long _value)
           
 void setCompanionCreativeIds(long[] companionCreativeIds)
          Sets the companionCreativeIds value for this BaseVideoCreative.
 void setCustomParameters(String customParameters)
          Sets the customParameters value for this BaseVideoCreative.
 void setDuration(Integer duration)
          Sets the duration value for this BaseVideoCreative.
 void setTrackingUrls(ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
          Sets the trackingUrls value for this BaseVideoCreative.
 void setTrackingUrls(int i, ConversionEvent_TrackingUrlsMapEntry _value)
           
 
Methods inherited from class com.google.api.ads.dfp.axis.v201208.HasDestinationUrlCreative
getDestinationUrl, setDestinationUrl
 
Methods inherited from class com.google.api.ads.dfp.axis.v201208.Creative
getAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getCustomFieldValues, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setCustomFieldValues, setCustomFieldValues, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseVideoCreative

public BaseVideoCreative()

BaseVideoCreative

public BaseVideoCreative(Long advertiserId,
                         Long id,
                         String name,
                         Size size,
                         String previewUrl,
                         AppliedLabel[] appliedLabels,
                         DateTime lastModifiedDateTime,
                         BaseCustomFieldValue[] customFieldValues,
                         String creativeType,
                         String destinationUrl,
                         Integer duration,
                         Boolean allowDurationOverride,
                         ConversionEvent_TrackingUrlsMapEntry[] trackingUrls,
                         long[] companionCreativeIds,
                         String customParameters)
Method Detail

getDuration

public Integer getDuration()
Gets the duration value for this BaseVideoCreative.

Returns:
duration * The expected duration of this creative in seconds.

setDuration

public void setDuration(Integer duration)
Sets the duration value for this BaseVideoCreative.

Parameters:
duration - * The expected duration of this creative in seconds.

getAllowDurationOverride

public Boolean getAllowDurationOverride()
Gets the allowDurationOverride value for this BaseVideoCreative.

Returns:
allowDurationOverride * Allows the creative duration to differ from the actual asset durations. This attribute is optional.

setAllowDurationOverride

public void setAllowDurationOverride(Boolean allowDurationOverride)
Sets the allowDurationOverride value for this BaseVideoCreative.

Parameters:
allowDurationOverride - * Allows the creative duration to differ from the actual asset durations. This attribute is optional.

getTrackingUrls

public ConversionEvent_TrackingUrlsMapEntry[] getTrackingUrls()
Gets the trackingUrls value for this BaseVideoCreative.

Returns:
trackingUrls * A map from ConversionEvent to a list of URLs that will be pinged when the event happens. This attribute is optional.

setTrackingUrls

public void setTrackingUrls(ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
Sets the trackingUrls value for this BaseVideoCreative.

Parameters:
trackingUrls - * A map from ConversionEvent to a list of URLs that will be pinged when the event happens. This attribute is optional.

getTrackingUrls

public ConversionEvent_TrackingUrlsMapEntry getTrackingUrls(int i)

setTrackingUrls

public void setTrackingUrls(int i,
                            ConversionEvent_TrackingUrlsMapEntry _value)

getCompanionCreativeIds

public long[] getCompanionCreativeIds()
Gets the companionCreativeIds value for this BaseVideoCreative.

Returns:
companionCreativeIds * The IDs of the companion creatives that are associated with this creative. This attribute is optional.

setCompanionCreativeIds

public void setCompanionCreativeIds(long[] companionCreativeIds)
Sets the companionCreativeIds value for this BaseVideoCreative.

Parameters:
companionCreativeIds - * The IDs of the companion creatives that are associated with this creative. This attribute is optional.

getCompanionCreativeIds

public long getCompanionCreativeIds(int i)

setCompanionCreativeIds

public void setCompanionCreativeIds(int i,
                                    long _value)

getCustomParameters

public String getCustomParameters()
Gets the customParameters value for this BaseVideoCreative.

Returns:
customParameters * A comma separated key=value list of parameters that will be supplied to the creative, written into the VAST AdParameters node. This attribute is optional.

setCustomParameters

public void setCustomParameters(String customParameters)
Sets the customParameters value for this BaseVideoCreative.

Parameters:
customParameters - * A comma separated key=value list of parameters that will be supplied to the creative, written into the VAST AdParameters node. This attribute is optional.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class HasDestinationUrlCreative

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 © 2012. All Rights Reserved.