Multiple Offline User Data Jobs with “RUNNING” status for the same user list.

623 views
Skip to first unread message

Alexandra Nasekaylo

unread,
Apr 7, 2022, 11:33:00 AM4/7/22
to Google Ads API and AdWords API Forum

Hello!


We are migrating to the new Google Ads API. We are using OfflineUserDataJob service. We have the following workflow:

1. Create a job: https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs/create

2. Add Operations to the created job: https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs/addOperations.

We are adding 10.000 operations as recommended https://developers.google.cn/google-ads/api/docs/conversions/upload-store-sales-transactions?authuser=0&hl=id#tips.

3. Run the job: https://developers.google.com/google-ads/api/rest/reference/rest/v9/customers.offlineUserDataJobs/run


We receive CONCURRENT_MODIFICATION error since we process these tasks in parallel and multiple processes are trying to modify the same user list simultaneously.


Reading the response https://groups.google.com/g/adwords-api/c/gdYUwIhh9eU/m/k8qaO0HSDgAJ it seemed to me we need to wait until one job is finished and only after that we should create a new job.

But I was able to create and run two jobs containing “create” operations and one job containing “remove” operations and didn’t receive any errors. I checked that my list had multiple jobs with “RUNNING” status.


My question is: Is it acceptable to create and run job 1, after some time create and run job 2 when the job 1 is still in “RUNNING” status? Is it acceptable to have multiple jobs in the “RUNNING” status for the same user list? 


Could you, please, help me with my question?

Google Ads API Forum Advisor

unread,
Apr 7, 2022, 3:30:11 PM4/7/22
to alexandra...@tealium.com, adwor...@googlegroups.com
Hi Alexandra,

You were lucky this time, but running more than one job on a user list concurrently is asking for a concurrent modification error to occur. If your removals are small amounts you may to do a remove with UserDataService. Feel free to get back to us.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZKnXK:ref

Alexandra Nasekaylo

unread,
Apr 8, 2022, 11:33:14 AM4/8/22
to Google Ads API and AdWords API Forum
Thanks for the reply!

As we know UserDataService has a rate limit 1 QPS (60 requests per 60 seconds) per developer token. Is it possible to increase the limits (for example, to get a premium plan)?

Google Ads API Forum Advisor

unread,
Apr 11, 2022, 12:57:52 AM4/11/22
to alexandra...@tealium.com, adwor...@googlegroups.com

Hi Alexandra,

 

It's not possible for our team to increase rate limits. Also, there isn't a specific QPS rate limit associated with the UserDataService. A discussion about dealing with rate limits can be found on this page.

 

Let us know if you have any further clarification.

 

Regards,

Google Logo
Kevin Gil
Google Ads API Team
 


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