Google Ads API giving ACCOUNT_LIMIT error

65 views
Skip to first unread message

pratik patel

unread,
Aug 5, 2021, 1:47:35 PM8/5/21
to AdWords API and Google Ads API Forum
Hello,

We getting ACCOUNT_LIMIT error when we try to assign assets to adgroup as image extension

Method Name: /google.ads.googleads.v8.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings
Headers: {
    "x-goog-api-client": "gl-php\/7.4.6 gapic\/ gax\/1.7.1 grpc\/1.36.0",
    "x-goog-request-params": "customer_id=89XXXXXXXX",
    "developer-token": "REDACTED",
    "login-customer-id": "35XXXXXXXX"
}
Request:
{"customerId":"89XXXXXXXX","operations":[{"create":{"extensionType":"IMAGE","adGroup":"customers\/898178XXXX\/adGroups\/57951369359","extensionFeedItems":["customers\/89XXXXXXX\/extensionFeedItems\/188848367113"]}}]}

Response
-------
Headers: {
    "request-id": "asXrJBpJ0uDkIuzCD5iYtA",
    "date": "Tue, 20 Jul 2021 07:23:07 GMT",
    "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\""
}

Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: {"errors":[{"errorCode":{"resourceCountLimitExceededError":"ACCOUNT_LIMIT"},"message":"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.","trigger":{"stringValue":""},"location":{"fieldPathElements":[{"fieldName":"operations","index":0}]},"details":{"resourceCountDetails":{"limit":250000,"limitType":"UNKNOWN","existingCount":250002}}}],"requestId":"asXrJBpJ0uDkIuzCD5iYtA"}  


Regards,
Pratik Patel

Google Ads API Forum Advisor

unread,
Aug 6, 2021, 3:44:41 PM8/6/21
to anay....@gmail.com, adwor...@googlegroups.com
Hi Pratik,

Thank you for reaching out to us. Looking over the error code that you have sent us, I can see that you have exceeded the limit for the account for that request. If you look in it you will see that it says the limit is 250000, and that yours was over it at 250002. You can also check here which talks about the very specific error that you got.

Regards,

Google Logo
William Pescherine
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Lkt5e:ref

pratik patel

unread,
Aug 17, 2021, 5:01:05 AM8/17/21
to AdWords API and Google Ads API Forum
Yes,

But many extensions remove from the account and after that also it's saying the same kind of error.

So, when we remove the existing extension that will reduce that count?

If not reduce count then how do we remove and add a new extension?

Regards,
Pratik Patel

Google Ads API Forum Advisor

unread,
Aug 17, 2021, 5:37:32 AM8/17/21
to anay....@gmail.com, adwor...@googlegroups.com
Hi Pratik,

Thank you for the reply. I work with William and let me provide support to your concern.

For this part of your concern, you may check on your end if the number of active extensions reached the 250,000 limit.

"But many extensions remove from the account and after that also it's saying the same kind of error."

Moving forward to your questions below, removed extensions will indeed not be included in the count. Then, to remove extensions on the API perspective, you may refer to this document to know how.

"So, when we remove the existing extension that will reduce that count?
If not reduce count then how do we remove and add a new extension?
"

Let me know if you have further questions.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Lkt5e:ref
Reply all
Reply to author
Forward
0 new messages