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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that this request would exceed the number of allowed resources for the Google Ads account.Indicates that this request would exceed the number of allowed resources in an ad group ad.Indicates that this request would exceed the number of allowed resources in an ad group criterion.Indicates that this request would exceed the number of allowed resources in an ad group.Indicates that this request would exceed the number of allowed resources in a Campaign.Exceeds a limit related to a matching function.This request would exceed a limit on the number of allowed resources.The response for this request would exceed the maximum number of rows that can be returned.Indicates that this request would exceed the number of allowed resources in this shared set.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that this request would exceed the number of allowed resources for the Google Ads account.static final intIndicates that this request would exceed the number of allowed resources in an ad group ad.static final intIndicates that this request would exceed the number of allowed resources in an ad group criterion.static final intIndicates that this request would exceed the number of allowed resources in an ad group.static final intIndicates that this request would exceed the number of allowed resources in a Campaign.static final intExceeds a limit related to a matching function.static final intThis request would exceed a limit on the number of allowed resources.static final intThe response for this request would exceed the maximum number of rows that can be returned.static final intIndicates that this request would exceed the number of allowed resources in this shared set.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<ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError>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; -
ACCOUNT_LIMIT
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError ACCOUNT_LIMITIndicates 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_LIMITIndicates 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_LIMITIndicates 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_LIMITIndicates 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_LIMITIndicates 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_LIMITIndicates 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_LIMITExceeds a limit related to a matching function.
MATCHING_FUNCTION_LIMIT = 8; -
RESPONSE_ROW_LIMIT_EXCEEDED
public static final ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError RESPONSE_ROW_LIMIT_EXCEEDEDThe 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_LIMITThis 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 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:
-
ACCOUNT_LIMIT_VALUE
public static final int ACCOUNT_LIMIT_VALUEIndicates 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_VALUEIndicates 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_VALUEIndicates 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_VALUEIndicates 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_VALUEIndicates 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_VALUEIndicates 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_VALUEExceeds 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_VALUEThe 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_VALUEThis 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
public static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError valueOf(String name) 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 public static ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError 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 nameNullPointerException- 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 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
-