Yes, we have reviewed your best practices. But how am I supposed to know what to limit the request rate to without some guideline? 1 request per second? 10? 100? Even a ballpark number would be better than guessing and hoping it works. We have functionality in place that pauses requests when a rate limit is encountered, but it would be much better if we could limit ourselves before that happens to avoid the 30 second penalty (Our specific application is very time sensitive and by that time our window of opportunity has passed).
On Wednesday, May 8, 2019 at 2:08:34 PM UTC-5, googleadsapi-forumadvisor wrote: > > Hi Andrew, > > I don't have a recommended request rate but you should take steps in > making fewer requests and to wait between requests. The guide I provided > earlier gives guidelines you can use to avoid these errors. You should also > have a look at our Best Practices > <https://developers.google.com/adwords/api/docs/guides/bestpractices> > guide. > > Regards, > Anthony > 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/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > On 05/07/19 17:41:15 [email protected] <javascript:> wrote: > > Hi, > > We already have standard access and implement throttling. As I understand > this is an account scope rate limit, not a developer token limit. I'll > paste a copy of the error below. > > <ApiExceptionFault xmlns=" > https://adwords.google.com/api/adwords/cm/v201809"><message>[RateExceededError > > <rateName=Requests, rateKey=shasta, rateScope=ACCOUNT, > retryAfterSeconds=30>]</message><ApplicationException.Type>ApiException > </ApplicationException.Type><errors xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xsi:type="RateExceededError" > ><fieldPath></fieldPath><trigger></trigger><errorString> > RateExceededError.RATE_EXCEEDED</errorString><ApiError.Type> > RateExceededError</ApiError.Type><reason>RATE_EXCEEDED</reason><rateName> > Requests</rateName><rateScope>ACCOUNT</rateScope><retryAfterSeconds>30 > </retryAfterSeconds></errors></ApiExceptionFault> > > As you can see the error shows no indication of which limit was exceeded > though I am assuming requests per minute given the retry time. What is > your recommended request rate? > > Thanks, > Andrew Ellison > > On Tuesday, May 7, 2019 at 3:47:34 PM UTC-5, googleadsapi-forumadvisor > wrote: > > Hi Andrew, > > I am not sure what the "shasta" key you are referring to is. Can you > provide more details? > > You can increase the number of operations an API token can have by > applying for Standard access > <https://developers.google.com/adwords/api/docs/access-levels#standard_access>. > > However, you should note that even with Standard access, you will need to > keep an eye on the number of operations per second you do. > > Regards, > Anthony > 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/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > On 05/07/19 15:14:37 [email protected] wrote: > > I understand, do you have any information about the specific "shasta" > key? Is there any way to increase this limit for a customer's account? > > Thanks, > Andrew Ellison > > On Tuesday, May 7, 2019 at 10:52:34 AM UTC-5, [email protected] wrote: > > Hi, > > Many of our requests are failing with a rate limit error for rate key > "shasta" and rateScope "ACCOUNT" when retrieving from the adgroup criterion > service. What is the meaning of the rate key? This is only happening for > one of our customers accounts, is there a way to increase the rate limit > for that customer? Our service handles time sensitive requests so we would > like to avoid delaying if possible. > > Thanks, > Andrew Ellison > > -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > 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/1677c5bc-6024-44c9-839f-3d4b1cd060a0%40googlegroups.com > <https://groups.google.com/d/msgid/adwords-api/1677c5bc-6024-44c9-839f-3d4b1cd060a0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > 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/fe821a8a-5388-4673-bf56-38a3d0cab24c%40googlegroups.com > > <https://groups.google.com/d/msgid/adwords-api/fe821a8a-5388-4673-bf56-38a3d0cab24c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/e5f064c1-cebf-44a1-8549-31106671cd3b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
