Enum Class KeywordPlanErrorEnum.KeywordPlanError
java.lang.Object
java.lang.Enum<KeywordPlanErrorEnum.KeywordPlanError>
com.google.ads.googleads.v18.errors.KeywordPlanErrorEnum.KeywordPlanError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<KeywordPlanErrorEnum.KeywordPlanError>,Constable
- Enclosing class:
- KeywordPlanErrorEnum
public static enum KeywordPlanErrorEnum.KeywordPlanError
extends Enum<KeywordPlanErrorEnum.KeywordPlanError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible errors from applying a keyword plan.Protobuf enum
google.ads.googleads.v18.errors.KeywordPlanErrorEnum.KeywordPlanError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe plan's bid multiplier value is outside the valid range.The plan's bid value is too high.The plan's bid value is too low.The plan's cpc bid is not a multiple of the minimum billable unit.The plan's daily budget value is too low.The plan's daily budget is not a multiple of the minimum billable unit.The plan's forecast_period has invalid forecast date range.The plan's name is invalid.The input has an invalid value.The plan has no keyword.The plan is not enabled and API cannot provide mutation, forecast or stats.The requested plan cannot be found for providing forecast or stats.The plan is missing a cpc bid.The plan is missing required forecast_period field.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe plan's bid multiplier value is outside the valid range.static final intThe plan's bid value is too high.static final intThe plan's bid value is too low.static final intThe plan's cpc bid is not a multiple of the minimum billable unit.static final intThe plan's daily budget value is too low.static final intThe plan's daily budget is not a multiple of the minimum billable unit.static final intThe plan's forecast_period has invalid forecast date range.static final intThe plan's name is invalid.static final intThe input has an invalid value.static final intThe plan has no keyword.static final intThe plan is not enabled and API cannot provide mutation, forecast or stats.static final intThe requested plan cannot be found for providing forecast or stats.static final intThe plan is missing a cpc bid.static final intThe plan is missing required forecast_period field.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<KeywordPlanErrorEnum.KeywordPlanError>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; -
BID_MULTIPLIER_OUT_OF_RANGE
The plan's bid multiplier value is outside the valid range.
BID_MULTIPLIER_OUT_OF_RANGE = 2; -
BID_TOO_HIGH
The plan's bid value is too high.
BID_TOO_HIGH = 3; -
BID_TOO_LOW
The plan's bid value is too low.
BID_TOO_LOW = 4; -
BID_TOO_MANY_FRACTIONAL_DIGITS
The plan's cpc bid is not a multiple of the minimum billable unit.
BID_TOO_MANY_FRACTIONAL_DIGITS = 5; -
DAILY_BUDGET_TOO_LOW
The plan's daily budget value is too low.
DAILY_BUDGET_TOO_LOW = 6; -
DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS
The plan's daily budget is not a multiple of the minimum billable unit.
DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7; -
INVALID_VALUE
The input has an invalid value.
INVALID_VALUE = 8; -
KEYWORD_PLAN_HAS_NO_KEYWORDS
The plan has no keyword.
KEYWORD_PLAN_HAS_NO_KEYWORDS = 9; -
KEYWORD_PLAN_NOT_ENABLED
The plan is not enabled and API cannot provide mutation, forecast or stats.
KEYWORD_PLAN_NOT_ENABLED = 10; -
KEYWORD_PLAN_NOT_FOUND
The requested plan cannot be found for providing forecast or stats.
KEYWORD_PLAN_NOT_FOUND = 11; -
MISSING_BID
The plan is missing a cpc bid.
MISSING_BID = 13; -
MISSING_FORECAST_PERIOD
The plan is missing required forecast_period field.
MISSING_FORECAST_PERIOD = 14; -
INVALID_FORECAST_DATE_RANGE
The plan's forecast_period has invalid forecast date range.
INVALID_FORECAST_DATE_RANGE = 15; -
INVALID_NAME
The plan's name is invalid.
INVALID_NAME = 16; -
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:
-
BID_MULTIPLIER_OUT_OF_RANGE_VALUE
public static final int BID_MULTIPLIER_OUT_OF_RANGE_VALUEThe plan's bid multiplier value is outside the valid range.
BID_MULTIPLIER_OUT_OF_RANGE = 2;- See Also:
-
BID_TOO_HIGH_VALUE
public static final int BID_TOO_HIGH_VALUEThe plan's bid value is too high.
BID_TOO_HIGH = 3;- See Also:
-
BID_TOO_LOW_VALUE
public static final int BID_TOO_LOW_VALUEThe plan's bid value is too low.
BID_TOO_LOW = 4;- See Also:
-
BID_TOO_MANY_FRACTIONAL_DIGITS_VALUE
public static final int BID_TOO_MANY_FRACTIONAL_DIGITS_VALUEThe plan's cpc bid is not a multiple of the minimum billable unit.
BID_TOO_MANY_FRACTIONAL_DIGITS = 5;- See Also:
-
DAILY_BUDGET_TOO_LOW_VALUE
public static final int DAILY_BUDGET_TOO_LOW_VALUEThe plan's daily budget value is too low.
DAILY_BUDGET_TOO_LOW = 6;- See Also:
-
DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS_VALUE
public static final int DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS_VALUEThe plan's daily budget is not a multiple of the minimum billable unit.
DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7;- See Also:
-
INVALID_VALUE_VALUE
public static final int INVALID_VALUE_VALUEThe input has an invalid value.
INVALID_VALUE = 8;- See Also:
-
KEYWORD_PLAN_HAS_NO_KEYWORDS_VALUE
public static final int KEYWORD_PLAN_HAS_NO_KEYWORDS_VALUEThe plan has no keyword.
KEYWORD_PLAN_HAS_NO_KEYWORDS = 9;- See Also:
-
KEYWORD_PLAN_NOT_ENABLED_VALUE
public static final int KEYWORD_PLAN_NOT_ENABLED_VALUEThe plan is not enabled and API cannot provide mutation, forecast or stats.
KEYWORD_PLAN_NOT_ENABLED = 10;- See Also:
-
KEYWORD_PLAN_NOT_FOUND_VALUE
public static final int KEYWORD_PLAN_NOT_FOUND_VALUEThe requested plan cannot be found for providing forecast or stats.
KEYWORD_PLAN_NOT_FOUND = 11;- See Also:
-
MISSING_BID_VALUE
public static final int MISSING_BID_VALUEThe plan is missing a cpc bid.
MISSING_BID = 13;- See Also:
-
MISSING_FORECAST_PERIOD_VALUE
public static final int MISSING_FORECAST_PERIOD_VALUEThe plan is missing required forecast_period field.
MISSING_FORECAST_PERIOD = 14;- See Also:
-
INVALID_FORECAST_DATE_RANGE_VALUE
public static final int INVALID_FORECAST_DATE_RANGE_VALUEThe plan's forecast_period has invalid forecast date range.
INVALID_FORECAST_DATE_RANGE = 15;- See Also:
-
INVALID_NAME_VALUE
public static final int INVALID_NAME_VALUEThe plan's name is invalid.
INVALID_NAME = 16;- 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 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.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
- 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<KeywordPlanErrorEnum.KeywordPlanError> 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 KeywordPlanErrorEnum.KeywordPlanError 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
-