com.google.api.ads.dfp.axis.v201204
Class CustomTargetingKey

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201204.CustomTargetingKey
All Implemented Interfaces:
Serializable

public class CustomTargetingKey
extends Object
implements Serializable

CustomTargetingKey represents a key used for custom targeting.

See Also:
Serialized Form

Constructor Summary
CustomTargetingKey()
           
CustomTargetingKey(Long id, String name, String displayName, CustomTargetingKeyType type)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getDisplayName()
          Gets the displayName value for this CustomTargetingKey.
 Long getId()
          Gets the id value for this CustomTargetingKey.
 String getName()
          Gets the name value for this CustomTargetingKey.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 CustomTargetingKeyType getType()
          Gets the type value for this CustomTargetingKey.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDisplayName(String displayName)
          Sets the displayName value for this CustomTargetingKey.
 void setId(Long id)
          Sets the id value for this CustomTargetingKey.
 void setName(String name)
          Sets the name value for this CustomTargetingKey.
 void setType(CustomTargetingKeyType type)
          Sets the type value for this CustomTargetingKey.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomTargetingKey

public CustomTargetingKey()

CustomTargetingKey

public CustomTargetingKey(Long id,
                          String name,
                          String displayName,
                          CustomTargetingKeyType type)
Method Detail

getId

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

Returns:
id * The ID of the CustomTargetingKey. This value is readonly and is populated by Google.

setId

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

Parameters:
id - * The ID of the CustomTargetingKey. This value is readonly and is populated by Google.

getName

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

Returns:
name * Name of the key. This can be used for encoding . If you don't want users to be able to see potentially sensitive targeting information in the ad tags of your site, you can encode your key/values. For example, you can create key/value g1=abc to represent gender=female. Keys can contain up to 10 characters each. You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.

setName

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

Parameters:
name - * Name of the key. This can be used for encoding . If you don't want users to be able to see potentially sensitive targeting information in the ad tags of your site, you can encode your key/values. For example, you can create key/value g1=abc to represent gender=female. Keys can contain up to 10 characters each. You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.

getDisplayName

public String getDisplayName()
Gets the displayName value for this CustomTargetingKey.

Returns:
displayName * Descriptive name for the key.

setDisplayName

public void setDisplayName(String displayName)
Sets the displayName value for this CustomTargetingKey.

Parameters:
displayName - * Descriptive name for the key.

getType

public CustomTargetingKeyType getType()
Gets the type value for this CustomTargetingKey.

Returns:
type * Indicates whether users will select from predefined values or create new targeting values, while specifying targeting criteria for a line item.

setType

public void setType(CustomTargetingKeyType type)
Sets the type value for this CustomTargetingKey.

Parameters:
type - * Indicates whether users will select from predefined values or create new targeting values, while specifying targeting criteria for a line item.

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