com.google.api.ads.dfp.v201111
Class CreativeTemplate

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

public class CreativeTemplate
extends Object
implements Serializable

A template upon which a creative can be created.

See Also:
Serialized Form

Constructor Summary
CreativeTemplate()
           
CreativeTemplate(Long id, String name, String description, CreativeTemplateVariable[] variables, CreativeTemplateStatus status, CreativeTemplateType type, Boolean isInterstitial)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Gets the description value for this CreativeTemplate.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getId()
          Gets the id value for this CreativeTemplate.
 Boolean getIsInterstitial()
          Gets the isInterstitial value for this CreativeTemplate.
 String getName()
          Gets the name value for this CreativeTemplate.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 CreativeTemplateStatus getStatus()
          Gets the status value for this CreativeTemplate.
 CreativeTemplateType getType()
          Gets the type value for this CreativeTemplate.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 CreativeTemplateVariable[] getVariables()
          Gets the variables value for this CreativeTemplate.
 CreativeTemplateVariable getVariables(int i)
           
 int hashCode()
           
 void setDescription(String description)
          Sets the description value for this CreativeTemplate.
 void setId(Long id)
          Sets the id value for this CreativeTemplate.
 void setIsInterstitial(Boolean isInterstitial)
          Sets the isInterstitial value for this CreativeTemplate.
 void setName(String name)
          Sets the name value for this CreativeTemplate.
 void setStatus(CreativeTemplateStatus status)
          Sets the status value for this CreativeTemplate.
 void setType(CreativeTemplateType type)
          Sets the type value for this CreativeTemplate.
 void setVariables(CreativeTemplateVariable[] variables)
          Sets the variables value for this CreativeTemplate.
 void setVariables(int i, CreativeTemplateVariable _value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreativeTemplate

public CreativeTemplate()

CreativeTemplate

public CreativeTemplate(Long id,
                        String name,
                        String description,
                        CreativeTemplateVariable[] variables,
                        CreativeTemplateStatus status,
                        CreativeTemplateType type,
                        Boolean isInterstitial)
Method Detail

getId

public Long getId()
Gets the id value for this CreativeTemplate.

Returns:
id * Uniquely identifies the CreativeTemplate. This attribute is read-only and is assigned by Google when a creative template is created.

setId

public void setId(Long id)
Sets the id value for this CreativeTemplate.

Parameters:
id - * Uniquely identifies the CreativeTemplate. This attribute is read-only and is assigned by Google when a creative template is created.

getName

public String getName()
Gets the name value for this CreativeTemplate.

Returns:
name * The name of the creative template. This attribute is required and has a maximum length of 255 characters.

setName

public void setName(String name)
Sets the name value for this CreativeTemplate.

Parameters:
name - * The name of the creative template. This attribute is required and has a maximum length of 255 characters.

getDescription

public String getDescription()
Gets the description value for this CreativeTemplate.

Returns:
description * The description of the creative template. This attribute is optional.

setDescription

public void setDescription(String description)
Sets the description value for this CreativeTemplate.

Parameters:
description - * The description of the creative template. This attribute is optional.

getVariables

public CreativeTemplateVariable[] getVariables()
Gets the variables value for this CreativeTemplate.

Returns:
variables * The list of creative template variables. This attribute is required.

setVariables

public void setVariables(CreativeTemplateVariable[] variables)
Sets the variables value for this CreativeTemplate.

Parameters:
variables - * The list of creative template variables. This attribute is required.

getVariables

public CreativeTemplateVariable getVariables(int i)

setVariables

public void setVariables(int i,
                         CreativeTemplateVariable _value)

getStatus

public CreativeTemplateStatus getStatus()
Gets the status value for this CreativeTemplate.

Returns:
status * The status of the CreativeTemplate. This attribute is read-only and is assigned by Google.

setStatus

public void setStatus(CreativeTemplateStatus status)
Sets the status value for this CreativeTemplate.

Parameters:
status - * The status of the CreativeTemplate. This attribute is read-only and is assigned by Google.

getType

public CreativeTemplateType getType()
Gets the type value for this CreativeTemplate.

Returns:
type * The type of the CreativeTemplate. Publisher can only create user-defined template

setType

public void setType(CreativeTemplateType type)
Sets the type value for this CreativeTemplate.

Parameters:
type - * The type of the CreativeTemplate. Publisher can only create user-defined template

getIsInterstitial

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

Returns:
isInterstitial * true if this creative template produces interstitial creatives.

setIsInterstitial

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

Parameters:
isInterstitial - * true if this creative template produces interstitial creatives.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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 © 2011. All Rights Reserved.