public class CustomTargetingKey extends Object
CustomTargetingKey represents a key used for custom targeting.
Java class for CustomTargetingKey complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomTargetingKey">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<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="type" type="{https://www.google.com/apis/ads/publisher/v201805}CustomTargetingKey.Type" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201805}CustomTargetingKey.Status" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected Long |
id |
protected String |
name |
protected CustomTargetingKeyStatus |
status |
protected CustomTargetingKeyType |
type |
| Constructor and Description |
|---|
CustomTargetingKey() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Gets the value of the displayName property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
CustomTargetingKeyStatus |
getStatus()
Gets the value of the status property.
|
CustomTargetingKeyType |
getType()
Gets the value of the type property.
|
void |
setDisplayName(String value)
Sets the value of the displayName property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStatus(CustomTargetingKeyStatus value)
Sets the value of the status property.
|
void |
setType(CustomTargetingKeyType value)
Sets the value of the type property.
|
protected Long id
protected String name
protected String displayName
protected CustomTargetingKeyType type
protected CustomTargetingKeyStatus status
public 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 CustomTargetingKeyType getType()
CustomTargetingKeyTypepublic void setType(CustomTargetingKeyType value)
value - allowed object is
CustomTargetingKeyTypepublic CustomTargetingKeyStatus getStatus()
CustomTargetingKeyStatuspublic void setStatus(CustomTargetingKeyStatus value)
value - allowed object is
CustomTargetingKeyStatusCopyright © 2018. All Rights Reserved.