How to deal with CONCURRENT_MODIFICATION

27 views
Skip to first unread message

F B

unread,
Apr 26, 2019, 5:04:00 AM4/26/19
to AdWords API and Google Ads API Forum
I am creating Responsive Text Ads in parallel (multithreaded python application), where all of them are distinct and only one per AdGroup. 

However, oftentimes I get an Error that states that two requests were trying to modify the same Ressource concurrently. This - on the first look - makes no sense to me, could it be that this is triggered, because the Ads are in the same campaign and are therefore indirectly modifying the same resource (i.e. campaign)?

Also how would the problem be solved?

googleadsapi...@google.com

unread,
Apr 26, 2019, 6:19:34 AM4/26/19
to AdWords API and Google Ads API Forum
Hi,

The 
DatabaseError.CONCURRENT_MODIFICATION error that you are encountering could occur due to multiple processes are trying to update the same entity at the same time. This said, the reason why you are seeing the error is because multiple processes are trying to update an ad, and the campaign of the ad (Ads are in the same campaign) should not be the cause of this error. With this, you may try to investigate if there's multiple processes that are trying to update an ad.

Please let me know if you have further clarifications.

Regards,
Hiroyuki
Google Ads API Team

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1e43317f-9659-4925-aced-c32afda48df2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages