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

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201208.Creative
      extended by com.google.api.ads.dfp.axis.v201208.BaseDynamicAllocationCreative
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdExchangeCreative, AdSenseCreative

public abstract class BaseDynamicAllocationCreative
extends Creative
implements Serializable

A base class for dynamic allocation creatives.

See Also:
Serialized Form

Constructor Summary
BaseDynamicAllocationCreative()
           
BaseDynamicAllocationCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType, String codeSnippet)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCodeSnippet()
          Gets the codeSnippet value for this BaseDynamicAllocationCreative.
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
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCodeSnippet(String codeSnippet)
          Sets the codeSnippet value for this BaseDynamicAllocationCreative.
 
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

BaseDynamicAllocationCreative

public BaseDynamicAllocationCreative()

BaseDynamicAllocationCreative

public BaseDynamicAllocationCreative(Long advertiserId,
                                     Long id,
                                     String name,
                                     Size size,
                                     String previewUrl,
                                     AppliedLabel[] appliedLabels,
                                     DateTime lastModifiedDateTime,
                                     BaseCustomFieldValue[] customFieldValues,
                                     String creativeType,
                                     String codeSnippet)
Method Detail

getCodeSnippet

public String getCodeSnippet()
Gets the codeSnippet value for this BaseDynamicAllocationCreative.

Returns:
codeSnippet * The code snippet (ad tag) from Ad Exchange or AdSense to traffic the dynamic allocation creative. Only valid Ad Exchange or AdSense parameters will be considered. Any extraneous HTML or JavaScript will be ignored.

setCodeSnippet

public void setCodeSnippet(String codeSnippet)
Sets the codeSnippet value for this BaseDynamicAllocationCreative.

Parameters:
codeSnippet - * The code snippet (ad tag) from Ad Exchange or AdSense to traffic the dynamic allocation creative. Only valid Ad Exchange or AdSense parameters will be considered. Any extraneous HTML or JavaScript will be ignored.

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.