Enum ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError
- java.lang.Object
-
- java.lang.Enum<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError>
-
- com.google.ads.googleads.v10.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError>
- Enclosing class:
- ResourceCountLimitExceededErrorEnum
public static enum ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError extends java.lang.Enum<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible resource count limit exceeded errors.
Protobuf enumgoogle.ads.googleads.v10.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_LIMITIndicates that this request would exceed the number of allowed resources for the Google Ads account.AD_GROUP_AD_LIMITIndicates that this request would exceed the number of allowed resources in an ad group ad.AD_GROUP_CRITERION_LIMITIndicates that this request would exceed the number of allowed resources in an ad group criterion.ADGROUP_LIMITIndicates that this request would exceed the number of allowed resources in an ad group.CAMPAIGN_LIMITIndicates that this request would exceed the number of allowed resources in a Campaign.MATCHING_FUNCTION_LIMITExceeds a limit related to a matching function.RESOURCE_LIMITThis request would exceed a limit on the number of allowed resources.RESPONSE_ROW_LIMIT_EXCEEDEDThe response for this request would exceed the maximum number of rows that can be returned.SHARED_SET_LIMITIndicates that this request would exceed the number of allowed resources in this shared set.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intACCOUNT_LIMIT_VALUEIndicates that this request would exceed the number of allowed resources for the Google Ads account.static intAD_GROUP_AD_LIMIT_VALUEIndicates that this request would exceed the number of allowed resources in an ad group ad.static intAD_GROUP_CRITERION_LIMIT_VALUEIndicates that this request would exceed the number of allowed resources in an ad group criterion.static intADGROUP_LIMIT_VALUEIndicates that this request would exceed the number of allowed resources in an ad group.static intCAMPAIGN_LIMIT_VALUEIndicates that this request would exceed the number of allowed resources in a Campaign.static intMATCHING_FUNCTION_LIMIT_VALUEExceeds a limit related to a matching function.static intRESOURCE_LIMIT_VALUEThis request would exceed a limit on the number of allowed resources.static intRESPONSE_ROW_LIMIT_EXCEEDED_VALUEThe response for this request would exceed the maximum number of rows that can be returned.static intSHARED_SET_LIMIT_VALUEIndicates that this request would exceed the number of allowed resources in this shared set.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError>internalGetValueMap()static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorvalueOf(int value)Deprecated.static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
ACCOUNT_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError ACCOUNT_LIMIT
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;
-
CAMPAIGN_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError CAMPAIGN_LIMIT
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;
-
ADGROUP_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError ADGROUP_LIMIT
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;
-
AD_GROUP_AD_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError AD_GROUP_AD_LIMIT
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;
-
AD_GROUP_CRITERION_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError AD_GROUP_CRITERION_LIMIT
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;
-
SHARED_SET_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError SHARED_SET_LIMIT
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;
-
MATCHING_FUNCTION_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError MATCHING_FUNCTION_LIMIT
Exceeds a limit related to a matching function.
MATCHING_FUNCTION_LIMIT = 8;
-
RESPONSE_ROW_LIMIT_EXCEEDED
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError RESPONSE_ROW_LIMIT_EXCEEDED
The response for this request would exceed the maximum number of rows that can be returned.
RESPONSE_ROW_LIMIT_EXCEEDED = 9;
-
RESOURCE_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError RESOURCE_LIMIT
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;
-
UNRECOGNIZED
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError 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
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError[] 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 (ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError c : ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError 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 ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError 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<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError> 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 ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError 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
-
-