public class CustomTargetingValue extends Object
CustomTargetingValue represents a value used for custom targeting.
Java class for CustomTargetingValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomTargetingValue">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="customTargetingKeyId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="matchType" type="{https://www.google.com/apis/ads/publisher/v201708}CustomTargetingValue.MatchType" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201708}CustomTargetingValue.Status" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
customTargetingKeyId |
protected String |
displayName |
protected Long |
id |
protected CustomTargetingValueMatchType |
matchType |
protected String |
name |
protected CustomTargetingValueStatus |
status |
| Constructor and Description |
|---|
CustomTargetingValue() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCustomTargetingKeyId()
Gets the value of the customTargetingKeyId property.
|
String |
getDisplayName()
Gets the value of the displayName property.
|
Long |
getId()
Gets the value of the id property.
|
CustomTargetingValueMatchType |
getMatchType()
Gets the value of the matchType property.
|
String |
getName()
Gets the value of the name property.
|
CustomTargetingValueStatus |
getStatus()
Gets the value of the status property.
|
void |
setCustomTargetingKeyId(Long value)
Sets the value of the customTargetingKeyId property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setMatchType(CustomTargetingValueMatchType value)
Sets the value of the matchType property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStatus(CustomTargetingValueStatus value)
Sets the value of the status property.
|
protected Long customTargetingKeyId
protected Long id
protected String name
protected String displayName
protected CustomTargetingValueMatchType matchType
protected CustomTargetingValueStatus status
public Long getCustomTargetingKeyId()
Longpublic void setCustomTargetingKeyId(Long value)
value - allowed object is
Longpublic void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDisplayName()
Stringpublic void setDisplayName(String value)
value - allowed object is
Stringpublic CustomTargetingValueMatchType getMatchType()
CustomTargetingValueMatchTypepublic void setMatchType(CustomTargetingValueMatchType value)
value - allowed object is
CustomTargetingValueMatchTypepublic CustomTargetingValueStatus getStatus()
CustomTargetingValueStatuspublic void setStatus(CustomTargetingValueStatus value)
value - allowed object is
CustomTargetingValueStatusCopyright © 2018. All Rights Reserved.