using the .addOfflineUserDataJobOperations
.addAllOperations to my current batch.

On Thursday, January 20, 2022 at 3:06:06 PM UTC+2 Matan Shavit wrote:

>
>
>    - 
>    
>    Avoid simultaneously running multiple OfflineUserDataJob 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v9/OfflineUserDataJob>
>  processes 
>    that modify the same user list (that is, multiple jobs whose 
>    CustomerMatchUserListMetadata.user_list 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v9/CustomerMatchUserListMetadata>
>  point 
>    to the same resource name). Doing so can result in a 
>    CONCURRENT_MODIFICATION 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v9/DatabaseErrorEnum.DatabaseError#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 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v9/AddOfflineUserDataJobOperationsRequest>
>  to 
>    an existing job, which can be done at any time before the job is started.
>    
>    Im uploading the data in concurrent batches to a single  
>    OfflineUserDataJob 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v9/OfflineUserDataJob>
>   
>    but i get the CONCURRENT_MODIFICATION 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v9/DatabaseErrorEnum.DatabaseError#concurrent_modification>
>     error.
>    
> On Thursday, January 20, 2022 at 1:16:11 PM UTC+2 Matan Shavit wrote:
>
>> Hey Im getting CONCURRENT_MODIFICATION when uploading operations to 
>> offline user data job.
>> When reading the doc I came to the assumption that I can only get this 
>> error by running multiple jobs not by uploading the operations.
>> can you please clarify? 
>>
>> On Friday, January 14, 2022 at 7:26:19 AM UTC+2 adsapi wrote:
>>
>>> Hi Matan,
>>>
>>> Thanks for getting back to us.
>>>
>>> Kindly see below responses to your queries:
>>>
>>>
>>>
>>> *I read that I shouldn't  mix both create and remove in the same *
>>> *OfflineUserDataJob* 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v9/OfflineUserDataJob>*,
>>>  
>>> and that I cant run more than one job per UserList. Taking into 
>>> consideration that a **OfflineUserDataJob* 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v9/OfflineUserDataJob>
>>> * can take up to 24h. What are my alternatives?*
>>>
>>> >> Yes, you don’t have to mix create and remove operations within the 
>>> same *OfflineUserDataJob* 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v9/OfflineUserDataJob>.
>>>  
>>> Doing so can result in a *CONFLICTING_OPERATION* 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v9/OfflineUserDataJobErrorEnum.OfflineUserDataJobError#conflicting_operation>
>>>  
>>> error. 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. We ask 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. 
>>>
>>>
>>>
>>> *Can you please explain the difference in use for the **UserDataService* 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v9/UserDataService>*
>>>  
>>> compared to the **OfflineUserDataJobService* 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v9/OfflineUserDataJobService>
>>> *.*
>>>
>>> >> Kindly note that the OfflineUserDataJobService service behaves 
>>> similarly to UserDataService; both can upload data for user lists, but 
>>> OfflineUserDataJobs are processed asynchronously. 
>>>
>>> Let us know if you have any further questions.
>>>
>>> Regards, 
>>> [image: Google Logo] 
>>> Yasar 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2UjHZN:ref
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/115edfb3-d9e2-42ef-a4f3-bb50b5512b14n%40googlegroups.com.
  • Us... 'Matan Shavit' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Matan Shavit' via Google Ads API and AdWords API Forum
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... 'Matan Shavit' via Google Ads API and AdWords API Forum
            • ... 'Matan Shavit' via Google Ads API and AdWords API Forum
              • ... 'Matan Shavit' via Google Ads API and AdWords API Forum
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... 'Matan Shavit' via Google Ads API and AdWords API Forum
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to