Enum Class AuthenticationErrorEnum.AuthenticationError
java.lang.Object
java.lang.Enum<AuthenticationErrorEnum.AuthenticationError>
com.google.ads.googleads.v18.errors.AuthenticationErrorEnum.AuthenticationError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AuthenticationErrorEnum.AuthenticationError>,Constable
- Enclosing class:
- AuthenticationErrorEnum
public static enum AuthenticationErrorEnum.AuthenticationError
extends Enum<AuthenticationErrorEnum.AuthenticationError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible authentication errors.Protobuf enum
google.ads.googleads.v18.errors.AuthenticationErrorEnum.AuthenticationError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn account administrator changed this account's authentication settings.Authentication of the request failed.Client customer ID is not a number.No customer found for the provided customer ID.A problem occurred during Google account authentication.Google account login token in the cookie is invalid.Client's Google account is deleted.The user in the Google account login token does not match the user ID in the cookie.Login cookie is not valid.Login cookie is required for authentication.The Google account that generated the OAuth access token is not associated with a Google Ads account.OAuth token in the header has been disabled.OAuth token in the header has expired.OAuth token HTTP header is malformed.OAuth token in the header is not valid.OAuth token in the header has been revoked.The Cloud organization associated with the project is not approved for prod access.The Cloud organization associated with the project is not associated with the developer token.The Cloud organization associated with the project is not recognized.An account administrator changed this account's authentication settings.The received error code is not known in this version.Enum unspecified.User ID in the header is not a valid ID. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAn account administrator changed this account's authentication settings.static final intAuthentication of the request failed.static final intClient customer ID is not a number.static final intNo customer found for the provided customer ID.static final intA problem occurred during Google account authentication.static final intGoogle account login token in the cookie is invalid.static final intClient's Google account is deleted.static final intThe user in the Google account login token does not match the user ID in the cookie.static final intLogin cookie is not valid.static final intLogin cookie is required for authentication.static final intThe Google account that generated the OAuth access token is not associated with a Google Ads account.static final intOAuth token in the header has been disabled.static final intOAuth token in the header has expired.static final intOAuth token HTTP header is malformed.static final intOAuth token in the header is not valid.static final intOAuth token in the header has been revoked.static final intThe Cloud organization associated with the project is not approved for prod access.static final intThe Cloud organization associated with the project is not associated with the developer token.static final intThe Cloud organization associated with the project is not recognized.static final intAn account administrator changed this account's authentication settings.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intUser ID in the header is not a valid ID. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AuthenticationErrorEnum.AuthenticationError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
AUTHENTICATION_ERROR
Authentication of the request failed.
AUTHENTICATION_ERROR = 2; -
CLIENT_CUSTOMER_ID_INVALID
Client customer ID is not a number.
CLIENT_CUSTOMER_ID_INVALID = 5; -
CUSTOMER_NOT_FOUND
No customer found for the provided customer ID.
CUSTOMER_NOT_FOUND = 8; -
GOOGLE_ACCOUNT_DELETED
Client's Google account is deleted.
GOOGLE_ACCOUNT_DELETED = 9; -
GOOGLE_ACCOUNT_COOKIE_INVALID
Google account login token in the cookie is invalid.
GOOGLE_ACCOUNT_COOKIE_INVALID = 10; -
GOOGLE_ACCOUNT_AUTHENTICATION_FAILED
public static final AuthenticationErrorEnum.AuthenticationError GOOGLE_ACCOUNT_AUTHENTICATION_FAILEDA problem occurred during Google account authentication.
GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25; -
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH
public static final AuthenticationErrorEnum.AuthenticationError GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCHThe user in the Google account login token does not match the user ID in the cookie.
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 12; -
LOGIN_COOKIE_REQUIRED
Login cookie is required for authentication.
LOGIN_COOKIE_REQUIRED = 13; -
NOT_ADS_USER
The Google account that generated the OAuth access token is not associated with a Google Ads account. Create a new account, or add the Google account to an existing Google Ads account.
NOT_ADS_USER = 14; -
OAUTH_TOKEN_INVALID
OAuth token in the header is not valid.
OAUTH_TOKEN_INVALID = 15; -
OAUTH_TOKEN_EXPIRED
OAuth token in the header has expired.
OAUTH_TOKEN_EXPIRED = 16; -
OAUTH_TOKEN_DISABLED
OAuth token in the header has been disabled.
OAUTH_TOKEN_DISABLED = 17; -
OAUTH_TOKEN_REVOKED
OAuth token in the header has been revoked.
OAUTH_TOKEN_REVOKED = 18; -
OAUTH_TOKEN_HEADER_INVALID
OAuth token HTTP header is malformed.
OAUTH_TOKEN_HEADER_INVALID = 19; -
LOGIN_COOKIE_INVALID
Login cookie is not valid.
LOGIN_COOKIE_INVALID = 20; -
USER_ID_INVALID
User ID in the header is not a valid ID.
USER_ID_INVALID = 22; -
TWO_STEP_VERIFICATION_NOT_ENROLLED
An account administrator changed this account's authentication settings. To access this Google Ads account, enable 2-Step Verification in your Google account at https://www.google.com/landing/2step.
TWO_STEP_VERIFICATION_NOT_ENROLLED = 23; -
ADVANCED_PROTECTION_NOT_ENROLLED
An account administrator changed this account's authentication settings. To access this Google Ads account, enable Advanced Protection in your Google account at https://landing.google.com/advancedprotection.
ADVANCED_PROTECTION_NOT_ENROLLED = 24; -
ORGANIZATION_NOT_RECOGNIZED
The Cloud organization associated with the project is not recognized.
ORGANIZATION_NOT_RECOGNIZED = 26; -
ORGANIZATION_NOT_APPROVED
The Cloud organization associated with the project is not approved for prod access.
ORGANIZATION_NOT_APPROVED = 27; -
ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN
public static final AuthenticationErrorEnum.AuthenticationError ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKENThe Cloud organization associated with the project is not associated with the developer token.
ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN = 28; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
AUTHENTICATION_ERROR_VALUE
public static final int AUTHENTICATION_ERROR_VALUEAuthentication of the request failed.
AUTHENTICATION_ERROR = 2;- See Also:
-
CLIENT_CUSTOMER_ID_INVALID_VALUE
public static final int CLIENT_CUSTOMER_ID_INVALID_VALUEClient customer ID is not a number.
CLIENT_CUSTOMER_ID_INVALID = 5;- See Also:
-
CUSTOMER_NOT_FOUND_VALUE
public static final int CUSTOMER_NOT_FOUND_VALUENo customer found for the provided customer ID.
CUSTOMER_NOT_FOUND = 8;- See Also:
-
GOOGLE_ACCOUNT_DELETED_VALUE
public static final int GOOGLE_ACCOUNT_DELETED_VALUEClient's Google account is deleted.
GOOGLE_ACCOUNT_DELETED = 9;- See Also:
-
GOOGLE_ACCOUNT_COOKIE_INVALID_VALUE
public static final int GOOGLE_ACCOUNT_COOKIE_INVALID_VALUEGoogle account login token in the cookie is invalid.
GOOGLE_ACCOUNT_COOKIE_INVALID = 10;- See Also:
-
GOOGLE_ACCOUNT_AUTHENTICATION_FAILED_VALUE
public static final int GOOGLE_ACCOUNT_AUTHENTICATION_FAILED_VALUEA problem occurred during Google account authentication.
GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25;- See Also:
-
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH_VALUE
public static final int GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH_VALUEThe user in the Google account login token does not match the user ID in the cookie.
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 12;- See Also:
-
LOGIN_COOKIE_REQUIRED_VALUE
public static final int LOGIN_COOKIE_REQUIRED_VALUELogin cookie is required for authentication.
LOGIN_COOKIE_REQUIRED = 13;- See Also:
-
NOT_ADS_USER_VALUE
public static final int NOT_ADS_USER_VALUEThe Google account that generated the OAuth access token is not associated with a Google Ads account. Create a new account, or add the Google account to an existing Google Ads account.
NOT_ADS_USER = 14;- See Also:
-
OAUTH_TOKEN_INVALID_VALUE
public static final int OAUTH_TOKEN_INVALID_VALUEOAuth token in the header is not valid.
OAUTH_TOKEN_INVALID = 15;- See Also:
-
OAUTH_TOKEN_EXPIRED_VALUE
public static final int OAUTH_TOKEN_EXPIRED_VALUEOAuth token in the header has expired.
OAUTH_TOKEN_EXPIRED = 16;- See Also:
-
OAUTH_TOKEN_DISABLED_VALUE
public static final int OAUTH_TOKEN_DISABLED_VALUEOAuth token in the header has been disabled.
OAUTH_TOKEN_DISABLED = 17;- See Also:
-
OAUTH_TOKEN_REVOKED_VALUE
public static final int OAUTH_TOKEN_REVOKED_VALUEOAuth token in the header has been revoked.
OAUTH_TOKEN_REVOKED = 18;- See Also:
-
OAUTH_TOKEN_HEADER_INVALID_VALUE
public static final int OAUTH_TOKEN_HEADER_INVALID_VALUEOAuth token HTTP header is malformed.
OAUTH_TOKEN_HEADER_INVALID = 19;- See Also:
-
LOGIN_COOKIE_INVALID_VALUE
public static final int LOGIN_COOKIE_INVALID_VALUELogin cookie is not valid.
LOGIN_COOKIE_INVALID = 20;- See Also:
-
USER_ID_INVALID_VALUE
public static final int USER_ID_INVALID_VALUEUser ID in the header is not a valid ID.
USER_ID_INVALID = 22;- See Also:
-
TWO_STEP_VERIFICATION_NOT_ENROLLED_VALUE
public static final int TWO_STEP_VERIFICATION_NOT_ENROLLED_VALUEAn account administrator changed this account's authentication settings. To access this Google Ads account, enable 2-Step Verification in your Google account at https://www.google.com/landing/2step.
TWO_STEP_VERIFICATION_NOT_ENROLLED = 23;- See Also:
-
ADVANCED_PROTECTION_NOT_ENROLLED_VALUE
public static final int ADVANCED_PROTECTION_NOT_ENROLLED_VALUEAn account administrator changed this account's authentication settings. To access this Google Ads account, enable Advanced Protection in your Google account at https://landing.google.com/advancedprotection.
ADVANCED_PROTECTION_NOT_ENROLLED = 24;- See Also:
-
ORGANIZATION_NOT_RECOGNIZED_VALUE
public static final int ORGANIZATION_NOT_RECOGNIZED_VALUEThe Cloud organization associated with the project is not recognized.
ORGANIZATION_NOT_RECOGNIZED = 26;- See Also:
-
ORGANIZATION_NOT_APPROVED_VALUE
public static final int ORGANIZATION_NOT_APPROVED_VALUEThe Cloud organization associated with the project is not approved for prod access.
ORGANIZATION_NOT_APPROVED = 27;- See Also:
-
ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN_VALUE
public static final int ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN_VALUEThe Cloud organization associated with the project is not associated with the developer token.
ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN = 28;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AuthenticationErrorEnum.AuthenticationError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static AuthenticationErrorEnum.AuthenticationError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-