|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201208.CustomTargetingValue
public class CustomTargetingValue
CustomTargetingValue represents a value used for custom
targeting.
| Constructor Summary | |
|---|---|
CustomTargetingValue()
|
|
CustomTargetingValue(Long customTargetingKeyId,
Long id,
String name,
String displayName,
CustomTargetingValueMatchType matchType)
|
|
| Method Summary | |
|---|---|
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomTargetingValue()
public CustomTargetingValue(Long customTargetingKeyId,
Long id,
String name,
String displayName,
CustomTargetingValueMatchType matchType)
| Method Detail |
|---|
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. This feature is only available for DFP premium
solution accounts.
For Small Business accounts, only MatchType#EXACT
matching is
allowed.public void setMatchType(CustomTargetingValueMatchType matchType)
matchType - * The way in which the name strings
will be
matched. This feature is only available for DFP premium
solution accounts.
For Small Business accounts, only MatchType#EXACT
matching is
allowed.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||