com.google.api.ads.dfp.axis.v201201
Class StringCreativeTemplateVariable

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201201.CreativeTemplateVariable
      extended by com.google.api.ads.dfp.axis.v201201.StringCreativeTemplateVariable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ListStringCreativeTemplateVariable

public class StringCreativeTemplateVariable
extends CreativeTemplateVariable
implements Serializable

Represents a string variable defined in a creative template.

Use StringCreativeTemplateVariableValue to specify the value for this variable when creating TemplateCreative from the TemplateCreative.

See Also:
Serialized Form

Constructor Summary
StringCreativeTemplateVariable()
           
StringCreativeTemplateVariable(String label, String uniqueName, String description, Boolean isRequired, String creativeTemplateVariableType, String defaultValue)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDefaultValue()
          Gets the defaultValue value for this StringCreativeTemplateVariable.
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 setDefaultValue(String defaultValue)
          Sets the defaultValue value for this StringCreativeTemplateVariable.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201201.CreativeTemplateVariable
getCreativeTemplateVariableType, getDescription, getIsRequired, getLabel, getUniqueName, setCreativeTemplateVariableType, setDescription, setIsRequired, setLabel, setUniqueName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringCreativeTemplateVariable

public StringCreativeTemplateVariable()

StringCreativeTemplateVariable

public StringCreativeTemplateVariable(String label,
                                      String uniqueName,
                                      String description,
                                      Boolean isRequired,
                                      String creativeTemplateVariableType,
                                      String defaultValue)
Method Detail

getDefaultValue

public String getDefaultValue()
Gets the defaultValue value for this StringCreativeTemplateVariable.

Returns:
defaultValue * Default value to be filled in when creating creatives from the creative template.

setDefaultValue

public void setDefaultValue(String defaultValue)
Sets the defaultValue value for this StringCreativeTemplateVariable.

Parameters:
defaultValue - * Default value to be filled in when creating creatives from the creative template.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class CreativeTemplateVariable

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.