public enum AudienceSegmentType extends Enum<AudienceSegmentType>
Java class for AudienceSegment.Type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AudienceSegment.Type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="FIRST_PARTY"/>
<enumeration value="SHARED"/>
<enumeration value="THIRD_PARTY"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FIRST_PARTY
First party segments created and owned by the publisher.
|
SHARED
First party segments shared by other clients.
|
THIRD_PARTY
Third party segments licensed by the publisher from data providers.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AudienceSegmentType |
fromValue(String v) |
String |
value() |
static AudienceSegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudienceSegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudienceSegmentType FIRST_PARTY
public static final AudienceSegmentType SHARED
public static final AudienceSegmentType THIRD_PARTY
public static final AudienceSegmentType UNKNOWN
public static AudienceSegmentType[] values()
for (AudienceSegmentType c : AudienceSegmentType.values()) System.out.println(c);
public static AudienceSegmentType 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 AudienceSegmentType fromValue(String v)
Copyright © 2018. All Rights Reserved.