public enum AdSenseAccountErrorReason extends Enum<AdSenseAccountErrorReason>
Java class for AdSenseAccountError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdSenseAccountError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ASSOCIATE_ACCOUNT_API_ERROR"/>
<enumeration value="GET_AD_SLOT_API_ERROR"/>
<enumeration value="GET_CHANNEL_API_ERROR"/>
<enumeration value="GET_BULK_ACCOUNT_STATUSES_API_ERROR"/>
<enumeration value="RESEND_VERIFICATION_EMAIL_ERROR"/>
<enumeration value="UNEXPECTED_API_RESPONSE_ERROR"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ASSOCIATE_ACCOUNT_API_ERROR
An error occured while trying to associate an AdSense account with DFP.
|
GET_AD_SLOT_API_ERROR
An error occured while trying to get an associated web property's ad slots.
|
GET_BULK_ACCOUNT_STATUSES_API_ERROR
An error occured while trying to retrieve account statues from AdSense API.
|
GET_CHANNEL_API_ERROR
An error occurred while trying to get an associated web property's ad channels.
|
RESEND_VERIFICATION_EMAIL_ERROR
An error occured while trying to resend the account association verification email.
|
UNEXPECTED_API_RESPONSE_ERROR
An error occured while trying to retrieve a response from the AdSense API.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static AdSenseAccountErrorReason |
fromValue(String v) |
String |
value() |
static AdSenseAccountErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdSenseAccountErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdSenseAccountErrorReason ASSOCIATE_ACCOUNT_API_ERROR
public static final AdSenseAccountErrorReason GET_AD_SLOT_API_ERROR
public static final AdSenseAccountErrorReason GET_CHANNEL_API_ERROR
public static final AdSenseAccountErrorReason GET_BULK_ACCOUNT_STATUSES_API_ERROR
public static final AdSenseAccountErrorReason RESEND_VERIFICATION_EMAIL_ERROR
public static final AdSenseAccountErrorReason UNEXPECTED_API_RESPONSE_ERROR
public static final AdSenseAccountErrorReason UNKNOWN
public static AdSenseAccountErrorReason[] values()
for (AdSenseAccountErrorReason c : AdSenseAccountErrorReason.values()) System.out.println(c);
public static AdSenseAccountErrorReason 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 AdSenseAccountErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.