Targeting Idea Service "You've exceeded a limit"

256 views
Skip to first unread message

Curtis Beck

unread,
May 14, 2019, 5:33:39 PM5/14/19
to AdWords API and Google Ads API Forum
How do I determine what limit I've exceeded?

We are performing a large number of queries to the targeting idea service and have started receiving a new error that I cannot determine what the limit is.

The logs from a single process contains this error:

WARNING:googleads.soap:2019-05-10 11:55:45,976 Error summary: {'responseTime': '59', 'requestId': '000588873f33b0f20abfba8a180bbb76', 'serviceName': 'TargetingIdeaService', 'operations': '1', 'faultMessage': '[RateExceededError <rateName=RATE_LIMIT, rateKey=null, rateScope=ACCOUNT, retryAfterSeconds=30>]', 'methodName': 'get'}

followed by this very generic one a 15 seconds later.

WARNING:googleads.soap:2019-05-10 11:56:02,244 Error summary: {'serviceName': 'TargetingIdeaService', 'faultMessage': "You've exceeded a limit for this service.", 'methodName': 'get'}

The RateExceededError makes sense to me and is expected. For the throughput we are trying to obtain, I handle this by switching accounts.

I'm familiar with and designed for the service limiting as discussed in:

https://developers.google.com/adwords/api/docs/appendix/limits#targeting-idea

I'm also familiar with and designed for the rate limiting as discussed in:

https://developers.google.com/adwords/api/docs/guides/rate-limits

Thanks

googleadsapi...@google.com

unread,
May 15, 2019, 1:48:49 AM5/15/19
to AdWords API and Google Ads API Forum
Hi Curtis,

The rate limits for the TargetingIdeaService are significantly more strict than for other services that can be used for managing campaigns. The rate limits can vary based on time of day, overall volume of API usage by all users, and other factors. Our team does not publish specific allowable QPS numbers to allow for this variance, and instead use rate limit errors and require that integrations against the API adhere to the timeouts as they encounter rate limit errors.

Let me know if you have further clarifications.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_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/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2932b5e9-22af-48cf-9c07-8a3550214945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Curtis Beck

unread,
May 15, 2019, 5:43:03 PM5/15/19
to AdWords API and Google Ads API Forum
Thanks for the response Dannison.

Are you saying that:
  • even though I interleave accounts to try and avoid being rate limited 
  • and if an account is rate limited it is pulled from the interleaving for at least the specified retryAfterSeconds duration given in the error

just the sheer number of times I encounter being rate limited across all accounts is a limiting factor too?

googleadsapi...@google.com

unread,
May 16, 2019, 4:05:45 AM5/16/19
to AdWords API and Google Ads API Forum
Hi Curtis,

Unfortunately, this is a known limitation in the server with regards to TargetingIdeaService. The server counts all of the accounts making this API service call. I would suggest to just retry the service call if ever you encounter the error again.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_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/

Reply all
Reply to author
Forward
0 new messages