Hi,
I'm from the Google Ads API team. I hope you're doing well today.
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. With that being said, we recommend waiting for about 30 seconds, then retry the request via API to avoid the CONCURRENT_MODIFICATION (https://developers.google.com/google-ads/api/reference/rpc/v13/DatabaseErrorEnum.DatabaseError?hl=en#concurrent_modification) error.
For additional reference, our Customer Match documentation also suggests to avoid simultaneously running multiple OfflineUserDataJob processes that modify the same user list (that is, multiple jobs whose CustomerMatchUserListMetadata.user_list point to the same resource name). Doing so can result in a CONCURRENT_MODIFICATION error since multiple jobs are not permitted to operate on the same list at the same time. This error can also occur if attempting to simultaneously modify a list through the Google Ads UI and the Google Ads API. Note that this does not apply to adding operations to an existing job, which can be done at any time before the job is started.
Regarding your question, you may try querying the offline_user_data_job and check its status to determine if it's currently running. Afterwards, you may check the offline_user_data_job.customer_match_user_list_metadata.user_list to determine the the resource name of the remarketing list.
Let us know if you have other concerns.
Regards,
![]() |
Google Ads API Team |