Hello everyone,

we are developing a Java-based web-application for managing our
adwords accounts, but we ran into some problems lately. Our main goal
is to update many adgroups (change status / cpc) in short time, for
this reason we use multiple threads, which works fine so far, but
seems to have some undocumented drawbacks.
When trying to update a loose order of adgroups in multiple threads
(e.g. 4 threads updating 10 adgroups each), we run into a
"DatabaseError.CONCURRENT_MODIFICATION". It seems this results from
having adgroups of the same campaign in different threads (e.g. thread
1 updates adgroup "A" from campaign "X" while thread 2 updates adgroup
"B" from campaign "X"). The error doesn't occur if adgroups of the
same campaign aren't distributed over the threads.
Does it lock down a campaign for concurrent requests if
adGroupService.mutate is already running on an adgroup in this
campaign?

Greetings from KaufDA

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to