doubts about RateLimits

36 views
Skip to first unread message

angel...@societao.com

unread,
Nov 14, 2017, 3:47:19 PM11/14/17
to AdWords API Forum
I have a basic MMC account and i am building an api rest to manage the ads, ad groups and campaigns, what limits I would have for my operations and requests, and what risks there are of exceeding those limits, Do you recommend that I activate this compelement https: / /github.com/googleads/googleads-java-lib/tree/master/extensions/adwords_rate_limiter?, or what solution do you recommend to implement? 

Vincent Racaza (AdWords API Team)

unread,
Nov 15, 2017, 1:37:23 AM11/15/17
to AdWords API Forum
Hi Angel,

In regards to rate limits, it can be subdivided into two types based on this guide. The rate limit can either be in a developer token rate scope or account rate scope.

In regards to the developer token rate scope, this is based on the access level of your developer token. For example, if you have a basic access of the developer token, then you have a limit of 10,000 operations a day and 1,000 report requests a day. If you exceed this limit, the API will generate the RateExceededError.

For the account rate scope, this is based on the number of requests per second that you are doing. Basically, if you have either a basic access or standard access (which has an unlimited daily operations and unlimited daily report requests), the RateExceededError will still be generated if you have a high number of requests per second. This scope does not based on your developer token's access level.

Also, if you'll encounter the RateExceededError, it is important that you check the SOAP response specifically the elements of this error.

And yes, you can incorporate the RateLimiter extension of the AdWords API to handle this specific error programmatically. Aside from using this extension, you can also handle this error manually. You just need to take note the retryAfterSeconds in the SOAP response, and then do your request again after how many seconds indicated on this field.

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team
Reply all
Reply to author
Forward
0 new messages