GoogleAds RESOURCE_EXHAUSTED Rate Limits

97 views
Skip to first unread message

Kevin

unread,
Mar 5, 2019, 7:30:58 PM3/5/19
to AdWords API and Google Ads API Forum
Hi,

and know that his solution was to revert back to using AdWords API.

In the future this will not be an option, so is there any documentation on what the limits are?
Also, when I receive RESOURCE_EXHAUSTED, what scope is this rate limit at?
(eg. RequestCustomer+Resource, LoginCustomer+Resource, Token)

Best,
Kevin

googleadsapi...@google.com

unread,
Mar 6, 2019, 12:38:29 AM3/6/19
to adwor...@googlegroups.com
Hi Kevin,

Currently, Google Ads API has no documentation for rate limits. The QuotaCheckError.RESOURCE_EXHAUSTED will occur if you are sending too many requests in a short period of time. There is no scope for this error but rather the server will throw this error once it detects that your request has exceeded the system frequency limit. The best solution to this is to set up short delays between requests or combine more operations in fewer requests.

Thanks and regards,
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

On 03/06/19 08:30:58 lopsidedmask wrote:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscribe@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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/384e3688-532e-414a-9a95-6a274b08e415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Caihua Du

unread,
Mar 6, 2019, 2:37:39 AM3/6/19
to AdWords API and Google Ads API Forum
Hi Luis,

We saw this in Google Ads doc: https://developers.google.com/google-ads/api/docs/access-levels, looks like we do have the doc for rate limit, can you please clarify?

Also can you please clarify based on which criteria that server think there are too many request? Is this at dev token level or account level? We used to have the concept of rate scope that tells us the reason of throttling error (due to the dev token usage or due to account usage, please check this: https://developers.google.com/adwords/api/docs/guides/rate-limits). If my request is throttled how can should I address accordingly without the throttling reason?

Thanks,
Caihua.

On Tuesday, March 5, 2019 at 9:38:29 PM UTC-8, googleadsapi-forumadvisor wrote:
Kevin,

Currently, Google Ads API has no documentation for rate limits. The QuotaCheckError.RESOURCE_EXHAUSTED will occur if you are sending too many requests in a short period of time. There is no scope for this error but rather the server will throw this error once it detects that your request has exceeded the system frequency limit. The best solution to this is to set up short delays between requests or combine more operations in fewer requests.

Thanks and regards,
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

googleadsapi...@google.com

unread,
Mar 6, 2019, 5:11:45 AM3/6/19
to AdWords API and Google Ads API Forum
Hi Caihua,

The link that you mentioned is more on the daily limits based on the access levels. The RESOURCE_EXHAUSTED error is based on the system frequency limit of the server and could occur if you are making too many request in a short period of time regardless of your access level.

Hope this clarifies your concern.

Thanks and regards,
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Caihua Du

unread,
Mar 6, 2019, 11:04:22 AM3/6/19
to AdWords API and Google Ads API Forum
Thanks Luis.

I still have a few questions:
1. If service side think “I” am making too many requests, I believe it’s based on the dev token, otherwise I am not sure how to distinguish different customers from server side. So looks to me this is token based throttling?
2. You mentioned the throttling happened if we make too many calls in short period “regardless” the access level, so even standard token with unlimited daily request also have this issue I assume. So what is the definition of too many request? Let’s say how many per minute?
3. Do we also have this in AdWords API just something new in Google Ads?

Thanks,
Caihua
> 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 "AdWords API and Google Ads API Forum" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
>
> Visit this group at https://groups.google.com/group/adwords-api.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/384e3688-532e- 414a-9a95-6a274b08e415%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
>
> --
>
> --
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 "AdWords API and Google Ads API Forum" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.

googleadsapi...@google.com

unread,
Mar 7, 2019, 8:00:20 AM3/7/19
to duca...@gmail.com, AdWords API and Google Ads API Forum
Hi Caihua,

My understanding is that the quota error you're getting is based on the developer token, but I'm following up with our engineers to:

a) Confirm the above.
b) Determine how you can identify errors caused by exceeding rate limits at the customer account level (the equivalent of rateScope=ACCOUNT in the AdWords API).

I'll reply back once I have that information.

Regarding question 3 below, the concept of rate limits at the developer token and account level also exist within the AdWords API. Please see the link above for details.

Cheers,
Josh, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 "AdWords API and Google Ads API Forum" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
>
> Visit this group at https://groups.google.com/group/adwords-api.
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/384e3688-532e- 414a-9a95-6a274b08e415%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
>
> --
>
> --
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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
>
>
> 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 "AdWords API and Google Ads API Forum" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.

Caihua Du

unread,
Mar 8, 2019, 3:08:58 PM3/8/19
to AdWords API and Google Ads API Forum
Thanks Josh for following up. 

Please let us know if you have any updated on this. 

One thing we observed is that for AdWords API, we make way higher request by the same dev token and everything works great. We only see the throttling after we tried the new Google Ads API. I believe something have been changed. 

Thanks
Caihua. 

googleadsapi...@google.com

unread,
Mar 8, 2019, 6:51:35 PM3/8/19
to duca...@gmail.com, AdWords API and Google Ads API Forum
Hi Caihua,

Do you happen to have the request-id from some of your failed requests? If you're using a client library you should be able to find those IDs in your logs.

If you can't find any IDs, could you share the customer ID where your developer token is registered? You can send that only to me by clicking Reply privately to author on this post.

Cheers,
Josh, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Reply all
Reply to author
Forward
0 new messages