Not understanding why I am hitting RESOURCE_EXHAUSTED

434 views
Skip to first unread message

Dennis Cassøe

unread,
Oct 25, 2021, 7:21:04 AM10/25/21
to AdWords API and Google Ads API Forum
Hi

Hopefully someone can help me here. Why am I hitting the resource exhausted limit.

Under API & Services it says I have made a total of 280 requests in the last 24 hours, but I am getting this reply back from the API.

{{ "errors": [ { "errorCode": { "quotaError": "RESOURCE_EXHAUSTED" }, "message": "Too many requests. Retry in 34069 seconds.", "details": { "quotaErrorDetails": { "rateScope": "DEVELOPER", "rateName": "Number of operations for basic access", "retryDelay": "34069s" } } } ], "requestId": "XLg0jS4z6P1ODLX0-P0VuQ" }}

What is going on?

Thanks

Oleg Disrupt

unread,
Oct 25, 2021, 8:01:36 AM10/25/21
to AdWords API and Google Ads API Forum
I saw the same issues several time but I fixed that.
can i see your snippet code?
Thanks

Dennis Cassøe

unread,
Oct 25, 2021, 8:16:48 AM10/25/21
to AdWords API and Google Ads API Forum
It was just a very classic mutateadgroups operations, the started it, but now I see it everywhere, so I must have been locked down for some reason

Google Ads API Forum Advisor

unread,
Oct 26, 2021, 1:14:59 AM10/26/21
to den...@wakeupdata.com, adwor...@googlegroups.com
Hi everyone,

Thank you Oleg for extending your help.

@Dennis, the possible causes of the RESOURCE_EXHAUSTED are discussed in this guide.

Based on the other information from your partial error logs "rateScope": "DEVELOPER", "rateName": "Number of operations for basic access", it appears to indicate that you have reached the number of operations allowed for a basic access developer token.

That being said, could you confirm if you have indeed performed more than 15,000 API operations already, within a single day? To resolve this, and if you will be required this much operations within a single day, then we recommend that you upgrade to standard access instead.

However, if in the event you did not perform the 15,000 operations, and have hit this limit suddenly, you may then provide our team with the complete request and response logs, with the request-id, so our team can investigate further. 

When sharing logs or code with sensitive information, we recommend that you send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2QEvMY:ref

Dennis Cassøe

unread,
Oct 26, 2021, 1:19:24 AM10/26/21
to AdWords API and Google Ads API Forum
Hi Peter

Thank you for your reply.

So if I make 30 api calls with 500 operations each within 24 hours, I will have exhausted my limit. 

In developer mode I was easily able to do 40k operations within 500 api calls, which is why I was shocked to see, I couldn't do the same in basic.

I need to make up towards 400 api  calls with 500 operations in each pr day, around 200000 operations in total. So I need to update to standard?

Best regards,
Dennis

Google Ads API Forum Advisor

unread,
Oct 26, 2021, 9:26:22 AM10/26/21
to den...@wakeupdata.com, adwor...@googlegroups.com
Hi Dennis,

I work with Peter and will assist you. It appears that you would need to upgrade. Here's the form to apply.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


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