com.google.api.ads.dfp.axis.v201204
Class VpaidLinearRedirectCreative

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201204.Creative
      extended by com.google.api.ads.dfp.axis.v201204.HasDestinationUrlCreative
          extended by com.google.api.ads.dfp.axis.v201204.VpaidLinearRedirectCreative
All Implemented Interfaces:
Serializable

public class VpaidLinearRedirectCreative
extends HasDestinationUrlCreative
implements Serializable

A Creative that displays an externally hosted Flash-based ad and is served via VAST 2.0 XML. It is displayed in a linear fashion with a video (before, after, interrupting). This creative is read only.

See Also:
Serialized Form

Constructor Summary
VpaidLinearRedirectCreative()
           
VpaidLinearRedirectCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType, String destinationUrl, long[] companionCreativeIds, ConversionEvent_TrackingUrlsMapEntry[] trackingUrls, String customParameters, Integer duration, String flashUrl, Size flashAssetSize)
           
 
Method Summary
 boolean equals(Object obj)
           
 long[] getCompanionCreativeIds()
          Gets the companionCreativeIds value for this VpaidLinearRedirectCreative.
 long getCompanionCreativeIds(int i)
           
 String getCustomParameters()
          Gets the customParameters value for this VpaidLinearRedirectCreative.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Integer getDuration()
          Gets the duration value for this VpaidLinearRedirectCreative.
 Size getFlashAssetSize()
          Gets the flashAssetSize value for this VpaidLinearRedirectCreative.
 String getFlashUrl()
          Gets the flashUrl value for this VpaidLinearRedirectCreative.
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 VpaidLinearRedirectCreative.
 ConversionEvent_TrackingUrlsMapEntry getTrackingUrls(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCompanionCreativeIds(int i, long _value)
           
 void setCompanionCreativeIds(long[] companionCreativeIds)
          Sets the companionCreativeIds value for this VpaidLinearRedirectCreative.
 void setCustomParameters(String customParameters)
          Sets the customParameters value for this VpaidLinearRedirectCreative.
 void setDuration(Integer duration)
          Sets the duration value for this VpaidLinearRedirectCreative.
 void setFlashAssetSize(Size flashAssetSize)
          Sets the flashAssetSize value for this VpaidLinearRedirectCreative.
 void setFlashUrl(String flashUrl)
          Sets the flashUrl value for this VpaidLinearRedirectCreative.
 void setTrackingUrls(ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
          Sets the trackingUrls value for this VpaidLinearRedirectCreative.
 void setTrackingUrls(int i, ConversionEvent_TrackingUrlsMapEntry _value)
           
 
Methods inherited from class com.google.api.ads.dfp.axis.v201204.HasDestinationUrlCreative
getDestinationUrl, setDestinationUrl
 
Methods inherited from class com.google.api.ads.dfp.axis.v201204.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

VpaidLinearRedirectCreative

public VpaidLinearRedirectCreative()

VpaidLinearRedirectCreative

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

getCompanionCreativeIds

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

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

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)

getTrackingUrls

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

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

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)

getCustomParameters

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

Returns:
customParameters * A string that is supplied to the VPAID creative's init function. This is written into the VAST XML in the AdParameters section. This attribute is optional.

setCustomParameters

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

Parameters:
customParameters - * A string that is supplied to the VPAID creative's init function. This is written into the VAST XML in the AdParameters section. This attribute is optional.

getDuration

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

Returns:
duration * Duration in milliseconds for the vpaid ad given no user interaction. This attribute is optional.

setDuration

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

Parameters:
duration - * Duration in milliseconds for the vpaid ad given no user interaction. This attribute is optional.

getFlashUrl

public String getFlashUrl()
Gets the flashUrl value for this VpaidLinearRedirectCreative.

Returns:
flashUrl * The URL where the Flash asset resides. This attribute is required and has a maximum length of 1024 characters.

setFlashUrl

public void setFlashUrl(String flashUrl)
Sets the flashUrl value for this VpaidLinearRedirectCreative.

Parameters:
flashUrl - * The URL where the Flash asset resides. This attribute is required and has a maximum length of 1024 characters.

getFlashAssetSize

public Size getFlashAssetSize()
Gets the flashAssetSize value for this VpaidLinearRedirectCreative.

Returns:
flashAssetSize * The size of the flash asset. Note that this may differ from Creative.size if the asset is not expected to fill the entire video player. This attribute is optional.

setFlashAssetSize

public void setFlashAssetSize(Size flashAssetSize)
Sets the flashAssetSize value for this VpaidLinearRedirectCreative.

Parameters:
flashAssetSize - * The size of the flash asset. Note that this may differ from Creative.size if the asset is not expected to fill the entire video player. 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.