com.google.api.ads.dfp.axis.v201111
Class TemplateCreative

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

public class TemplateCreative
extends Creative
implements Serializable

A Creative that is created by the specified creative template.

See Also:
Serialized Form

Constructor Summary
TemplateCreative()
           
TemplateCreative(Long advertiserId, Long id, String name, Size size, String previewUrl, AppliedLabel[] appliedLabels, String creativeType, Long creativeTemplateId, Boolean isInterstitial, BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getCreativeTemplateId()
          Gets the creativeTemplateId value for this TemplateCreative.
 BaseCreativeTemplateVariableValue[] getCreativeTemplateVariableValues()
          Gets the creativeTemplateVariableValues value for this TemplateCreative.
 BaseCreativeTemplateVariableValue getCreativeTemplateVariableValues(int i)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Boolean getIsInterstitial()
          Gets the isInterstitial value for this TemplateCreative.
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 setCreativeTemplateId(Long creativeTemplateId)
          Sets the creativeTemplateId value for this TemplateCreative.
 void setCreativeTemplateVariableValues(BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues)
          Sets the creativeTemplateVariableValues value for this TemplateCreative.
 void setCreativeTemplateVariableValues(int i, BaseCreativeTemplateVariableValue _value)
           
 void setIsInterstitial(Boolean isInterstitial)
          Sets the isInterstitial value for this TemplateCreative.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201111.Creative
getAdvertiserId, getAppliedLabels, getAppliedLabels, getCreativeType, getId, getName, getPreviewUrl, getSize, setAdvertiserId, setAppliedLabels, setAppliedLabels, setCreativeType, setId, setName, setPreviewUrl, setSize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateCreative

public TemplateCreative()

TemplateCreative

public TemplateCreative(Long advertiserId,
                        Long id,
                        String name,
                        Size size,
                        String previewUrl,
                        AppliedLabel[] appliedLabels,
                        String creativeType,
                        Long creativeTemplateId,
                        Boolean isInterstitial,
                        BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues)
Method Detail

getCreativeTemplateId

public Long getCreativeTemplateId()
Gets the creativeTemplateId value for this TemplateCreative.

Returns:
creativeTemplateId * Creative template ID that this creative is created from.

setCreativeTemplateId

public void setCreativeTemplateId(Long creativeTemplateId)
Sets the creativeTemplateId value for this TemplateCreative.

Parameters:
creativeTemplateId - * Creative template ID that this creative is created from.

getIsInterstitial

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

Returns:
isInterstitial * true if this template instantiated creative is interstitial. This attribute is read-only and is assigned by Google based on the creative template.

setIsInterstitial

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

Parameters:
isInterstitial - * true if this template instantiated creative is interstitial. This attribute is read-only and is assigned by Google based on the creative template.

getCreativeTemplateVariableValues

public BaseCreativeTemplateVariableValue[] getCreativeTemplateVariableValues()
Gets the creativeTemplateVariableValues value for this TemplateCreative.

Returns:
creativeTemplateVariableValues * Stores values of CreativeTemplateVariable in the CreativeTemplate.

setCreativeTemplateVariableValues

public void setCreativeTemplateVariableValues(BaseCreativeTemplateVariableValue[] creativeTemplateVariableValues)
Sets the creativeTemplateVariableValues value for this TemplateCreative.

Parameters:
creativeTemplateVariableValues - * Stores values of CreativeTemplateVariable in the CreativeTemplate.

getCreativeTemplateVariableValues

public BaseCreativeTemplateVariableValue getCreativeTemplateVariableValues(int i)

setCreativeTemplateVariableValues

public void setCreativeTemplateVariableValues(int i,
                                              BaseCreativeTemplateVariableValue _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.