QPS - RATE_EXCEEDED

42 views
Skip to first unread message

Kyle Parisi

unread,
Aug 25, 2016, 2:02:32 AM8/25/16
to AdWords API Forum
 
name: 'StatusCodeError',
  statusCode
: 400,
  message
: '400 - "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" standalone=\\"yes\\"?><reportDownloadError><ApiError><type>RateExceededError.RATE_EXCEEDED</type><trigger></trigger><fieldPath></fieldPath></ApiError></reportDownloadError>"',
  error
: '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>RateExceededError.RATE_EXCEEDED</type><trigger></trigger><fieldPath></fieldPath></ApiError></reportDownloadError>',

I'm experiencing the above error when posting for reports.  We'd like to be efficient/fair about requests for reports.  The docs say there should be a retry seconds field which I'm not getting.  My account is standard.  Is there a reason this field is missing from the reports service?  What is the QPS that I should adhere to if we can't get the retry time?  

Peter Oliquino

unread,
Aug 25, 2016, 2:25:23 AM8/25/16
to AdWords API Forum
Hi Kyle,

Please see our example on how to handle RateExceedErrors and how to set the retryAfterSeconds field through this link. Also, you may refer to our rate limits guide and our rate sheet for the quotas you need to consider in making AdWords API calls. For further reference on our best practices, please also check out this link.

Thanks and regards,
Peter
AdWords API Team

Joe Rosenwald

unread,
Aug 25, 2016, 10:39:21 AM8/25/16
to AdWords API Forum
Hi Peter,

I work with Kyle. Unfortunately, our RateExceedError object is missing the retryAfterSeconds, among other properties that should be returned with the object. 
We are unsure of how to proceed.

We are not using the SDK, but post, and the XML above is the full body of the response object.

Thanks!
Joe

Peter Oliquino

unread,
Aug 26, 2016, 12:48:30 AM8/26/16
to AdWords API Forum
Hi Joe,

My apologies for the delayed response. I am unsure how the RateExceedError object did not include the retryAfterSeconds attribute in your Post as I can only provide recommendations while using the AdWords API libraries. With this, I would suggest that you use instead our client libraries as it should provide more detailed responses and ease of access to all AdWords API objects specifically the RateExceedError.retryAfterSeconds.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages