Enum RecommendationErrorEnum.RecommendationError
- java.lang.Object
-
- java.lang.Enum<RecommendationErrorEnum.RecommendationError>
-
- com.google.ads.googleads.v13.errors.RecommendationErrorEnum.RecommendationError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<RecommendationErrorEnum.RecommendationError>
- Enclosing class:
- RecommendationErrorEnum
public static enum RecommendationErrorEnum.RecommendationError extends java.lang.Enum<RecommendationErrorEnum.RecommendationError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible errors from applying a recommendation.
Protobuf enumgoogle.ads.googleads.v13.errors.RecommendationErrorEnum.RecommendationError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADGROUP_KEYWORD_LIMIT
The number of keywords in ad group have reached the maximum allowed.BUDGET_AMOUNT_TOO_LARGE
The specified budget amount is too large.BUDGET_AMOUNT_TOO_SMALL
The specified budget amount is too low for example, lower than minimum currency unit or lower than ad group minimum cost-per-click.DIFFERENT_TYPES_NOT_SUPPORTED
Operations with multiple recommendation types are not supported when partial failure mode is not enabled.DUPLICATE_RESOURCE_NAME
Request contains multiple operations with the same resource_name.INVALID_APPLY_REQUEST
The recommendation apply request was malformed and invalid.INVALID_BID_AMOUNT
The specified bid amount is not valid, for example, too many fractional digits, or negative amount.INVALID_BUDGET_AMOUNT
The specified budget amount is not a valid amount, for example, not a multiple of minimum currency unit.NO_OPERATIONS
There are no operations in the request.POLICY_ERROR
The specified keyword or ad violates ad policy.RECOMMENDATION_ALREADY_APPLIED
The recommendation requested to apply has already been applied.RECOMMENDATION_ALREADY_DISMISSED
The recommendation requested to dismiss has already been dismissed.RECOMMENDATION_INVALIDATED
The recommendation requested to apply has been invalidated.RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED
The type of recommendation requested to apply is not supported.TOO_MANY_OPERATIONS
The number of operations in a single request exceeds the maximum allowed.UNKNOWN
The received error code is not known in this version.UNRECOGNIZED
UNSPECIFIED
Enum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static int
ADGROUP_KEYWORD_LIMIT_VALUE
The number of keywords in ad group have reached the maximum allowed.static int
BUDGET_AMOUNT_TOO_LARGE_VALUE
The specified budget amount is too large.static int
BUDGET_AMOUNT_TOO_SMALL_VALUE
The specified budget amount is too low for example, lower than minimum currency unit or lower than ad group minimum cost-per-click.static int
DIFFERENT_TYPES_NOT_SUPPORTED_VALUE
Operations with multiple recommendation types are not supported when partial failure mode is not enabled.static int
DUPLICATE_RESOURCE_NAME_VALUE
Request contains multiple operations with the same resource_name.static int
INVALID_APPLY_REQUEST_VALUE
The recommendation apply request was malformed and invalid.static int
INVALID_BID_AMOUNT_VALUE
The specified bid amount is not valid, for example, too many fractional digits, or negative amount.static int
INVALID_BUDGET_AMOUNT_VALUE
The specified budget amount is not a valid amount, for example, not a multiple of minimum currency unit.static int
NO_OPERATIONS_VALUE
There are no operations in the request.static int
POLICY_ERROR_VALUE
The specified keyword or ad violates ad policy.static int
RECOMMENDATION_ALREADY_APPLIED_VALUE
The recommendation requested to apply has already been applied.static int
RECOMMENDATION_ALREADY_DISMISSED_VALUE
The recommendation requested to dismiss has already been dismissed.static int
RECOMMENDATION_INVALIDATED_VALUE
The recommendation requested to apply has been invalidated.static int
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED_VALUE
The type of recommendation requested to apply is not supported.static int
TOO_MANY_OPERATIONS_VALUE
The number of operations in a single request exceeds the maximum allowed.static int
UNKNOWN_VALUE
The received error code is not known in this version.static int
UNSPECIFIED_VALUE
Enum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RecommendationErrorEnum.RecommendationError
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<RecommendationErrorEnum.RecommendationError>
internalGetValueMap()
static RecommendationErrorEnum.RecommendationError
valueOf(int value)
Deprecated.static RecommendationErrorEnum.RecommendationError
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static RecommendationErrorEnum.RecommendationError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RecommendationErrorEnum.RecommendationError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final RecommendationErrorEnum.RecommendationError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final RecommendationErrorEnum.RecommendationError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
BUDGET_AMOUNT_TOO_SMALL
public static final RecommendationErrorEnum.RecommendationError BUDGET_AMOUNT_TOO_SMALL
The specified budget amount is too low for example, lower than minimum currency unit or lower than ad group minimum cost-per-click.
BUDGET_AMOUNT_TOO_SMALL = 2;
-
BUDGET_AMOUNT_TOO_LARGE
public static final RecommendationErrorEnum.RecommendationError BUDGET_AMOUNT_TOO_LARGE
The specified budget amount is too large.
BUDGET_AMOUNT_TOO_LARGE = 3;
-
INVALID_BUDGET_AMOUNT
public static final RecommendationErrorEnum.RecommendationError INVALID_BUDGET_AMOUNT
The specified budget amount is not a valid amount, for example, not a multiple of minimum currency unit.
INVALID_BUDGET_AMOUNT = 4;
-
POLICY_ERROR
public static final RecommendationErrorEnum.RecommendationError POLICY_ERROR
The specified keyword or ad violates ad policy.
POLICY_ERROR = 5;
-
INVALID_BID_AMOUNT
public static final RecommendationErrorEnum.RecommendationError INVALID_BID_AMOUNT
The specified bid amount is not valid, for example, too many fractional digits, or negative amount.
INVALID_BID_AMOUNT = 6;
-
ADGROUP_KEYWORD_LIMIT
public static final RecommendationErrorEnum.RecommendationError ADGROUP_KEYWORD_LIMIT
The number of keywords in ad group have reached the maximum allowed.
ADGROUP_KEYWORD_LIMIT = 7;
-
RECOMMENDATION_ALREADY_APPLIED
public static final RecommendationErrorEnum.RecommendationError RECOMMENDATION_ALREADY_APPLIED
The recommendation requested to apply has already been applied.
RECOMMENDATION_ALREADY_APPLIED = 8;
-
RECOMMENDATION_INVALIDATED
public static final RecommendationErrorEnum.RecommendationError RECOMMENDATION_INVALIDATED
The recommendation requested to apply has been invalidated.
RECOMMENDATION_INVALIDATED = 9;
-
TOO_MANY_OPERATIONS
public static final RecommendationErrorEnum.RecommendationError TOO_MANY_OPERATIONS
The number of operations in a single request exceeds the maximum allowed.
TOO_MANY_OPERATIONS = 10;
-
NO_OPERATIONS
public static final RecommendationErrorEnum.RecommendationError NO_OPERATIONS
There are no operations in the request.
NO_OPERATIONS = 11;
-
DIFFERENT_TYPES_NOT_SUPPORTED
public static final RecommendationErrorEnum.RecommendationError DIFFERENT_TYPES_NOT_SUPPORTED
Operations with multiple recommendation types are not supported when partial failure mode is not enabled.
DIFFERENT_TYPES_NOT_SUPPORTED = 12;
-
DUPLICATE_RESOURCE_NAME
public static final RecommendationErrorEnum.RecommendationError DUPLICATE_RESOURCE_NAME
Request contains multiple operations with the same resource_name.
DUPLICATE_RESOURCE_NAME = 13;
-
RECOMMENDATION_ALREADY_DISMISSED
public static final RecommendationErrorEnum.RecommendationError RECOMMENDATION_ALREADY_DISMISSED
The recommendation requested to dismiss has already been dismissed.
RECOMMENDATION_ALREADY_DISMISSED = 14;
-
INVALID_APPLY_REQUEST
public static final RecommendationErrorEnum.RecommendationError INVALID_APPLY_REQUEST
The recommendation apply request was malformed and invalid.
INVALID_APPLY_REQUEST = 15;
-
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED
public static final RecommendationErrorEnum.RecommendationError RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED
The type of recommendation requested to apply is not supported.
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17;
-
UNRECOGNIZED
public static final RecommendationErrorEnum.RecommendationError 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
-
BUDGET_AMOUNT_TOO_SMALL_VALUE
public static final int BUDGET_AMOUNT_TOO_SMALL_VALUE
The specified budget amount is too low for example, lower than minimum currency unit or lower than ad group minimum cost-per-click.
BUDGET_AMOUNT_TOO_SMALL = 2;
- See Also:
- Constant Field Values
-
BUDGET_AMOUNT_TOO_LARGE_VALUE
public static final int BUDGET_AMOUNT_TOO_LARGE_VALUE
The specified budget amount is too large.
BUDGET_AMOUNT_TOO_LARGE = 3;
- See Also:
- Constant Field Values
-
INVALID_BUDGET_AMOUNT_VALUE
public static final int INVALID_BUDGET_AMOUNT_VALUE
The specified budget amount is not a valid amount, for example, not a multiple of minimum currency unit.
INVALID_BUDGET_AMOUNT = 4;
- See Also:
- Constant Field Values
-
POLICY_ERROR_VALUE
public static final int POLICY_ERROR_VALUE
The specified keyword or ad violates ad policy.
POLICY_ERROR = 5;
- See Also:
- Constant Field Values
-
INVALID_BID_AMOUNT_VALUE
public static final int INVALID_BID_AMOUNT_VALUE
The specified bid amount is not valid, for example, too many fractional digits, or negative amount.
INVALID_BID_AMOUNT = 6;
- See Also:
- Constant Field Values
-
ADGROUP_KEYWORD_LIMIT_VALUE
public static final int ADGROUP_KEYWORD_LIMIT_VALUE
The number of keywords in ad group have reached the maximum allowed.
ADGROUP_KEYWORD_LIMIT = 7;
- See Also:
- Constant Field Values
-
RECOMMENDATION_ALREADY_APPLIED_VALUE
public static final int RECOMMENDATION_ALREADY_APPLIED_VALUE
The recommendation requested to apply has already been applied.
RECOMMENDATION_ALREADY_APPLIED = 8;
- See Also:
- Constant Field Values
-
RECOMMENDATION_INVALIDATED_VALUE
public static final int RECOMMENDATION_INVALIDATED_VALUE
The recommendation requested to apply has been invalidated.
RECOMMENDATION_INVALIDATED = 9;
- See Also:
- Constant Field Values
-
TOO_MANY_OPERATIONS_VALUE
public static final int TOO_MANY_OPERATIONS_VALUE
The number of operations in a single request exceeds the maximum allowed.
TOO_MANY_OPERATIONS = 10;
- See Also:
- Constant Field Values
-
NO_OPERATIONS_VALUE
public static final int NO_OPERATIONS_VALUE
There are no operations in the request.
NO_OPERATIONS = 11;
- See Also:
- Constant Field Values
-
DIFFERENT_TYPES_NOT_SUPPORTED_VALUE
public static final int DIFFERENT_TYPES_NOT_SUPPORTED_VALUE
Operations with multiple recommendation types are not supported when partial failure mode is not enabled.
DIFFERENT_TYPES_NOT_SUPPORTED = 12;
- See Also:
- Constant Field Values
-
DUPLICATE_RESOURCE_NAME_VALUE
public static final int DUPLICATE_RESOURCE_NAME_VALUE
Request contains multiple operations with the same resource_name.
DUPLICATE_RESOURCE_NAME = 13;
- See Also:
- Constant Field Values
-
RECOMMENDATION_ALREADY_DISMISSED_VALUE
public static final int RECOMMENDATION_ALREADY_DISMISSED_VALUE
The recommendation requested to dismiss has already been dismissed.
RECOMMENDATION_ALREADY_DISMISSED = 14;
- See Also:
- Constant Field Values
-
INVALID_APPLY_REQUEST_VALUE
public static final int INVALID_APPLY_REQUEST_VALUE
The recommendation apply request was malformed and invalid.
INVALID_APPLY_REQUEST = 15;
- See Also:
- Constant Field Values
-
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED_VALUE
public static final int RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED_VALUE
The type of recommendation requested to apply is not supported.
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RecommendationErrorEnum.RecommendationError[] 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 (RecommendationErrorEnum.RecommendationError c : RecommendationErrorEnum.RecommendationError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecommendationErrorEnum.RecommendationError 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static RecommendationErrorEnum.RecommendationError 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 RecommendationErrorEnum.RecommendationError 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<RecommendationErrorEnum.RecommendationError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static RecommendationErrorEnum.RecommendationError 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
-
-