Enum ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError

    • 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 name
        java.lang.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 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 name
        java.lang.NullPointerException - if the argument is null
      • 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 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 name
        java.lang.NullPointerException - if the argument is null