Looking to create offline user data jobs in parallel

55 views
Skip to first unread message

Parag Sabnis

unread,
Aug 26, 2022, 9:04:20 AM8/26/22
to Google Ads API and AdWords API Forum
Hi,

I want to launch offline user data jobs in parallel and as its very slow when I am executing them sequentially. As of now I get below error when I am trying to launch them in parallel - 
"Multiple requests were attempting to modify the same resource at once."

Thank you,
Parag Sabnis

Google Ads API Forum Advisor

unread,
Aug 26, 2022, 9:49:41 AM8/26/22
to adwor...@googlegroups.com
Hi Parag,

Our  Customer Match considerations states 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 the operations collection for each AddOfflineUserDataJobOperationsRequest can contain at most 100,000 identifiers across all of the UserData objects in the operations. If you need to submit more than 100,000 identifiers for a job, send multiple requests with the same job resource_name.

You can upload all your user data to the same job by sending multiple AddOfflineUserDataJobOperationsRequest objects to the same job. Many big companies with millions of user data to upload use this pipeline successfully. Feel free to get back to us.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


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