RESOURCE_EXHAUSTED error

66 views
Skip to first unread message

Banu Chandar

unread,
May 9, 2022, 4:02:48 PM5/9/22
to Google Ads API and AdWords API Forum
Hi all,
I try to migrate to Google Ads API from Google AdWords API (I use googleads/google-ads-php library) and I encountered with an

Google\ApiCore\ApiException: { "message": "Resource has been exhausted (e.g. check quota).", "code": 8, "status": "RESOURCE_EXHAUSTED", "details"

Thanks in advance

Google Ads API Forum Advisor

unread,
May 10, 2022, 11:05:26 AM5/10/22
to ba...@bwcubesmart.com, adwor...@googlegroups.com
Hi Banu,

Thank you for reaching out.

Kindly note that the RESOURCE_EXHAUSTED error generally occurs when you are sending too many requests in a short period of time. The server throws this error once it detects that your request has exceeded the system frequency limit. I would recommend setting up short delays between requests or combine more operations in fewer requests. Please refer to the Best practices guide to optimize the efficiency and performance.Could you please provide the complete request and response logs, with the request-id, generated for the RESOURCE_EXHAUSTED error in order to check further. You can enable logging, which you may do so by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. Please reply via privately author option.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


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