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

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

public class ThirdPartyCreative
extends Creative
implements Serializable

A Creative that is served by a 3rd-party vendor.

See Also:
Serialized Form

Constructor Summary
ThirdPartyCreative()
           
ThirdPartyCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, DateTime lastModifiedDateTime, BaseCustomFieldValue[] customFieldValues, String creativeType, String snippet, String expandedSnippet)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getExpandedSnippet()
          Gets the expandedSnippet value for this ThirdPartyCreative.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getSnippet()
          Gets the snippet value for this ThirdPartyCreative.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setExpandedSnippet(String expandedSnippet)
          Sets the expandedSnippet value for this ThirdPartyCreative.
 void setSnippet(String snippet)
          Sets the snippet value for this ThirdPartyCreative.
 
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

ThirdPartyCreative

public ThirdPartyCreative()

ThirdPartyCreative

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

getSnippet

public String getSnippet()
Gets the snippet value for this ThirdPartyCreative.

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

setSnippet

public void setSnippet(String snippet)
Sets the snippet value for this ThirdPartyCreative.

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

getExpandedSnippet

public String getExpandedSnippet()
Gets the expandedSnippet value for this ThirdPartyCreative.

Returns:
expandedSnippet * The HTML snippet that this creative delivers with macros expanded. This attribute is read-only and is set by Google.

setExpandedSnippet

public void setExpandedSnippet(String expandedSnippet)
Sets the expandedSnippet value for this ThirdPartyCreative.

Parameters:
expandedSnippet - * The HTML snippet that this creative delivers with macros expanded. This attribute is read-only and is set by Google.

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.