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

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

public class VastRedirectCreative
extends Creative
implements Serializable

A Creative that points to an externally hosted VAST ad and is served via VAST 2.0 XML as a VAST Wrapper. This creative is read only.

See Also:
Serialized Form

Constructor Summary
VastRedirectCreative()
           
VastRedirectCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType, String vastXmlUrl, VastRedirectType vastRedirectType, long[] companionCreativeIds, ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
           
 
Method Summary
 boolean equals(Object obj)
           
 long[] getCompanionCreativeIds()
          Gets the companionCreativeIds value for this VastRedirectCreative.
 long getCompanionCreativeIds(int i)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
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 VastRedirectCreative.
 ConversionEvent_TrackingUrlsMapEntry getTrackingUrls(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 VastRedirectType getVastRedirectType()
          Gets the vastRedirectType value for this VastRedirectCreative.
 String getVastXmlUrl()
          Gets the vastXmlUrl value for this VastRedirectCreative.
 int hashCode()
           
 void setCompanionCreativeIds(int i, long _value)
           
 void setCompanionCreativeIds(long[] companionCreativeIds)
          Sets the companionCreativeIds value for this VastRedirectCreative.
 void setTrackingUrls(ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
          Sets the trackingUrls value for this VastRedirectCreative.
 void setTrackingUrls(int i, ConversionEvent_TrackingUrlsMapEntry _value)
           
 void setVastRedirectType(VastRedirectType vastRedirectType)
          Sets the vastRedirectType value for this VastRedirectCreative.
 void setVastXmlUrl(String vastXmlUrl)
          Sets the vastXmlUrl value for this VastRedirectCreative.
 
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

VastRedirectCreative

public VastRedirectCreative()

VastRedirectCreative

public VastRedirectCreative(Long advertiserId,
                            Long id,
                            String name,
                            Size size,
                            String previewUrl,
                            AppliedLabel[] appliedLabels,
                            DateTime lastModifiedDateTime,
                            BaseCustomFieldValue[] customFieldValues,
                            String creativeType,
                            String vastXmlUrl,
                            VastRedirectType vastRedirectType,
                            long[] companionCreativeIds,
                            ConversionEvent_TrackingUrlsMapEntry[] trackingUrls)
Method Detail

getVastXmlUrl

public String getVastXmlUrl()
Gets the vastXmlUrl value for this VastRedirectCreative.

Returns:
vastXmlUrl * The URL where the VAST 2.0 XML is hosted.

setVastXmlUrl

public void setVastXmlUrl(String vastXmlUrl)
Sets the vastXmlUrl value for this VastRedirectCreative.

Parameters:
vastXmlUrl - * The URL where the VAST 2.0 XML is hosted.

getVastRedirectType

public VastRedirectType getVastRedirectType()
Gets the vastRedirectType value for this VastRedirectCreative.

Returns:
vastRedirectType * The type of VAST ad that this redirects to.

setVastRedirectType

public void setVastRedirectType(VastRedirectType vastRedirectType)
Sets the vastRedirectType value for this VastRedirectCreative.

Parameters:
vastRedirectType - * The type of VAST ad that this redirects to.

getCompanionCreativeIds

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

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

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

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

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)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Creative

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.