I now decomposed the request into fewer operations (10 per chunk). So that the response won't be cut off.
After 2 chunks of 10 mutate operations each I get "google.ads.googleads.v1.errors.googleadsfailure-bin": "\n0\n\u0002X\u0002\u0012*Too many requests. Retry in 12411 seconds.", *-> Retry in 12411 ~3 hours ???? After 2 requests?* What am I missing here? Because this way the API is not of any use to me. Cheers Fabian On Tuesday, 9 April 2019 23:32:35 UTC+2, F B wrote: > > Hi Bharani, > > I did all that while trying to troubleshoot: > > - bundle a lot of operations (~2500) into a single request > > <https://developers.google.com/google-ads/api/docs/best-practices#batch_operations> > - changed all calls from get to AdService > > <https://developers.google.com/google-ads/api/docs/concepts/changing-objects#inspecting_objects> > - set random sleeps between requests > > <https://developers.google.com/google-ads/api/docs/common-errors#resource_exhausted> > > Even applied for standard access token. But to no avail. This is really > very hard to debug as I have no idea what rate limit I am actually > exceeding. Feels like I am fishing in the dark here ... > > Cheers > Fabian > > On Tuesday, 9 April 2019 20:22:42 UTC+2, googleadsapi-forumadvisor wrote: >> >> Hi Fabian, >> >> The QuotaCheckError.RESOURCE_EXHAUSTED >> <https://developers.google.com/google-ads/api/docs/common-errors#resource_exhausted> >> will >> occur if you are sending too many requests in a short period of time. There >> is no scope for this error but rather the server will throw this error once >> it detects that your request has exceeded the system frequency limit. The >> best solution to this is to set up short delays between requests or combine >> more operations in fewer requests. Please refer to the Best practices >> guide <https://developers.google.com/google-ads/api/docs/best-practices> to >> optimize the performance. If you're still facing an issue, could you please >> share the API request and response logs to check this further? >> >> Thanks, >> Bharani, Google Ads API Team >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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+unsubscr...@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/b14afbbe-8b06-4b15-84f3-95cd08419551%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.