429 Resource has been exhausted

181 views
Skip to first unread message

George Lin

unread,
Sep 23, 2022, 4:46:24 PM9/23/22
to Google Ads API and AdWords API Forum
Hi,

We are running into a strange issue with v11 of the Google Ads API. It appears quotas aren't being configured or computed correctly.

We have run operations and verified in our google cloud console that we are only using 4000-5000  mutate operations, well below the documented 15000 mutate operation limit for basic api access and we are receiving consistent 429 Resource Exhausted Errors.

Can you please look into this for us? 

Thanks!

Google Ads API Forum Advisor

unread,
Sep 25, 2022, 9:53:22 PM9/25/22
to geo...@dianthuscommerce.com, adwor...@googlegroups.com
Hi George,

Thank you for posting your concern.

With regard to your concern, it appears that it is not related with the daily operational limit of the basic access developer token that you have. It is related to what was discussed in this document that "All of the Google Ads API client libraries use gRPC for generating requests and responses. By default, gRPC has a message size of 4 MB, but our client libraries set the max message size to 64 MB in order to increase efficiency.

Responses must not exceed this limit. For example, a search request that includes a lot of fields may generate a response that exceeds 64 MB in size. To avoid this limit, you can reduce the number of selected fields, reduce the page size, or use streaming. For mutates, send fewer operations per request.

Requests that violate this limitation will not generate a GoogleAdsError, but will generate a 429 Resource Exhausted gRPC error. Refer to the list of gRPC error codes and messages."

You may follow the suggestions provided above to address the issue. If you have any questions, do not hesitate to reach out again and our team will be happy to provide support.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2efS4P:ref

George Lin

unread,
Sep 26, 2022, 7:46:45 PM9/26/22
to Google Ads API and AdWords API Forum
Hi,

We have verified that the issue is not driven by gRPC client message limits in our code as our code uses streaming and mutates are using 1-2 operations per request. Regardless, when we receive these 429 errors we are subsequently locked out of our account for anywhere from 12-24 hours even though we have verified that this is below the published quota limits.

Can you please look into this for us?


Thanks!

Google Ads API Forum Advisor

unread,
Sep 26, 2022, 11:59:39 PM9/26/22
to geo...@dianthuscommerce.com, adwor...@googlegroups.com
Hi George,

Thank you for getting back to us. I am Carmela from the Google Ads API team as well.

Moving forward, to better check and can have a clearer view regarding this, could you provide the complete request and response logs with request ID and request header generated on your end? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link

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

Regards,
Google Logo
Carmela
Google Ads API Team
 


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