public enum UserConsentEligibility extends Enum<UserConsentEligibility>
Java class for UserConsentEligibility.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="UserConsentEligibility">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NONE"/>
<enumeration value="CONSENTED_OR_NPA"/>
<enumeration value="CONSENTED_ONLY"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CONSENTED_ONLY
Don't serve for non-personalized ad requests - The network has marked this line item as being
eligible to serve on any consented request (ie.
|
CONSENTED_OR_NPA
Don't limit serving - The network has marked this line item as one that does not use any
personalized data.
|
NONE
Don't serve for any EEA ad request - This line item is not eligible to serve on any
requests that originate in the EEA - regardless of the consent bit in request.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static UserConsentEligibility |
fromValue(String v) |
String |
value() |
static UserConsentEligibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserConsentEligibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserConsentEligibility NONE
public static final UserConsentEligibility CONSENTED_OR_NPA
public static final UserConsentEligibility CONSENTED_ONLY
public static final UserConsentEligibility UNKNOWN
public static UserConsentEligibility[] values()
for (UserConsentEligibility c : UserConsentEligibility.values()) System.out.println(c);
public static UserConsentEligibility 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 UserConsentEligibility fromValue(String v)
Copyright © 2018. All Rights Reserved.