Enum KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError

    • 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
      • INVALID_KEYWORD_MATCH_TYPE_VALUE

        public static final int INVALID_KEYWORD_MATCH_TYPE_VALUE
         A keyword or negative keyword has invalid match type.
         
        INVALID_KEYWORD_MATCH_TYPE = 2;
        See Also:
        Constant Field Values
      • DUPLICATE_KEYWORD_VALUE

        public static final int DUPLICATE_KEYWORD_VALUE
         A keyword or negative keyword with same text and match type already
         exists.
         
        DUPLICATE_KEYWORD = 3;
        See Also:
        Constant Field Values
      • KEYWORD_TEXT_TOO_LONG_VALUE

        public static final int KEYWORD_TEXT_TOO_LONG_VALUE
         Keyword or negative keyword text exceeds the allowed limit.
         
        KEYWORD_TEXT_TOO_LONG = 4;
        See Also:
        Constant Field Values
      • KEYWORD_HAS_INVALID_CHARS_VALUE

        public static final int KEYWORD_HAS_INVALID_CHARS_VALUE
         Keyword or negative keyword text has invalid characters or symbols.
         
        KEYWORD_HAS_INVALID_CHARS = 5;
        See Also:
        Constant Field Values
      • KEYWORD_HAS_TOO_MANY_WORDS_VALUE

        public static final int KEYWORD_HAS_TOO_MANY_WORDS_VALUE
         Keyword or negative keyword text has too many words.
         
        KEYWORD_HAS_TOO_MANY_WORDS = 6;
        See Also:
        Constant Field Values
      • INVALID_KEYWORD_TEXT_VALUE

        public static final int INVALID_KEYWORD_TEXT_VALUE
         Keyword or negative keyword has invalid text.
         
        INVALID_KEYWORD_TEXT = 7;
        See Also:
        Constant Field Values
      • NEGATIVE_KEYWORD_HAS_CPC_BID_VALUE

        public static final int NEGATIVE_KEYWORD_HAS_CPC_BID_VALUE
         Cpc Bid set for negative keyword.
         
        NEGATIVE_KEYWORD_HAS_CPC_BID = 8;
        See Also:
        Constant Field Values
      • NEW_BMM_KEYWORDS_NOT_ALLOWED_VALUE

        public static final int NEW_BMM_KEYWORDS_NOT_ALLOWED_VALUE
         New broad match modifier (BMM) KpAdGroupKeywords are not allowed.
         
        NEW_BMM_KEYWORDS_NOT_ALLOWED = 9;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError[] 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 (KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError c : KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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 KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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
      • 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 KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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