public class CustomTargetingValue extends Object implements Serializable
CustomTargetingValue represents a value used for custom
targeting.| Constructor and Description |
|---|
CustomTargetingValue() |
CustomTargetingValue(Long customTargetingKeyId,
Long id,
String name,
String displayName,
CustomTargetingValueMatchType matchType,
CustomTargetingValueStatus status) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getCustomTargetingKeyId()
Gets the customTargetingKeyId value for this CustomTargetingValue.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getDisplayName()
Gets the displayName value for this CustomTargetingValue.
|
Long |
getId()
Gets the id value for this CustomTargetingValue.
|
CustomTargetingValueMatchType |
getMatchType()
Gets the matchType value for this CustomTargetingValue.
|
String |
getName()
Gets the name value for this CustomTargetingValue.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
CustomTargetingValueStatus |
getStatus()
Gets the status value for this CustomTargetingValue.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCustomTargetingKeyId(Long customTargetingKeyId)
Sets the customTargetingKeyId value for this CustomTargetingValue.
|
void |
setDisplayName(String displayName)
Sets the displayName value for this CustomTargetingValue.
|
void |
setId(Long id)
Sets the id value for this CustomTargetingValue.
|
void |
setMatchType(CustomTargetingValueMatchType matchType)
Sets the matchType value for this CustomTargetingValue.
|
void |
setName(String name)
Sets the name value for this CustomTargetingValue.
|
void |
setStatus(CustomTargetingValueStatus status)
Sets the status value for this CustomTargetingValue.
|
String |
toString() |
public CustomTargetingValue()
public CustomTargetingValue(Long customTargetingKeyId, Long id, String name, String displayName, CustomTargetingValueMatchType matchType, CustomTargetingValueStatus status)
public Long getCustomTargetingKeyId()
CustomTargetingKey for which this is
the value.public void setCustomTargetingKeyId(Long customTargetingKeyId)
customTargetingKeyId - * The ID of the CustomTargetingKey for which this is
the value.public Long getId()
CustomTargetingValue. This value is readonly
and is
populated by Google.public void setId(Long id)
id - * The ID of the CustomTargetingValue. This value is readonly
and is
populated by Google.public String getName()
public void setName(String name)
name - * Name of the value. 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.
Values can contain up
to 40 characters each. You can use alphanumeric characters
and symbols
other than the following: ", ', =, !, +, #, *, ~,
;, ^, (, ), <, >, [, ].
Values are not data-specific; all values are treated
as string. For
example, instead of using "age>=18 AND <=34", try
"18-34"public String getDisplayName()
public void setDisplayName(String displayName)
displayName - * Descriptive name for the value.public CustomTargetingValueMatchType getMatchType()
name strings
will be
matched.public void setMatchType(CustomTargetingValueMatchType matchType)
matchType - * The way in which the name strings
will be
matched.public CustomTargetingValueStatus getStatus()
CustomTargetingValue. This field is read-only.
A value can be activated
and deactivated by calling CustomTargetingService#performCustomTargetingValueAction.public void setStatus(CustomTargetingValueStatus status)
status - * Status of the CustomTargetingValue. This field is read-only.
A value can be activated
and deactivated by calling CustomTargetingService#performCustomTargetingValueAction.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2018. All Rights Reserved.