Error when I am using KeywordPlanIdeaService

522 views
Skip to first unread message

Akshay Karadkar

unread,
Jul 12, 2023, 7:08:26 AM7/12/23
to Google Ads API and AdWords API Forum
Hey , 

So particularly , we want to get the monthly average search volume for particular keyword and for that we are using google ads API's KeywordPlanIdeaService.

We are making a python script to get what we required , but at the end we are getting this particular issue.

ResourceExhausted: 429 Resource has been exhausted (e.g. check quota). [type_url: "type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure"
value: "\n-\n\002X\002\022\'Too many requests. Retry in 30 seconds.\022\026yYmMyXdHQPbJTorSR7dtqA"

Request made: ClientCustomerId: xxxxxxxx, Host: googleads.googleapis.com, Method: /google.ads.googleads.v14.services.KeywordPlanIdeaService/GenerateKeywordIdeas, RequestId: yYmMyXdHQPbJTorSR7dtqA, IsFault: True, FaultMessage: Resource has been exhausted (e.g. check quota).  

Let us know the issue with the API and also let us know the rate limits for this particular API

Thanks !





Google Ads API Forum Advisor

unread,
Jul 12, 2023, 9:35:08 AM7/12/23
to a.kar...@e-tailize.com, adwor...@googlegroups.com

Hello,

Thanks for reaching out to the Google Ads API Team.

It appears that you are getting a RESOURCE_EXHAUSTED error. It means that a system frequency limit has been exceeded. Kindly prevent sending too many requests in a short period of time and also ensure to set up short delays between requests or combine more operations into fewer requests. You can check this documentation (https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=en#quotaerror) for more details.

Kindly also note that as per this documentation (https://developers.google.com/google-ads/api/docs/best-practices/quotas#daily_api_operation_limits), daily API usage limits are based on the number of API operations made per developer token. API operations are the total sum of get requests and mutate operations. The limits for daily API operations depend on the access level of the developer token. The Access Levels and Permissible Use Guide outlines the specific API operation limits for each access level. Requests that violate these limits are rejected with the error RESOURCE_EXHAUSTED. You may check the API Limits and Quotas (https://developers.google.com/google-ads/api/docs/best-practices/quotas?hl=en) for more information. Additionally, due to cost and complexity, the Planning service methods listed in this documentation(https://developers.google.com/google-ads/api/docs/best-practices/quotas#planning_services) are subject to separate limits from other types of requests.

With that being said, can you please provide us with the complete logs(request and response with request ID) generated on your end so we can investigate further?

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com

This message is in relation to case "ref:_00D1U1174p._5004Q2n6iPv:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages