Enum Class RecommendationErrorEnum.RecommendationError
java.lang.Object
java.lang.Enum<RecommendationErrorEnum.RecommendationError>
com.google.ads.googleads.v17.errors.RecommendationErrorEnum.RecommendationError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RecommendationErrorEnum.RecommendationError>,Constable
- Enclosing class:
- RecommendationErrorEnum
public static enum RecommendationErrorEnum.RecommendationError
extends Enum<RecommendationErrorEnum.RecommendationError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible errors from applying a recommendation.Protobuf enum
google.ads.googleads.v17.errors.RecommendationErrorEnum.RecommendationError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of keywords in ad group have reached the maximum allowed.The passed in advertising_channel_type is not supported.The specified budget amount is too large.The specified budget amount is too low for example, lower than minimum currency unit or lower than ad group minimum cost-per-click.Operations with multiple recommendation types are not supported when partial failure mode is not enabled.Request contains multiple operations with the same resource_name.The recommendation apply request was malformed and invalid.The specified bid amount is not valid, for example, too many fractional digits, or negative amount.The specified budget amount is not a valid amount, for example, not a multiple of minimum currency unit.The target multiplier specified is invalid.There are no operations in the request.The specified keyword or ad violates ad policy.The recommendation requested to apply has already been applied.The recommendation requested to dismiss has already been dismissed.The recommendation requested to apply has been invalidated.The type of recommendation requested to apply is not supported.The passed in recommendation_type is not supported.One or more recommendation_types need to be passed into the generate recommendations request.The number of operations in a single request exceeds the maximum allowed.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe number of keywords in ad group have reached the maximum allowed.static final intThe passed in advertising_channel_type is not supported.static final intThe specified budget amount is too large.static final intThe specified budget amount is too low for example, lower than minimum currency unit or lower than ad group minimum cost-per-click.static final intOperations with multiple recommendation types are not supported when partial failure mode is not enabled.static final intRequest contains multiple operations with the same resource_name.static final intThe recommendation apply request was malformed and invalid.static final intThe specified bid amount is not valid, for example, too many fractional digits, or negative amount.static final intThe specified budget amount is not a valid amount, for example, not a multiple of minimum currency unit.static final intThe target multiplier specified is invalid.static final intThere are no operations in the request.static final intThe specified keyword or ad violates ad policy.static final intThe recommendation requested to apply has already been applied.static final intThe recommendation requested to dismiss has already been dismissed.static final intThe recommendation requested to apply has been invalidated.static final intThe type of recommendation requested to apply is not supported.static final intThe passed in recommendation_type is not supported.static final intOne or more recommendation_types need to be passed into the generate recommendations request.static final intThe number of operations in a single request exceeds the maximum 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<RecommendationErrorEnum.RecommendationError>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; -
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
The specified budget amount is too large.
BUDGET_AMOUNT_TOO_LARGE = 3; -
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
The specified keyword or ad violates ad policy.
POLICY_ERROR = 5; -
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
The number of keywords in ad group have reached the maximum allowed.
ADGROUP_KEYWORD_LIMIT = 7; -
RECOMMENDATION_ALREADY_APPLIED
The recommendation requested to apply has already been applied.
RECOMMENDATION_ALREADY_APPLIED = 8; -
RECOMMENDATION_INVALIDATED
The recommendation requested to apply has been invalidated.
RECOMMENDATION_INVALIDATED = 9; -
TOO_MANY_OPERATIONS
The number of operations in a single request exceeds the maximum allowed.
TOO_MANY_OPERATIONS = 10; -
NO_OPERATIONS
There are no operations in the request.
NO_OPERATIONS = 11; -
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
Request contains multiple operations with the same resource_name.
DUPLICATE_RESOURCE_NAME = 13; -
RECOMMENDATION_ALREADY_DISMISSED
The recommendation requested to dismiss has already been dismissed.
RECOMMENDATION_ALREADY_DISMISSED = 14; -
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_SUPPORTEDThe type of recommendation requested to apply is not supported.
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17; -
INVALID_MULTIPLIER
The target multiplier specified is invalid.
INVALID_MULTIPLIER = 18; -
ADVERTISING_CHANNEL_TYPE_GENERATE_NOT_SUPPORTED
public static final RecommendationErrorEnum.RecommendationError ADVERTISING_CHANNEL_TYPE_GENERATE_NOT_SUPPORTEDThe passed in advertising_channel_type is not supported.
ADVERTISING_CHANNEL_TYPE_GENERATE_NOT_SUPPORTED = 19; -
RECOMMENDATION_TYPE_GENERATE_NOT_SUPPORTED
public static final RecommendationErrorEnum.RecommendationError RECOMMENDATION_TYPE_GENERATE_NOT_SUPPORTEDThe passed in recommendation_type is not supported.
RECOMMENDATION_TYPE_GENERATE_NOT_SUPPORTED = 20; -
RECOMMENDATION_TYPES_CANNOT_BE_EMPTY
public static final RecommendationErrorEnum.RecommendationError RECOMMENDATION_TYPES_CANNOT_BE_EMPTYOne or more recommendation_types need to be passed into the generate recommendations request.
RECOMMENDATION_TYPES_CANNOT_BE_EMPTY = 21; -
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:
-
BUDGET_AMOUNT_TOO_SMALL_VALUE
public static final int BUDGET_AMOUNT_TOO_SMALL_VALUEThe 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:
-
BUDGET_AMOUNT_TOO_LARGE_VALUE
public static final int BUDGET_AMOUNT_TOO_LARGE_VALUEThe specified budget amount is too large.
BUDGET_AMOUNT_TOO_LARGE = 3;- See Also:
-
INVALID_BUDGET_AMOUNT_VALUE
public static final int INVALID_BUDGET_AMOUNT_VALUEThe specified budget amount is not a valid amount, for example, not a multiple of minimum currency unit.
INVALID_BUDGET_AMOUNT = 4;- See Also:
-
POLICY_ERROR_VALUE
public static final int POLICY_ERROR_VALUEThe specified keyword or ad violates ad policy.
POLICY_ERROR = 5;- See Also:
-
INVALID_BID_AMOUNT_VALUE
public static final int INVALID_BID_AMOUNT_VALUEThe specified bid amount is not valid, for example, too many fractional digits, or negative amount.
INVALID_BID_AMOUNT = 6;- See Also:
-
ADGROUP_KEYWORD_LIMIT_VALUE
public static final int ADGROUP_KEYWORD_LIMIT_VALUEThe number of keywords in ad group have reached the maximum allowed.
ADGROUP_KEYWORD_LIMIT = 7;- See Also:
-
RECOMMENDATION_ALREADY_APPLIED_VALUE
public static final int RECOMMENDATION_ALREADY_APPLIED_VALUEThe recommendation requested to apply has already been applied.
RECOMMENDATION_ALREADY_APPLIED = 8;- See Also:
-
RECOMMENDATION_INVALIDATED_VALUE
public static final int RECOMMENDATION_INVALIDATED_VALUEThe recommendation requested to apply has been invalidated.
RECOMMENDATION_INVALIDATED = 9;- See Also:
-
TOO_MANY_OPERATIONS_VALUE
public static final int TOO_MANY_OPERATIONS_VALUEThe number of operations in a single request exceeds the maximum allowed.
TOO_MANY_OPERATIONS = 10;- See Also:
-
NO_OPERATIONS_VALUE
public static final int NO_OPERATIONS_VALUEThere are no operations in the request.
NO_OPERATIONS = 11;- See Also:
-
DIFFERENT_TYPES_NOT_SUPPORTED_VALUE
public static final int DIFFERENT_TYPES_NOT_SUPPORTED_VALUEOperations with multiple recommendation types are not supported when partial failure mode is not enabled.
DIFFERENT_TYPES_NOT_SUPPORTED = 12;- See Also:
-
DUPLICATE_RESOURCE_NAME_VALUE
public static final int DUPLICATE_RESOURCE_NAME_VALUERequest contains multiple operations with the same resource_name.
DUPLICATE_RESOURCE_NAME = 13;- See Also:
-
RECOMMENDATION_ALREADY_DISMISSED_VALUE
public static final int RECOMMENDATION_ALREADY_DISMISSED_VALUEThe recommendation requested to dismiss has already been dismissed.
RECOMMENDATION_ALREADY_DISMISSED = 14;- See Also:
-
INVALID_APPLY_REQUEST_VALUE
public static final int INVALID_APPLY_REQUEST_VALUEThe recommendation apply request was malformed and invalid.
INVALID_APPLY_REQUEST = 15;- See Also:
-
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED_VALUE
public static final int RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED_VALUEThe type of recommendation requested to apply is not supported.
RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17;- See Also:
-
INVALID_MULTIPLIER_VALUE
public static final int INVALID_MULTIPLIER_VALUEThe target multiplier specified is invalid.
INVALID_MULTIPLIER = 18;- See Also:
-
ADVERTISING_CHANNEL_TYPE_GENERATE_NOT_SUPPORTED_VALUE
public static final int ADVERTISING_CHANNEL_TYPE_GENERATE_NOT_SUPPORTED_VALUEThe passed in advertising_channel_type is not supported.
ADVERTISING_CHANNEL_TYPE_GENERATE_NOT_SUPPORTED = 19;- See Also:
-
RECOMMENDATION_TYPE_GENERATE_NOT_SUPPORTED_VALUE
public static final int RECOMMENDATION_TYPE_GENERATE_NOT_SUPPORTED_VALUEThe passed in recommendation_type is not supported.
RECOMMENDATION_TYPE_GENERATE_NOT_SUPPORTED = 20;- See Also:
-
RECOMMENDATION_TYPES_CANNOT_BE_EMPTY_VALUE
public static final int RECOMMENDATION_TYPES_CANNOT_BE_EMPTY_VALUEOne or more recommendation_types need to be passed into the generate recommendations request.
RECOMMENDATION_TYPES_CANNOT_BE_EMPTY = 21;- 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<RecommendationErrorEnum.RecommendationError> 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 RecommendationErrorEnum.RecommendationError 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
-