public enum AdCampaignAdSubProductTypeErrorReason extends Enum<AdCampaignAdSubProductTypeErrorReason>
Java class for AdCampaignAdSubProductTypeError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdCampaignAdSubProductTypeError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_AD_SUB_PRODUCT_TYPE"/>
<enumeration value="CANNOT_CHANGE_AD_SUB_PRODUCT_TYPE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_CHANGE_AD_SUB_PRODUCT_TYPE
Cannot change creative AdSubProduct type since it is not AD_VARIATIONS.
|
INVALID_AD_SUB_PRODUCT_TYPE
AdSubProductType is not allowed to be set to given value.
|
UNKNOWN
An unexpected or unknown error occurred.
|
| Modifier and Type | Method and Description |
|---|---|
static AdCampaignAdSubProductTypeErrorReason |
fromValue(String v) |
String |
value() |
static AdCampaignAdSubProductTypeErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdCampaignAdSubProductTypeErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdCampaignAdSubProductTypeErrorReason INVALID_AD_SUB_PRODUCT_TYPE
public static final AdCampaignAdSubProductTypeErrorReason CANNOT_CHANGE_AD_SUB_PRODUCT_TYPE
public static final AdCampaignAdSubProductTypeErrorReason UNKNOWN
public static AdCampaignAdSubProductTypeErrorReason[] values()
for (AdCampaignAdSubProductTypeErrorReason c : AdCampaignAdSubProductTypeErrorReason.values()) System.out.println(c);
public static AdCampaignAdSubProductTypeErrorReason 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 AdCampaignAdSubProductTypeErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.