public enum AdRuleFrequencyCapErrorReason extends Enum<AdRuleFrequencyCapErrorReason>
Java class for AdRuleFrequencyCapError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdRuleFrequencyCapError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NO_FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_ON"/>
<enumeration value="FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_OFF"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_OFF
The ad rule specifies that frequency caps should not be turned on, but
then some frequency caps were actually set.
|
NO_FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_ON
The ad rule specifies that frequency caps should be turned on, but then
none of the frequency caps have actually been set.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AdRuleFrequencyCapErrorReason |
fromValue(String v) |
String |
value() |
static AdRuleFrequencyCapErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdRuleFrequencyCapErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdRuleFrequencyCapErrorReason NO_FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_ON
public static final AdRuleFrequencyCapErrorReason FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_OFF
public static final AdRuleFrequencyCapErrorReason UNKNOWN
public static AdRuleFrequencyCapErrorReason[] values()
for (AdRuleFrequencyCapErrorReason c : AdRuleFrequencyCapErrorReason.values()) System.out.println(c);
public static AdRuleFrequencyCapErrorReason 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 AdRuleFrequencyCapErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.