Hi Peter It's strange because I'm including batches of 2k keywords per request and doing it only 1 batch at a time.
Simple solution for me was to wrap the request in a try/catch block, so when the $apiexception was detected I would simply sleep for 30 seconds and then retry again on a subsequent loop. This solved the problem On Wednesday, November 29, 2017 at 2:55:54 AM UTC-5, Peter Oliquino wrote: > > Hi Ildar, > > I could see that you are getting the *rateScope=ACCOUNT* included in the > error logs. This indicates that you are making too many requests or > invoking multiple threads at the same time against a single AdWords > account. I would recommend that you reduce the number of operations you > invoke all at once in order to avoid this error. To learn more about the > limits when using the AdWords API, you may refer to our rate limits > <https://developers.google.com/adwords/api/docs/guides/rate-limits> guide, > specifically to this section > <https://developers.google.com/adwords/api/docs/guides/rate-limits#account_rate_scope> > for > your issue, and to our rate sheet > <https://developers.google.com/adwords/api/docs/ratesheet>. > > As for creating multiple campaigns, yes, you may use the BatchJobService > <https://developers.google.com/adwords/api/docs/reference/v201710/BatchJobService> > since > it supports the CampaignOperation, however, it does not currently support > the TrafficEstimatorService. For more information on batch processing, you > may refer here > <https://developers.google.com/adwords/api/docs/guides/batch-jobs#supported_operations>. > > I hope this has been helpful. > > Thanks and regards, > Peter > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 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/55a421b9-86c4-41d6-98fb-19ed7d2232fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
