Enum KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError
- java.lang.Object
-
- java.lang.Enum<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError>
-
- com.google.ads.googleads.v10.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError>
- Enclosing class:
- KeywordPlanAdGroupKeywordErrorEnum
public static enum KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError extends java.lang.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 enumgoogle.ads.googleads.v10.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLICATE_KEYWORDA keyword or negative keyword with same text and match type already exists.INVALID_KEYWORD_MATCH_TYPEA keyword or negative keyword has invalid match type.INVALID_KEYWORD_TEXTKeyword or negative keyword has invalid text.KEYWORD_HAS_INVALID_CHARSKeyword or negative keyword text has invalid characters or symbols.KEYWORD_HAS_TOO_MANY_WORDSKeyword or negative keyword text has too many words.KEYWORD_TEXT_TOO_LONGKeyword or negative keyword text exceeds the allowed limit.NEGATIVE_KEYWORD_HAS_CPC_BIDCpc Bid set for negative keyword.NEW_BMM_KEYWORDS_NOT_ALLOWEDNew broad match modifier (BMM) KpAdGroupKeywords are not allowed.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intDUPLICATE_KEYWORD_VALUEA keyword or negative keyword with same text and match type already exists.static intINVALID_KEYWORD_MATCH_TYPE_VALUEA keyword or negative keyword has invalid match type.static intINVALID_KEYWORD_TEXT_VALUEKeyword or negative keyword has invalid text.static intKEYWORD_HAS_INVALID_CHARS_VALUEKeyword or negative keyword text has invalid characters or symbols.static intKEYWORD_HAS_TOO_MANY_WORDS_VALUEKeyword or negative keyword text has too many words.static intKEYWORD_TEXT_TOO_LONG_VALUEKeyword or negative keyword text exceeds the allowed limit.static intNEGATIVE_KEYWORD_HAS_CPC_BID_VALUECpc Bid set for negative keyword.static intNEW_BMM_KEYWORDS_NOT_ALLOWED_VALUENew broad match modifier (BMM) KpAdGroupKeywords are not allowed.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordErrorforNumber(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<KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError>internalGetValueMap()static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordErrorvalueOf(int value)Deprecated.static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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_TYPE
A keyword or negative keyword has invalid match type.
INVALID_KEYWORD_MATCH_TYPE = 2;
-
DUPLICATE_KEYWORD
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError DUPLICATE_KEYWORD
A 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_LONG
Keyword 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_CHARS
Keyword 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_WORDS
Keyword or negative keyword text has too many words.
KEYWORD_HAS_TOO_MANY_WORDS = 6;
-
INVALID_KEYWORD_TEXT
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError INVALID_KEYWORD_TEXT
Keyword or negative keyword has invalid text.
INVALID_KEYWORD_TEXT = 7;
-
NEGATIVE_KEYWORD_HAS_CPC_BID
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError NEGATIVE_KEYWORD_HAS_CPC_BID
Cpc 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_ALLOWED
New broad match modifier (BMM) KpAdGroupKeywords are not allowed.
NEW_BMM_KEYWORDS_NOT_ALLOWED = 9;
-
UNRECOGNIZED
public static final KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError 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
-
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 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 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 namejava.lang.NullPointerException- 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 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
-
-