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
  • Enum Constant Details

  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The 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_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:
    • 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:
    • 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:
    • POLICY_ERROR_VALUE

      public static final int POLICY_ERROR_VALUE
       The specified keyword or ad violates ad policy.
       
      POLICY_ERROR = 5;
      See Also:
    • 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:
    • 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:
    • 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:
    • RECOMMENDATION_INVALIDATED_VALUE

      public static final int RECOMMENDATION_INVALIDATED_VALUE
       The recommendation requested to apply has been invalidated.
       
      RECOMMENDATION_INVALIDATED = 9;
      See Also:
    • 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:
    • NO_OPERATIONS_VALUE

      public static final int NO_OPERATIONS_VALUE
       There are no operations in the request.
       
      NO_OPERATIONS = 11;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • INVALID_MULTIPLIER_VALUE

      public static final int INVALID_MULTIPLIER_VALUE
       The 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_VALUE
       The 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_VALUE
       The 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_VALUE
       One 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static RecommendationErrorEnum.RecommendationError 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 name
      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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null