Enum Class KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError
java.lang.Object
java.lang.Enum<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError>
com.google.ads.googleads.v18.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError>,Constable
- Enclosing class:
- KeywordPlanAdGroupKeywordErrorEnum
public static enum KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError
extends Enum<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible errors from applying a keyword plan ad group keyword or keyword plan campaign keyword.Protobuf enum
google.ads.googleads.v18.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA keyword or negative keyword with same text and match type already exists.A keyword or negative keyword has invalid match type.Keyword or negative keyword has invalid text.Keyword or negative keyword text has invalid characters or symbols.Keyword or negative keyword text has too many words.Keyword or negative keyword text exceeds the allowed limit.Cpc Bid set for negative keyword.New broad match modifier (BMM) KpAdGroupKeywords are not allowed.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA keyword or negative keyword with same text and match type already exists.static final intA keyword or negative keyword has invalid match type.static final intKeyword or negative keyword has invalid text.static final intKeyword or negative keyword text has invalid characters or symbols.static final intKeyword or negative keyword text has too many words.static final intKeyword or negative keyword text exceeds the allowed limit.static final intCpc Bid set for negative keyword.static final intNew broad match modifier (BMM) KpAdGroupKeywords are not allowed.static final intThe received error code is not known in this version.static final intEnum unspecified. -
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<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError>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; -
INVALID_KEYWORD_MATCH_TYPE
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError INVALID_KEYWORD_MATCH_TYPEA keyword or negative keyword has invalid match type.
INVALID_KEYWORD_MATCH_TYPE = 2; -
DUPLICATE_KEYWORD
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError DUPLICATE_KEYWORDA keyword or negative keyword with same text and match type already exists.
DUPLICATE_KEYWORD = 3; -
KEYWORD_TEXT_TOO_LONG
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError KEYWORD_TEXT_TOO_LONGKeyword or negative keyword text exceeds the allowed limit.
KEYWORD_TEXT_TOO_LONG = 4; -
KEYWORD_HAS_INVALID_CHARS
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError KEYWORD_HAS_INVALID_CHARSKeyword or negative keyword text has invalid characters or symbols.
KEYWORD_HAS_INVALID_CHARS = 5; -
KEYWORD_HAS_TOO_MANY_WORDS
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError KEYWORD_HAS_TOO_MANY_WORDSKeyword or negative keyword text has too many words.
KEYWORD_HAS_TOO_MANY_WORDS = 6; -
INVALID_KEYWORD_TEXT
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError INVALID_KEYWORD_TEXTKeyword or negative keyword has invalid text.
INVALID_KEYWORD_TEXT = 7; -
NEGATIVE_KEYWORD_HAS_CPC_BID
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError NEGATIVE_KEYWORD_HAS_CPC_BIDCpc Bid set for negative keyword.
NEGATIVE_KEYWORD_HAS_CPC_BID = 8; -
NEW_BMM_KEYWORDS_NOT_ALLOWED
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError NEW_BMM_KEYWORDS_NOT_ALLOWEDNew broad match modifier (BMM) KpAdGroupKeywords are not allowed.
NEW_BMM_KEYWORDS_NOT_ALLOWED = 9; -
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:
-
INVALID_KEYWORD_MATCH_TYPE_VALUE
public static final int INVALID_KEYWORD_MATCH_TYPE_VALUEA keyword or negative keyword has invalid match type.
INVALID_KEYWORD_MATCH_TYPE = 2;- See Also:
-
DUPLICATE_KEYWORD_VALUE
public static final int DUPLICATE_KEYWORD_VALUEA keyword or negative keyword with same text and match type already exists.
DUPLICATE_KEYWORD = 3;- See Also:
-
KEYWORD_TEXT_TOO_LONG_VALUE
public static final int KEYWORD_TEXT_TOO_LONG_VALUEKeyword or negative keyword text exceeds the allowed limit.
KEYWORD_TEXT_TOO_LONG = 4;- See Also:
-
KEYWORD_HAS_INVALID_CHARS_VALUE
public static final int KEYWORD_HAS_INVALID_CHARS_VALUEKeyword or negative keyword text has invalid characters or symbols.
KEYWORD_HAS_INVALID_CHARS = 5;- See Also:
-
KEYWORD_HAS_TOO_MANY_WORDS_VALUE
public static final int KEYWORD_HAS_TOO_MANY_WORDS_VALUEKeyword or negative keyword text has too many words.
KEYWORD_HAS_TOO_MANY_WORDS = 6;- See Also:
-
INVALID_KEYWORD_TEXT_VALUE
public static final int INVALID_KEYWORD_TEXT_VALUEKeyword or negative keyword has invalid text.
INVALID_KEYWORD_TEXT = 7;- See Also:
-
NEGATIVE_KEYWORD_HAS_CPC_BID_VALUE
public static final int NEGATIVE_KEYWORD_HAS_CPC_BID_VALUECpc Bid set for negative keyword.
NEGATIVE_KEYWORD_HAS_CPC_BID = 8;- See Also:
-
NEW_BMM_KEYWORDS_NOT_ALLOWED_VALUE
public static final int NEW_BMM_KEYWORDS_NOT_ALLOWED_VALUENew broad match modifier (BMM) KpAdGroupKeywords are not allowed.
NEW_BMM_KEYWORDS_NOT_ALLOWED = 9;- 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
public static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError valueOf(String name) 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 public static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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 nameNullPointerException- if the argument is null
-
forNumber
public static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError> 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 KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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
-