TargetingIdeaService getting RateExceededError.RATE_EXCEEDED

202 views
Skip to first unread message

Dimitri Levin

unread,
Feb 9, 2018, 3:17:01 AM2/9/18
to AdWords API Forum
Hi,

we have a problem with TargetingIdeaService-Requests. We are getting for a while for the first requests RateExceededError.RATE_EXCEEDED independent if this the first request of the day or not. So it is not much requests pro Minute.


2018-02-09 09:02:50,281 WARN com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger:148 - Request made: Service: TargetingIdeaService Method: get clientCustomerId: xxxxx URL: https://adwords.google.com/api/adwords/o/v201710/TargetingIdeaService Request ID: 000564c2f45dfe780a56ab114205ebc3 ResponseTime(ms): 416 OperationsCount: 1 IsFault: true FaultMessage: ApiException{applicationExceptionType=ApiException, errors=[RateExceededError{apiErrorType=RateExceededError, errorString=RateExceededError.RATE_EXCEEDED, fieldPath=, rateName=RATE_LIMIT, rateScope=ACCOUNT, reason=RATE_EXCEEDED, retryAfterSeconds=30, trigger=}]} 


2018-02-09 09:03:20,939 WARN com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger:148 - Request made: Service: TargetingIdeaService Method: get clientCustomerId: xxxxxx URL: https://adwords.google.com/api/adwords/o/v201710/TargetingIdeaService Request ID: 000564c2f6373ae80a5643567e04a46d ResponseTime(ms): 40 OperationsCount: 1 IsFault: true FaultMessage: ApiException{applicationExceptionType=ApiException, errors=[RateExceededError{apiErrorType=RateExceededError, errorString=RateExceededError.RATE_EXCEEDED, fieldPath=, rateName=RATE_LIMIT, rateScope=ACCOUNT, reason=RATE_EXCEEDED, retryAfterSeconds=30, trigger=}]} 


We are making 2 Requests (getKeywordSearchVolume() and getKeywordIdeas) sequentially. 


It was working fine for a half Year. 

Can you help us to clear this issue?

Thx 

Dimitri

Vincent Racaza (AdWords API Team)

unread,
Feb 9, 2018, 4:14:04 AM2/9/18
to AdWords API Forum
Hi Dimitri,

Can you confirm if the issue is consistent even though you have retried your request after 30 seconds (based on retryAfterSeconds on the SOAP response)? As for the RateExceededError with rateScope=ACCOUNT, it means that you have a high number of requests per second and you need to slow down. There might be other requests in your AdWords account from a different user or from different processes on which the AdWords system was able to detect that you have a high number of requests per second, thus this error was generated.

However, if you can confirm that there are no other processes or other requests that triggers this error aside from your own request, then can you provide your whole SOAP request and response logs via Reply privately to author so I can further investigate?

Thanks,
Vincent
AdWords API Team

Dimitri Levin

unread,
Feb 9, 2018, 5:20:42 AM2/9/18
to AdWords API Forum
Hi Vincent,

i confirm that at the time of the test were no other requests. Yes i need to wait more than 30 Seconds. We are getting Response on 3 or more attempt.  

Vincent Racaza (AdWords API Team)

unread,
Feb 11, 2018, 9:54:47 PM2/11/18
to AdWords API Forum
Hi Dimitri,

Can you confirm if you are still encountering the RateExceededError in TargetingIdeaService even until now? If so, can you provide your latest SOAP request and response logs via Reply privately to author so I can further investigate this?

Dimitri Levin

unread,
Feb 14, 2018, 3:24:07 AM2/14/18
to AdWords API Forum
Hi Vincent,

no, it is everything fine. Did you do something?

Vincent Racaza (AdWords API Team)

unread,
Feb 14, 2018, 4:07:48 AM2/14/18
to AdWords API Forum
Hi Dimitri,

No, I did not do something regarding the error. However, upon further checking with the team, the TargetingIdeaService is more expensive service compared to the other AdWords API services. The rate limits for this service can vary based on the time of day, overall volume of API usage by all users, and other factors. Therefore, this is not dependent alone in your QPS in your account, but to other accounts as well by all users.

This said, if you encounter again the RateExceededError with rateScope=ACCOUNT for this service, then the only way to minimize this issue is to slow down and retry your request based on the number of seconds specified in the retryAfterSeconds field of your response. 
Reply all
Reply to author
Forward
0 new messages