public enum CustomTargetingKeyType extends Enum<CustomTargetingKeyType>
Java class for CustomTargetingKey.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomTargetingKey.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PREDEFINED"/>
<enumeration value="FREEFORM"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FREEFORM
Target audiences by adding criteria values when creating line items.
|
PREDEFINED
Target audiences by criteria values that are defined in advance.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomTargetingKeyType |
fromValue(String v) |
String |
value() |
static CustomTargetingKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomTargetingKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomTargetingKeyType PREDEFINED
public static final CustomTargetingKeyType FREEFORM
public static CustomTargetingKeyType[] values()
for (CustomTargetingKeyType c : CustomTargetingKeyType.values()) System.out.println(c);
public static CustomTargetingKeyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static CustomTargetingKeyType fromValue(String v)
Copyright © 2018. All Rights Reserved.