Google Ads CONCURRENT_MODIFICATION response

28 views
Skip to first unread message

Gregory Gan

unread,
Sep 1, 2021, 5:56:45 PM9/1/21
to AdWords API and Google Ads API Forum
Hi Team,

We're programatically syncing audience lists through the JSON REST API, and we're sporadically receiving back a response with status code of 400 and a JSON body indicating that there was a 'CONCURRENT_MODIFICATION' issue (please see attachment). We were wondering if this is pretty much a 429 (Too Many Requests response) and therefore we need to slow down on the amount request we push up, which is currently 1 per second. 

Screen Shot 2021-09-02 at 7.55.16 am.png

Cheers,
Greg

Google Ads API Forum Advisor

unread,
Sep 2, 2021, 2:19:02 AM9/2/21
to gre...@customology.com.au, adwor...@googlegroups.com

Hi Greg,

Thanks for reaching out to us.

Upon checking the screenshot you’ve shared with us, it appears that you’ve encountered the CONCURRENT_MODIFICATION . In general, the CONCURRENT_MODIFICATION error occurs due to multiple processes that are trying to update the same entity at the same time. This also includes updating the entity in Google Ads UI while updating via the API as well. We recommend waiting for about 30 seconds, then retry the request.

That being said, you’ll need to ensure that only one operation is performed against an entity at each moment and slow down on the consolidated repeated mutates against the same entity into a single request to avoid this issue altogether. Please give this a try and let me know if you have any additional concerns.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2MkoNI:ref
Reply all
Reply to author
Forward
0 new messages