Resource Exhausted, Too Many Requests from api_core and not googleads package

590 views
Skip to first unread message

Hugo Bauer

unread,
Mar 15, 2022, 10:25:07 AM3/15/22
to Google Ads API and AdWords API Forum
Hi,

I have a problem/question with the Google Ads Python client, which returns a google.api_core.exceptions.ResourceExhausted exception when I request KeywordPlanIdeaService too often. I understand why the exception is thrown, but is it normal for the api_core to return it?
Based on the documentation, the exception is catched with the GoogleAds client exception : google.ads.googleads.errors.GoogleAdsException.
Moreover, the error with the delay is strangely encoded, impossible for me to retrieve the waiting time except with a parser, which is not ideal. A solution for this?

Regards,
Hugo

Hugo Bauer

unread,
Mar 15, 2022, 10:29:08 AM3/15/22
to Google Ads API and AdWords API Forum
A screenshot of the exception if needed.
Capture d’écran 2022-03-15 à 15.28.23.png

Google Ads API Forum Advisor

unread,
Mar 15, 2022, 9:05:41 PM3/15/22
to hu...@octopulse.io, adwor...@googlegroups.com

Hello Hugo,

Thank you for reaching out to us.

The RESOURCE_EXHAUSTED error is encountered if you've reached the limits mentioned on this guide. Please note that daily API usage limits are based on the number of API operations made per developer token. As for your concern if it's normal for the api_core to return it, since this is already an implementation issue related to the Python client library, we suggest that you raise this instead to the client library owners via this link.

Regards,

Google Logo
Mark Kevin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YlV6R:ref

Ngon Nguyen

unread,
Mar 17, 2022, 8:24:15 PM3/17/22
to hu...@octopulse.io, Google Ads API and AdWords API Forum
Chào mừng bạn đến với bảng nhớ tạm của Gboard, bất kỳ văn bản nào bạn sao chép sẽ được lưu tại đây.Sử dụng biểu tượng chỉnh sửa để ghim, thêm hoặc xóa đoạn.Nhấn vào một đoạn để dán vào hộp văn bản.Chạm và giữ một đoạn để ghim đoạn đó. Các đoạn đã bỏ ghim sẽ bị xóa sau 1 giờ.

Vào 21:25, Th 3, 15 thg 3, 2022 Hugo Bauer <hu...@octopulse.io> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/44aeac01-eac6-48cb-b2ca-4aca8889f839n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages