Hi Luca, Your approach of batching keyword operations by adgroups is fine, but you can also try staggering the batches such that successive API calls don't go to a single adgroup. That should reduce the frequency of CONCURRENT MODIFICATION errors.
Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, May 15, 2014 5:37:33 AM UTC-4, Luca Fiaschi wrote: > > Hi all, > I am getting quite often CONCURRENT MODIFICATION ERRORS when trying to > upload KWs. > > I have a long list of operations and my strategy is to batch the requests > and then call the mutate method of the service for the batch. > Batch are uploaded in series therefore, there should not be any issue with > multiple threads. > > However I still get from time to time the CONCURRENT MODIFICATION error. > Reading the doc seems that this is due to the way google processes the > requests. My understanding is that it may happen when I try to add multiple > Kws to the same adgroup. > > The question is : > > - if I implement a more clever batching strategy: parsing the operations > and creating batches which only add Kws to different adgroups, would it > help? > > In general I would not like to go for this solution since it is a bit > complicated to implement ( I have hundred thousands requests) and it does > not allow to handle different types of requests (not only Kws) in a more > general fashion. > > Anybody could comment on what would be the best option to handle this > issue? > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.