Hello,

I must be confused with the API. Some help would be much appreciated.

In PHP we create an array of operations then use
$adGroupCriterionService->mutate($operations) but sometimes receive an
error: CONCURRENT_MODIFICATION

If an array of operations are sent does the API ensure that they are
executed sequentially ?

While looping over different adgroups an operation is created to set
keywords for each adgroup, the operations are added to an array. In
the error report it seems that each operation is for a different
adgroup, is the concurrent modification related to actions on the same
campaign ?

Thanks for any pointers.

   Mark

The error we receive:


<faultstring>DatabaseError[reason=CONCURRENT_MODIFICATION,
changeIds=KnownChangeId:32122097823 ReadonlyChangeId:32122097823
LatestChangeId:32122117623 LastestChangeIdForcedRead:32122117623,
changeData=[ChangeData[changeId=32122097823, userId=65339032,
adgroupId=0, campaignId=53865783], ChangeData[changeId=32122114743,
userId=5753640, adgroupId=2025245463, campaignId=53865783],
ChangeData[changeId=32122115223, userId=5753640, adgroupId=2025259023,
campaignId=53865903], ChangeData[changeId=32122115463, userId=5753640,
adgroupId=2025261663, campaignId=53865903],
ChangeData[changeId=32122115703, userId=5753640, adgroupId=2025261303,
campaignId=53865903], ChangeData[changeId=32122115943, userId=5753640,
adgroupId=2025268743, campaignId=53865903],
ChangeData[changeId=32122116063, userId=5753640, adgroupId=2025244983,
campaignId=53865783], ChangeData[changeId=32122116303, userId=5753640,
adgroupId=2025267783, campaignId=53865903],
ChangeData[changeId=32122116423, userId=5753640, adgroupId=2025252063,
campaignId=53865783], ChangeData[changeId=32122116543, userId=5753640,
adgroupId=2025262863, campaignId=53865903],
ChangeData[changeId=32122116663, userId=5753640, adgroupId=2025260223,
campaignId=53865903], ChangeData[changeId=32122116783, userId=5753640,
adgroupId=2025245343, campaignId=53865783],
ChangeData[changeId=32122116903, userId=5753640, adgroupId=2025246543,
campaignId=53865783], ChangeData[changeId=32122117023, userId=5753640,
adgroupId=2025245103, campaignId=53865783],
ChangeData[changeId=32122117143, userId=5753640, adgroupId=2025266103,
campaignId=53865903], ChangeData[changeId=32122117263, userId=5753640,
adgroupId=2025261063, campaignId=53865903],
ChangeData[changeId=32122117383, userId=5753640, adgroupId=2025259743,
campaignId=53865903], ChangeData[changeId=32122117623, userId=5753640,
adgroupId=2025267663, campaignId=53865903]]]</faultstring>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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