public enum EntityLimitReachedErrorReason extends Enum<EntityLimitReachedErrorReason>
Java class for EntityLimitReachedError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EntityLimitReachedError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CUSTOM_TARGETING_VALUES_LIMIT_REACHED"/>
<enumeration value="AD_EXCLUSION_RULES_LIMIT_REACHED"/>
<enumeration value="FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED"/>
<enumeration value="PLACEMENTS_LIMIT_REACHED"/>
<enumeration value="LINE_ITEMS_LIMIT_REACHED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_EXCLUSION_RULES_LIMIT_REACHED
The number of ad exclusion rules exceeds the max number allowed in the network.
|
CUSTOM_TARGETING_VALUES_LIMIT_REACHED
The number of custom targeting values exceeds the max number allowed in the network.
|
FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED
The number of first party audience segments exceeds the max number allowed in the network.
|
LINE_ITEMS_LIMIT_REACHED
The number of line items excceeds the max number allowed in the network.
|
PLACEMENTS_LIMIT_REACHED
The number of active placements exceeds the max number allowed in the network.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static EntityLimitReachedErrorReason |
fromValue(String v) |
String |
value() |
static EntityLimitReachedErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityLimitReachedErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityLimitReachedErrorReason CUSTOM_TARGETING_VALUES_LIMIT_REACHED
public static final EntityLimitReachedErrorReason AD_EXCLUSION_RULES_LIMIT_REACHED
public static final EntityLimitReachedErrorReason FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED
public static final EntityLimitReachedErrorReason PLACEMENTS_LIMIT_REACHED
public static final EntityLimitReachedErrorReason LINE_ITEMS_LIMIT_REACHED
public static final EntityLimitReachedErrorReason UNKNOWN
public static EntityLimitReachedErrorReason[] values()
for (EntityLimitReachedErrorReason c : EntityLimitReachedErrorReason.values()) System.out.println(c);
public static EntityLimitReachedErrorReason 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 EntityLimitReachedErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.