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,
CustomTargetingKeyStatus status,
ReportableType reportableType) |
| 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.
|
ReportableType |
getReportableType()
Gets the reportableType value for this CustomTargetingKey.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
CustomTargetingKeyStatus |
getStatus()
Gets the status value for this CustomTargetingKey.
|
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 |
setReportableType(ReportableType reportableType)
Sets the reportableType value for this CustomTargetingKey.
|
void |
setStatus(CustomTargetingKeyStatus status)
Sets the status value for this CustomTargetingKey.
|
void |
setType(CustomTargetingKeyType type)
Sets the type value for this CustomTargetingKey.
|
String |
toString() |
public CustomTargetingKey()
public CustomTargetingKey(Long id, String name, String displayName, CustomTargetingKeyType type, CustomTargetingKeyStatus status, ReportableType reportableType)
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 CustomTargetingKeyStatus getStatus()
CustomTargetingKey. This field is read-only.
A key can be activated and
deactivated by calling CustomTargetingService#performCustomTargetingKeyAction.public void setStatus(CustomTargetingKeyStatus status)
status - * Status of the CustomTargetingKey. This field is read-only.
A key can be activated and
deactivated by calling CustomTargetingService#performCustomTargetingKeyAction.public ReportableType getReportableType()
ReportableType.public void setReportableType(ReportableType reportableType)
reportableType - * Reportable state of a as defined in ReportableType.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2019. All rights reserved.