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
  • Enum Constant Details

  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • AUTHENTICATION_ERROR_VALUE

      public static final int AUTHENTICATION_ERROR_VALUE
       Authentication of the request failed.
       
      AUTHENTICATION_ERROR = 2;
      See Also:
    • 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:
    • 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:
    • GOOGLE_ACCOUNT_DELETED_VALUE

      public static final int GOOGLE_ACCOUNT_DELETED_VALUE
       Client's Google account is deleted.
       
      GOOGLE_ACCOUNT_DELETED = 9;
      See Also:
    • 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:
    • 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:
    • NOT_ADS_USER_VALUE

      public static final int NOT_ADS_USER_VALUE
       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;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • ORGANIZATION_NOT_RECOGNIZED_VALUE

      public static final int ORGANIZATION_NOT_RECOGNIZED_VALUE
       The 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_VALUE
       The 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_VALUE
       The 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static AuthenticationErrorEnum.AuthenticationError valueOf(int value)
      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 name
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null