API call request rate limit reached

1,483 views
Skip to first unread message

Alex

unread,
Mar 7, 2017, 10:51:24 AM3/7/17
to AdWords API Forum
Got this error :
googleads.errors.AdWordsReportBadRequestError: Type: RateExceededError.RATE_EXCEEDED
Trigger: Basic Access Daily Reporting Quota

Was an issue from our end, as I basically had an incorrect loop in my code and spammed the API. 
Is it possible to reset our Quote for today, so I can test my code?
If not, when will this be reset?

Cheers

Vishal Vinayak (Adwords API Team)

unread,
Mar 7, 2017, 2:33:44 PM3/7/17
to AdWords API Forum
Hi Alex,

The retryAfterSeconds property of the RateExceededError would tell you the appropriate time interval after which it is safe to retry. From the information that you shared, it looks like the wait period in your case would be 24 hours. Unfortunately, there's no way to reset this wait period. Please refer to our Rate Limits Guide for more information on this topic.

Regards,
Vishal, AdWords API Team

Alex

unread,
Mar 9, 2017, 9:27:50 AM3/9/17
to AdWords API Forum
It possible to see how many requests I've made, as I've got the RATE_EXCEEDED again but I don't believe I should have anywhere near 10,000 hits.
Also, how can I change my retryAfterSeconds  ?

Vishal Vinayak (Adwords API Team)

unread,
Mar 9, 2017, 1:52:48 PM3/9/17
to AdWords API Forum
Hi Alex,

Unfortunately, there is no way to directly check how many operations were performed on your side. A workaround would be to count the number of operations in your code based on this this sheet. Also, the retryAfterSeconds check is a limit set by the system and cannot be changed or overridden. 

If your project requires performing more than 10,000 operations per day using your developer token, please feel free to apply for Standard Access here. Standard Access allows you to perform unlimited number of operations per day using your developer token. Please note that this will only avoid any possible future RateExeededErrors with the DEVELOPER rateScope and you may still see errors with the ACCOUNT rateScope, which means you might be performing too many operations on your AdWords account in a short duration of time. In that case, the best measure would be to slow down the frequency of requests by taking control of your application. 

If this information doesn't help, could you please provide me with the following so that I can look further?
  • rateName & rateScope fields from the RateExceededError alert
  • Any SOAP XML request and response logs that you might have
Please click on Reply privately to author when responding.

Paul Newbury

unread,
Apr 4, 2017, 10:02:04 AM4/4/17
to AdWords API Forum
Hi Vishal, 

Sorry for late reply. Is there anyway to find what time (on my dev account) it does reset? I just ran a data pull for all our clients, and it has already given me the rate_exceeded error. But I haven't run it today.

You mentioned there about slowing down our frequency of requests, but wouldn't that be a different error to :
Type: RateExceededError.RATE_EXCEEDED
Trigger: Basic Access Daily Reporting Quota
Field Path: None

This suggests to me that I've gone over the allowed amount for Basic account - I have begun the application for Standard Access (been waiting almost 2 weeks though).

Also, in regards to counting the operations, I only perform 'report downloads' - which I can see from your link : "do not count towards the daily operations quota....however, there is still a 1,000 downloads-per-day limit."

Vishal Vinayak (Adwords API Team)

unread,
Apr 4, 2017, 3:36:55 PM4/4/17
to AdWords API Forum
Hi,

That is correct. Your Basic Access token has a limit of 1,000 daily report downloads and you may see an error if you have exceeded that limit during a given 24 hour period. The best option in that case would be to wait for 24 hours before sending another request to the API. Standard Access should definitely help since you can download unlimited number of reports per day using a developer token with Standard Access. Regarding your application, if you do not hear back after waiting for a few more business days, please feel free to get in touch with our compliance team here.

Paul Newbury

unread,
Apr 5, 2017, 9:10:20 AM4/5/17
to AdWords API Forum
Cheers for the response Vishal,

What is the usually waiting time to hear back about Standard Access?

Vishal Vinayak (Adwords API Team)

unread,
Apr 5, 2017, 10:35:50 AM4/5/17
to AdWords API Forum
Hi,

The expected response time for a Standard Access application is about two weeks. If you do not hear back after 2 weeks, please feel free to get in touch with our compliance team here.
Reply all
Reply to author
Forward
0 new messages