Enum 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 enum google.ads.googleads.v10.errors.AuthenticationErrorEnum.AuthenticationError
    • 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 name
        java.lang.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 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 name
        java.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.
      • 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 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 name
        java.lang.NullPointerException - if the argument is null