Hello Cristian,

The possible reasons for this error are described here:

  
http://adwordsapi.blogspot.com/2011/03/concurrency-management-in-adwords-api.html

In your particular case I recommend removing multi-threading and using 
MutateJobService<http://code.google.com/apis/adwords/docs/reference/latest/MutateJobService.html>instead.
 This service automatically retries on errors like this and also 
you will use much less API units. The change should be easy as the service 
receives the same operation structure as the AdGroupCriterionService.


-Danial, AdWords API Team.


On Wednesday, March 14, 2012 2:00:44 PM UTC+4, Cristian Allietto wrote:
>
> Hi,
> since one year ago we implemented an application, using the AdWords API 
> [image: 
> Expand v201101 - deprecated]v201101, that upload some thousands of 
> keywords on a specific AdGroup.
> To reduce the upload time we implemented it with a multithread system that 
> assign a certain number of keywords to each thread.
> In this way each keyword is managed only by one specific thread and 
> everything worked properly until last month.
>
> Now we have updated the API to version v201109 (no other changes are made 
> on the application) and about 40% of the keywords generate the following 
> error:
> System.Web.Services.Protocols.SoapException: 
> DatabaseError.CONCURRENT_MODIFICATION @ 
> com.google.ads.api.services.campaignmgmt.common.error.DatabaseError.<init>(Datab
>    in 
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
>  
> message, WebResponse response, Stream responseStream, Boolean asyncCall)
>    in System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
> methodName, Object[] parameters)
>    in Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String 
> methodName, Object[] parameters)
>
> What is changed from version [image: Expand v201101 - deprecated]v201101 
> to version v201109 that generates this error?
>
> Thank you in advance
>

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