Enum Class ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError

java.lang.Object
java.lang.Enum<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError>
com.google.ads.googleads.v18.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError>, Constable
Enclosing class:
ResourceCountLimitExceededErrorEnum

public static enum ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError extends Enum<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible resource count limit exceeded errors.
 
Protobuf enum google.ads.googleads.v18.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError
  • 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:
    • ACCOUNT_LIMIT_VALUE

      public static final int ACCOUNT_LIMIT_VALUE
       Indicates that this request would exceed the number of allowed resources
       for the Google Ads account. The exact resource type and limit being
       checked can be inferred from accountLimitType.
       
      ACCOUNT_LIMIT = 2;
      See Also:
    • CAMPAIGN_LIMIT_VALUE

      public static final int CAMPAIGN_LIMIT_VALUE
       Indicates that this request would exceed the number of allowed resources
       in a Campaign. The exact resource type and limit being checked can be
       inferred from accountLimitType, and the numeric id of the
       Campaign involved is given by enclosingId.
       
      CAMPAIGN_LIMIT = 3;
      See Also:
    • ADGROUP_LIMIT_VALUE

      public static final int ADGROUP_LIMIT_VALUE
       Indicates that this request would exceed the number of allowed resources
       in an ad group. The exact resource type and limit being checked can be
       inferred from accountLimitType, and the numeric id of the
       ad group involved is given by enclosingId.
       
      ADGROUP_LIMIT = 4;
      See Also:
    • AD_GROUP_AD_LIMIT_VALUE

      public static final int AD_GROUP_AD_LIMIT_VALUE
       Indicates that this request would exceed the number of allowed resources
       in an ad group ad. The exact resource type and limit being checked can
       be inferred from accountLimitType, and the enclosingId
       contains the ad group id followed by the ad id, separated by a single
       comma (,).
       
      AD_GROUP_AD_LIMIT = 5;
      See Also:
    • AD_GROUP_CRITERION_LIMIT_VALUE

      public static final int AD_GROUP_CRITERION_LIMIT_VALUE
       Indicates that this request would exceed the number of allowed resources
       in an ad group criterion. The exact resource type and limit being checked
       can be inferred from accountLimitType, and the
       enclosingId contains the ad group id followed by the
       criterion id, separated by a single comma (,).
       
      AD_GROUP_CRITERION_LIMIT = 6;
      See Also:
    • SHARED_SET_LIMIT_VALUE

      public static final int SHARED_SET_LIMIT_VALUE
       Indicates that this request would exceed the number of allowed resources
       in this shared set. The exact resource type and limit being checked can
       be inferred from accountLimitType, and the numeric id of the
       shared set involved is given by enclosingId.
       
      SHARED_SET_LIMIT = 7;
      See Also:
    • MATCHING_FUNCTION_LIMIT_VALUE

      public static final int MATCHING_FUNCTION_LIMIT_VALUE
       Exceeds a limit related to a matching function.
       
      MATCHING_FUNCTION_LIMIT = 8;
      See Also:
    • RESPONSE_ROW_LIMIT_EXCEEDED_VALUE

      public static final int RESPONSE_ROW_LIMIT_EXCEEDED_VALUE
       The response for this request would exceed the maximum number of rows
       that can be returned.
       
      RESPONSE_ROW_LIMIT_EXCEEDED = 9;
      See Also:
    • RESOURCE_LIMIT_VALUE

      public static final int RESOURCE_LIMIT_VALUE
       This request would exceed a limit on the number of allowed resources.
       The details of which type of limit was exceeded will eventually be
       returned in ErrorDetails.
       
      RESOURCE_LIMIT = 10;
      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.
      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

      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<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError> 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 ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError 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