Hi Vijay,
Thanks for reaching out to the Google Ads API Forum.
Using the Google Ads API RunOfflineUserDataJob service if I send 2 separate jobs synchronously, in order on my end, will the job cantaining the RemoveAll operation be executed before the job containing the Create operations?
>> Note that OfflineUserDataJobs are processed asynchronously.
For your question, “Can I be confident that the first job will be executed by Google before the 2nd job?”, no since OfflineUserDataJob are asynchronous in nature and it depends on the size of operations added. Note that for the Job with the remove_all operation, it may run for up to 72 hours.
What I recommend to you is to wait for the first Job to finish, then you can run another Job. However, you may also create only one Job, and add first remove_all operation as the first operation in a job, then you can add the create operations for a new list of emails. Note that when a remove_all operation is included, it must be the first operation in a job. If not, then running the job will return an INVALID_OPERATION_ORDER error. This way you don’t need to wait and it will finish once it processes all your operations.
For this question, “ is there a chance that the new user list will be uploaded first, and then the job with the remove all wipes that new user list?”, note that running more than one OfflineUserDataJob at same time on same user list can result in errors. In addition, upon checking your Job with Id 4354690227, I can see that status is SUCCESS in our backend.
For more information, you may refer to this guide.
Regards,
|
||||||