com.google.api.ads.dfp.axis.v201203
Class CustomCreative

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

public class CustomCreative
extends HasDestinationUrlCreative
implements Serializable

A Creative that contains an arbitrary HTML snippet and file assets.

See Also:
Serialized Form

Constructor Summary
CustomCreative()
           
CustomCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, String creativeType, String destinationUrl, String htmlSnippet, CustomCreativeAsset[] customCreativeAssets, Boolean isInterstitial)
           
 
Method Summary
 boolean equals(Object obj)
           
 CustomCreativeAsset[] getCustomCreativeAssets()
          Gets the customCreativeAssets value for this CustomCreative.
 CustomCreativeAsset getCustomCreativeAssets(int i)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getHtmlSnippet()
          Gets the htmlSnippet value for this CustomCreative.
 Boolean getIsInterstitial()
          Gets the isInterstitial value for this CustomCreative.
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 setCustomCreativeAssets(CustomCreativeAsset[] customCreativeAssets)
          Sets the customCreativeAssets value for this CustomCreative.
 void setCustomCreativeAssets(int i, CustomCreativeAsset _value)
           
 void setHtmlSnippet(String htmlSnippet)
          Sets the htmlSnippet value for this CustomCreative.
 void setIsInterstitial(Boolean isInterstitial)
          Sets the isInterstitial value for this CustomCreative.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201203.HasDestinationUrlCreative
getDestinationUrl, setDestinationUrl
 
Methods inherited from class com.google.api.ads.dfp.axis.v201203.Creative
getAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getId, getLastModifiedDateTime, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomCreative

public CustomCreative()

CustomCreative

public CustomCreative(Long advertiserId,
                      Long id,
                      String name,
                      Size size,
                      String previewUrl,
                      AppliedLabel[] appliedLabels,
                      DateTime lastModifiedDateTime,
                      String creativeType,
                      String destinationUrl,
                      String htmlSnippet,
                      CustomCreativeAsset[] customCreativeAssets,
                      Boolean isInterstitial)
Method Detail

getHtmlSnippet

public String getHtmlSnippet()
Gets the htmlSnippet value for this CustomCreative.

Returns:
htmlSnippet * The HTML snippet that this creative delivers. This attribute is required.

setHtmlSnippet

public void setHtmlSnippet(String htmlSnippet)
Sets the htmlSnippet value for this CustomCreative.

Parameters:
htmlSnippet - * The HTML snippet that this creative delivers. This attribute is required.

getCustomCreativeAssets

public CustomCreativeAsset[] getCustomCreativeAssets()
Gets the customCreativeAssets value for this CustomCreative.

Returns:
customCreativeAssets * A list of file assets that are associated with this creative, and can be referenced in the snippet.

setCustomCreativeAssets

public void setCustomCreativeAssets(CustomCreativeAsset[] customCreativeAssets)
Sets the customCreativeAssets value for this CustomCreative.

Parameters:
customCreativeAssets - * A list of file assets that are associated with this creative, and can be referenced in the snippet.

getCustomCreativeAssets

public CustomCreativeAsset getCustomCreativeAssets(int i)

setCustomCreativeAssets

public void setCustomCreativeAssets(int i,
                                    CustomCreativeAsset _value)

getIsInterstitial

public Boolean getIsInterstitial()
Gets the isInterstitial value for this CustomCreative.

Returns:
isInterstitial * true if this custom creative is interstitial. An interstitial creative will not consider an impression served until it is fully rendered in the browser.

setIsInterstitial

public void setIsInterstitial(Boolean isInterstitial)
Sets the isInterstitial value for this CustomCreative.

Parameters:
isInterstitial - * true if this custom creative is interstitial. An interstitial creative will not consider an impression served until it is fully rendered in the browser.

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.