Enum AuthenticationErrorEnum.AuthenticationError
- java.lang.Object
-
- java.lang.Enum<AuthenticationErrorEnum.AuthenticationError>
-
- com.google.ads.googleads.v10.errors.AuthenticationErrorEnum.AuthenticationError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AuthenticationErrorEnum.AuthenticationError>
- Enclosing class:
- AuthenticationErrorEnum
public static enum AuthenticationErrorEnum.AuthenticationError extends java.lang.Enum<AuthenticationErrorEnum.AuthenticationError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible authentication errors.
Protobuf enumgoogle.ads.googleads.v10.errors.AuthenticationErrorEnum.AuthenticationError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVANCED_PROTECTION_NOT_ENROLLEDAn account administrator changed this account's authentication settings.AUTHENTICATION_ERRORAuthentication of the request failed.CLIENT_CUSTOMER_ID_INVALIDClient Customer ID is not a number.CUSTOMER_NOT_FOUNDNo customer found for the provided customer ID.GOOGLE_ACCOUNT_AUTHENTICATION_FAILEDA problem occurred during Google account authentication.GOOGLE_ACCOUNT_COOKIE_INVALIDGoogle account login token in the cookie is invalid.GOOGLE_ACCOUNT_DELETEDClient's Google Account is deleted.GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCHThe user in the Google account login token does not match the user ID in the cookie.LOGIN_COOKIE_INVALIDLogin cookie is not valid.LOGIN_COOKIE_REQUIREDLogin cookie is required for authentication.NOT_ADS_USERUser in the cookie is not a valid Ads user.OAUTH_TOKEN_DISABLEDOauth token in the header has been disabled.OAUTH_TOKEN_EXPIREDOauth token in the header has expired.OAUTH_TOKEN_HEADER_INVALIDOauth token HTTP header is malformed.OAUTH_TOKEN_INVALIDOauth token in the header is not valid.OAUTH_TOKEN_REVOKEDOauth token in the header has been revoked.TWO_STEP_VERIFICATION_NOT_ENROLLEDAn account administrator changed this account's authentication settings.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.USER_ID_INVALIDUser Id in the header is not a valid id.
-
Field Summary
Fields Modifier and Type Field Description static intADVANCED_PROTECTION_NOT_ENROLLED_VALUEAn account administrator changed this account's authentication settings.static intAUTHENTICATION_ERROR_VALUEAuthentication of the request failed.static intCLIENT_CUSTOMER_ID_INVALID_VALUEClient Customer ID is not a number.static intCUSTOMER_NOT_FOUND_VALUENo customer found for the provided customer ID.static intGOOGLE_ACCOUNT_AUTHENTICATION_FAILED_VALUEA problem occurred during Google account authentication.static intGOOGLE_ACCOUNT_COOKIE_INVALID_VALUEGoogle account login token in the cookie is invalid.static intGOOGLE_ACCOUNT_DELETED_VALUEClient's Google Account is deleted.static intGOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH_VALUEThe user in the Google account login token does not match the user ID in the cookie.static intLOGIN_COOKIE_INVALID_VALUELogin cookie is not valid.static intLOGIN_COOKIE_REQUIRED_VALUELogin cookie is required for authentication.static intNOT_ADS_USER_VALUEUser in the cookie is not a valid Ads user.static intOAUTH_TOKEN_DISABLED_VALUEOauth token in the header has been disabled.static intOAUTH_TOKEN_EXPIRED_VALUEOauth token in the header has expired.static intOAUTH_TOKEN_HEADER_INVALID_VALUEOauth token HTTP header is malformed.static intOAUTH_TOKEN_INVALID_VALUEOauth token in the header is not valid.static intOAUTH_TOKEN_REVOKED_VALUEOauth token in the header has been revoked.static intTWO_STEP_VERIFICATION_NOT_ENROLLED_VALUEAn account administrator changed this account's authentication settings.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUSER_ID_INVALID_VALUEUser Id in the header is not a valid id.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AuthenticationErrorEnum.AuthenticationErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AuthenticationErrorEnum.AuthenticationError>internalGetValueMap()static AuthenticationErrorEnum.AuthenticationErrorvalueOf(int value)Deprecated.static AuthenticationErrorEnum.AuthenticationErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AuthenticationErrorEnum.AuthenticationErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuthenticationErrorEnum.AuthenticationError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AuthenticationErrorEnum.AuthenticationError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AuthenticationErrorEnum.AuthenticationError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
AUTHENTICATION_ERROR
public static final AuthenticationErrorEnum.AuthenticationError AUTHENTICATION_ERROR
Authentication of the request failed.
AUTHENTICATION_ERROR = 2;
-
CLIENT_CUSTOMER_ID_INVALID
public static final AuthenticationErrorEnum.AuthenticationError CLIENT_CUSTOMER_ID_INVALID
Client Customer ID is not a number.
CLIENT_CUSTOMER_ID_INVALID = 5;
-
CUSTOMER_NOT_FOUND
public static final AuthenticationErrorEnum.AuthenticationError CUSTOMER_NOT_FOUND
No customer found for the provided customer ID.
CUSTOMER_NOT_FOUND = 8;
-
GOOGLE_ACCOUNT_DELETED
public static final AuthenticationErrorEnum.AuthenticationError GOOGLE_ACCOUNT_DELETED
Client's Google Account is deleted.
GOOGLE_ACCOUNT_DELETED = 9;
-
GOOGLE_ACCOUNT_COOKIE_INVALID
public static final AuthenticationErrorEnum.AuthenticationError 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_FAILED
A 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_MISMATCH
The 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
public static final AuthenticationErrorEnum.AuthenticationError LOGIN_COOKIE_REQUIRED
Login cookie is required for authentication.
LOGIN_COOKIE_REQUIRED = 13;
-
NOT_ADS_USER
public static final AuthenticationErrorEnum.AuthenticationError NOT_ADS_USER
User in the cookie is not a valid Ads user.
NOT_ADS_USER = 14;
-
OAUTH_TOKEN_INVALID
public static final AuthenticationErrorEnum.AuthenticationError OAUTH_TOKEN_INVALID
Oauth token in the header is not valid.
OAUTH_TOKEN_INVALID = 15;
-
OAUTH_TOKEN_EXPIRED
public static final AuthenticationErrorEnum.AuthenticationError OAUTH_TOKEN_EXPIRED
Oauth token in the header has expired.
OAUTH_TOKEN_EXPIRED = 16;
-
OAUTH_TOKEN_DISABLED
public static final AuthenticationErrorEnum.AuthenticationError OAUTH_TOKEN_DISABLED
Oauth token in the header has been disabled.
OAUTH_TOKEN_DISABLED = 17;
-
OAUTH_TOKEN_REVOKED
public static final AuthenticationErrorEnum.AuthenticationError OAUTH_TOKEN_REVOKED
Oauth token in the header has been revoked.
OAUTH_TOKEN_REVOKED = 18;
-
OAUTH_TOKEN_HEADER_INVALID
public static final AuthenticationErrorEnum.AuthenticationError OAUTH_TOKEN_HEADER_INVALID
Oauth token HTTP header is malformed.
OAUTH_TOKEN_HEADER_INVALID = 19;
-
LOGIN_COOKIE_INVALID
public static final AuthenticationErrorEnum.AuthenticationError LOGIN_COOKIE_INVALID
Login cookie is not valid.
LOGIN_COOKIE_INVALID = 20;
-
USER_ID_INVALID
public static final AuthenticationErrorEnum.AuthenticationError USER_ID_INVALID
User Id in the header is not a valid id.
USER_ID_INVALID = 22;
-
TWO_STEP_VERIFICATION_NOT_ENROLLED
public static final AuthenticationErrorEnum.AuthenticationError 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
public static final AuthenticationErrorEnum.AuthenticationError 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;
-
UNRECOGNIZED
public static final AuthenticationErrorEnum.AuthenticationError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
AUTHENTICATION_ERROR_VALUE
public static final int AUTHENTICATION_ERROR_VALUE
Authentication of the request failed.
AUTHENTICATION_ERROR = 2;- See Also:
- Constant Field Values
-
CLIENT_CUSTOMER_ID_INVALID_VALUE
public static final int CLIENT_CUSTOMER_ID_INVALID_VALUE
Client Customer ID is not a number.
CLIENT_CUSTOMER_ID_INVALID = 5;- See Also:
- Constant Field Values
-
CUSTOMER_NOT_FOUND_VALUE
public static final int CUSTOMER_NOT_FOUND_VALUE
No customer found for the provided customer ID.
CUSTOMER_NOT_FOUND = 8;- See Also:
- Constant Field Values
-
GOOGLE_ACCOUNT_DELETED_VALUE
public static final int GOOGLE_ACCOUNT_DELETED_VALUE
Client's Google Account is deleted.
GOOGLE_ACCOUNT_DELETED = 9;- See Also:
- Constant Field Values
-
GOOGLE_ACCOUNT_COOKIE_INVALID_VALUE
public static final int GOOGLE_ACCOUNT_COOKIE_INVALID_VALUE
Google account login token in the cookie is invalid.
GOOGLE_ACCOUNT_COOKIE_INVALID = 10;- See Also:
- Constant Field Values
-
GOOGLE_ACCOUNT_AUTHENTICATION_FAILED_VALUE
public static final int GOOGLE_ACCOUNT_AUTHENTICATION_FAILED_VALUE
A problem occurred during Google account authentication.
GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25;- See Also:
- Constant Field Values
-
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH_VALUE
public static final int GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH_VALUE
The 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:
- Constant Field Values
-
LOGIN_COOKIE_REQUIRED_VALUE
public static final int LOGIN_COOKIE_REQUIRED_VALUE
Login cookie is required for authentication.
LOGIN_COOKIE_REQUIRED = 13;- See Also:
- Constant Field Values
-
NOT_ADS_USER_VALUE
public static final int NOT_ADS_USER_VALUE
User in the cookie is not a valid Ads user.
NOT_ADS_USER = 14;- See Also:
- Constant Field Values
-
OAUTH_TOKEN_INVALID_VALUE
public static final int OAUTH_TOKEN_INVALID_VALUE
Oauth token in the header is not valid.
OAUTH_TOKEN_INVALID = 15;- See Also:
- Constant Field Values
-
OAUTH_TOKEN_EXPIRED_VALUE
public static final int OAUTH_TOKEN_EXPIRED_VALUE
Oauth token in the header has expired.
OAUTH_TOKEN_EXPIRED = 16;- See Also:
- Constant Field Values
-
OAUTH_TOKEN_DISABLED_VALUE
public static final int OAUTH_TOKEN_DISABLED_VALUE
Oauth token in the header has been disabled.
OAUTH_TOKEN_DISABLED = 17;- See Also:
- Constant Field Values
-
OAUTH_TOKEN_REVOKED_VALUE
public static final int OAUTH_TOKEN_REVOKED_VALUE
Oauth token in the header has been revoked.
OAUTH_TOKEN_REVOKED = 18;- See Also:
- Constant Field Values
-
OAUTH_TOKEN_HEADER_INVALID_VALUE
public static final int OAUTH_TOKEN_HEADER_INVALID_VALUE
Oauth token HTTP header is malformed.
OAUTH_TOKEN_HEADER_INVALID = 19;- See Also:
- Constant Field Values
-
LOGIN_COOKIE_INVALID_VALUE
public static final int LOGIN_COOKIE_INVALID_VALUE
Login cookie is not valid.
LOGIN_COOKIE_INVALID = 20;- See Also:
- Constant Field Values
-
USER_ID_INVALID_VALUE
public static final int USER_ID_INVALID_VALUE
User Id in the header is not a valid id.
USER_ID_INVALID = 22;- See Also:
- Constant Field Values
-
TWO_STEP_VERIFICATION_NOT_ENROLLED_VALUE
public static final int TWO_STEP_VERIFICATION_NOT_ENROLLED_VALUE
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;- See Also:
- Constant Field Values
-
ADVANCED_PROTECTION_NOT_ENROLLED_VALUE
public static final int ADVANCED_PROTECTION_NOT_ENROLLED_VALUE
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;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AuthenticationErrorEnum.AuthenticationError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthenticationErrorEnum.AuthenticationError c : AuthenticationErrorEnum.AuthenticationError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationErrorEnum.AuthenticationError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static AuthenticationErrorEnum.AuthenticationError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static AuthenticationErrorEnum.AuthenticationError forNumber(int value)
- 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-