public class CustomTargetingKey extends Object implements Serializable
CustomTargetingKey represents a key used for custom targeting.| Constructor and Description |
|---|
CustomTargetingKey() |
CustomTargetingKey(Long id,
String name,
String displayName,
CustomTargetingKeyType type) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public CustomTargetingKey()
public CustomTargetingKey(Long id, String name, String displayName, CustomTargetingKeyType type)
public Long getId()
CustomTargetingKey. This value is readonly
and is
populated by Google.public void setId(Long id)
id - * The ID of the CustomTargetingKey. This value is readonly
and is
populated by Google.public String getName()
public void setName(String name)
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.public String getDisplayName()
public void setDisplayName(String displayName)
displayName - * Descriptive name for the key.public CustomTargetingKeyType getType()
public void setType(CustomTargetingKeyType type)
type - * Indicates whether users will select from predefined values
or create new
targeting values, while specifying targeting criteria
for a line item.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2013. All Rights Reserved.