This page lists various limits in the Google Ads API along with the corresponding error
that is thrown when the limit is exceeded.

See [About your Google Ads account limits](https://support.google.com/google-ads/answer/6372658) for product limits such as the
maximum number of campaigns per account.

> [!NOTE]
> **Note:** UTF-8 encoding is used when calculating byte limits for string values. Starting June 1, 2026, granular reporting segmentation (daily, hourly, and weekly) is limited to a 37-month lookback window; querying granular date segments older than 37 months returns [`DateRangeError.REQUESTED_DATE_GRANULARITY_NOT_SUPPORTED`](https://developers.google.com/google-ads/api/reference/rpc/v26/DateRangeErrorEnum.DateRangeError#requested_date_granularity_not_supported) (starting in `v24`).

## <var translate="no">Account</var>

**Maximum number of Google Ads accounts in a manager account hierarchy** Value **Varies** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ManagerLinkErrorEnum.ManagerLinkError#too_many_accounts` Prevention See [About maximum account limits for manager accounts](https://support.google.com/google-ads/answer/7526520) for more details. **Maximum number of test accounts in a manager account hierarchy** Value **50** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ManagerLinkErrorEnum.ManagerLinkError#too_many_accounts` Prevention -- **Maximum number of manager accounts a Google Ads account can be managed by** Value **5** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ManagerLinkErrorEnum.ManagerLinkError#too_many_managers` Prevention See [About manager linking errors](https://support.google.com/google-ads/answer/9626114) for more details. **Maximum number of levels in a hierarchy, from top-level manager account to bottom-most Google Ads account** Value **6** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ManagerLinkErrorEnum.ManagerLinkError#max_depth_exceeded` Prevention See [About manager linking errors](https://support.google.com/google-ads/answer/9626114) for more details. **Maximum number of pending manager account invitations in the same hierarchy** Value **20** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ManagerLinkErrorEnum.ManagerLinkError#too_many_invites` Prevention See [About manager linking errors](https://support.google.com/google-ads/answer/9626114) for more details. **Name length** Value **255 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/StringLengthErrorEnum.StringLengthError#too_long` Prevention --

## <var translate="no">Ads</var>

**Responsive search ad headline length** Value **30 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/AdErrorEnum.AdError#line_too_wide` Prevention See [About responsive search ads](https://support.google.com/google-ads/answer/7684791) for more details. **Responsive search ad description length** Value **90 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/AdErrorEnum.AdError#line_too_wide` Prevention See above. **Path1 or path2 length** Value **15 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/AdErrorEnum.AdError#line_too_wide` Prevention See above. **Final URL length** Value **2,084 bytes** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/StringLengthErrorEnum.StringLengthError#too_long` Prevention A protocol prefix (such as "https://") is required for final URLs and is counted against this limit.

## <var translate="no">Ad group</var>

**Name length** Value **256 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/AdGroupErrorEnum.AdGroupError#invalid_adgroup_name` Prevention --

## <var translate="no">Campaign budget</var>

**Maximum number of shared budgets in an account** Value **11,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#account_limit` Prevention The budgets limit is 1,000 more than the number of campaigns limit to allow for some room in reassigning budgets if needed. There is no restriction on the number of campaigns that can share a budget. **Maximum number of unshared budgets in an account** Value **20,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#account_limit` Prevention These are budgets that are associated with a specific campaign, and cannot be shared between campaigns.

## <var translate="no">Campaign</var>

**Maximum number of bidding strategies attached to ad groups per campaign** Value **1,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#campaign_limit` Prevention -- **Name length** Value **256 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/StringLengthErrorEnum.StringLengthError#too_long` Prevention --

## <var translate="no">Conversion upload</var>

**Maximum number of offline click conversions that can be uploaded per API call** Value **2,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ConversionUploadErrorEnum.ConversionUploadError#too_many_conversions_in_request` Prevention For performance reasons, we limit the number of conversions that can be uploaded per API request to 2,000.

## <var translate="no">Criterion</var>

**Keyword length** Value **80 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/CriterionErrorEnum.CriterionError#keyword_text_too_long` Prevention -- **Placement URL length** Value **250 characters** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/CriterionErrorEnum.CriterionError#placement_url_is_too_long` Prevention Protocol prefixes (such as "http://") are stripped from placement URLs and are not counted towards this limit. **Final URL length** Value **2,047 bytes** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/StringLengthErrorEnum.StringLengthError#too_long` Prevention The protocol prefix (such as "http://") is counted towards this limit. **Proximity radius** Value **800 km / 500 mi** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/CriterionErrorEnum.CriterionError#invalid_proximity_radius` Prevention -- **Maximum number of Shopping ad groups in a single request that modifies the structure of the ProductPartition tree** Value **2** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/AdGroupCriterionErrorEnum.AdGroupCriterionError#operations_for_too_many_shopping_adgroups` Prevention This limit does not apply to operations on ProductPartition criteria changes that do not modify the structure of the tree. For example, a request that only modifies the bids of existing partitions can contain operations for more than two Shopping ad groups. If you want to modify the structure of the ProductPartition tree for more than two Shopping ad groups, consider using batch jobs, where this restriction does not apply. **Excluded IP blocks per campaign** Value **500** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#campaign_limit` Prevention --

## <var translate="no">Label</var>

**Maximum number of labels that can be applied to accounts by a manager account** Value **200** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#account_limit` Prevention -- **Maximum number of accounts a label can be applied to** Value **1,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#account_limit` Prevention -- **Maximum number of labels that can be applied to entities (campaigns, ad groups, etc.) per account** Value **100,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError` Prevention Labels for all entity types count towards the same limit. **Maximum number of labels that can be applied to a single entity (campaign, ad group, etc.)** Value **50** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError` Prevention --

## <var translate="no">Listing groups</var>

**Maximum number of listing groups per ad group** Value **20,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#resource_limit` Prevention --

## <var translate="no">Payments account</var>

**Maximum number of billing setups that can be linked to a payments account** Value **75,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/BillingSetupErrorEnum.BillingSetupError#payments_account_ineligible` Prevention --

## <var translate="no">Performance Max</var>

**Maximum number of Performance Max campaigns in an account** Value **100** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#account_limit` Prevention See [maximum account limits](https://support.google.com/google-ads/answer/10724817#zippy=%2Cfor-advertisers-with-online-sales-goals-using-a-merchant-center-feed) for more details. Contact your Google business development representative for a possibly higher limit. **Maximum number of asset groups in a campaign** Value **100** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#resource_limit` Prevention -- **Maximum number of listing group filters in an asset group** Value **1,000** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError#resource_limit` Prevention -- **Maximum number of listing group filter subdivisions in a campaign** Value **7** Error `https://developers.google.com/google-ads/api/reference/rpc/v26/AssetGroupListingGroupFilterErrorEnum.AssetGroupListingGroupFilterError#tree_too_deep` Prevention --

There are rare cases where you may receive an `INTERNAL_ERROR` even though you
have not exceeded any of the preceding limits. This occurs when the internal
resources are marshaled and there is a fan-out of dependencies that exceeds
internal limits. Try reducing the size or complexity of the query. You may need
to execute more than one query to obtain your required result.