Hi,

when I send mutateMembers requests, there are a 
lots DatabaseError.CONCURRENT_MODIFICATION error:
<soap:Body>
       <soap:Fault>
           <faultcode>soap:Client</faultcode>
           <faultstring>[DatabaseError.CONCURRENT_MODIFICATION @ 
com.google.ads.api.services.campaignmgmt.common.error.DatabaseError.&lt;init&gt;(Datab]
</faultstring>
           <detail>
               <ns2:ApiExceptionFault xmlns=
"https://adwords.google.com/api/adwords/cm/v201809"; xmlns:ns2=
"https://adwords.google.com/api/adwords/rm/v201809";>
                   <message>[DatabaseError.CONCURRENT_MODIFICATION @ 
com.google.ads.api.services.campaignmgmt.common.error.DatabaseError.&lt;init&gt;(Datab]
</message>
                   <ApplicationException.Type>ApiException
</ApplicationException.Type>
                   <errors xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"; xsi:type="DatabaseError">
                       <fieldPath/>
                       <trigger/>
                       <errorString>DatabaseError.CONCURRENT_MODIFICATION
</errorString>
                       <ApiError.Type>DatabaseError</ApiError.Type>
                       <reason>CONCURRENT_MODIFICATION</reason>
                   </errors>
               </ns2:ApiExceptionFault>
           </detail>
       </soap:Fault>
   </soap:Body>


most of my requests only wrap hashed email, hashed phoneNumber and address, 
example as below:
...
       <mutateMembers xmlns=
"https://adwords.google.com/api/adwords/rm/v201809";>
           <operations>
               <ns7:operator xmlns:ns7=
"https://adwords.google.com/api/adwords/cm/v201809";>ADD</ns7:operator>
               <operand>
                   <userListId>0000000</userListId>
                   <removeAll>false</removeAll>
                   <membersList>
                       <hashedEmail>123123123123123adfadfadfadfasdf0</
hashedEmail>
                       <hashedPhoneNumber>asdfasdfasdfasdfasdfasdfsdf<
/hashedPhoneNumber>
                       <addressInfo>
                           <hashedFirstName>asdfasdfasdfasdfasdfasdfadsf</
hashedFirstName>
                           <hashedLastName>asdfasfasdfdf12313434234<
/hashedLastName>
                           <countryCode>ES</countryCode>
                           <zipCode>123124</zipCode>
                       </addressInfo>
                   </membersList>
....



>From the adwords api documentation, it may happen when we modify the same 
entity concurrently.

My question is how to identify an entity in my case? or say what's the 
primary field to identify an entity?

And could you give some suggestions about how to avoid this exception?

Best Regards,
Qian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1ace58af-00ec-4ebb-b936-3727e0a7a299%40googlegroups.com.

Reply via email to