Hi, *"To update your lists with the latest data, it is generally more efficient to append or remove individual users, rather than removing all users from the list and uploading them from scratch. I would suggest you refer to the Manage customer list <https://developers.google.com/google-ads/api/docs/remarketing/audience-segments/customer-match/manage> document for more information."*
Well, normally I would agree with this approach. I've explained already where the problem is: "Based on your documentation, we *cannot mix create and remove* operations in the same offline job. Also, we* cannot have concurrently running jobs*, one for removal and one for adding new data on the same user list. We cannot have them run in sequence, since there is no guarantee on when the other job is finishing and cannot wait for it, because of the extremely long duration of these processes." So, how should we design an *append and remove* process ? *"Also, note that remove_all operations are executed hourly, and could run for up to 24 hours."* *I* didn't find this in your docs (maybe a link where this info is found will help). Can you elaborate on why is it running 24h? I can hardly understand the match process duration, but is the remove_all doing more than what the name suggests? *"Hope that helps. Let me know if you have any further questions."* Yes, I had and I'll repeat it: "What is the impact of this on the processes that uses the data from this list? Will they find an empty or partially loaded user list while the job is executing? We want to asses the risks and implications, before moving on with this solution" Thanks! On Thursday, February 8, 2024 at 3:40:39 PM UTC+2 Google Ads API Forum Advisor wrote: > Hi Daniel, > > Thank you for getting back to us. > > To update your lists with the latest data, it is generally more efficient > to append or remove individual users, rather than removing all users from > the list and uploading them from scratch. I would suggest you refer to the > Manage > customer list > <https://developers.google.com/google-ads/api/docs/remarketing/audience-segments/customer-match/manage> > > document for more information. > > To remove all users from a list, set remove_all to true in an > OfflineUserDataJobOperation > <https://developers.google.com/google-ads/api/reference/rpc/v15/OfflineUserDataJobOperation>, > > then issue a RunOfflineUserDataJob > <https://developers.google.com/google-ads/api/reference/rpc/v15/OfflineUserDataJobService#runofflineuserdatajob> > > request with the resource name associated with the remove_all operation. > Note that when a remove_all operation is included, it must be the first > operation in a job. If not, then running the job returns an > INVALID_OPERATION_ORDER > <https://developers.google.com/google-ads/api/reference/rpc/v15/OfflineUserDataJobErrorEnum.OfflineUserDataJobError#invalid_operation_order> > > error. To completely replace the members of a user list with new members, > order the operations in AddOfflineUserDataJobOperationsRequest in this > sequence. > > To replace the members of a list in the API you'll want to do the > following: > > - To completely replace the members of a user list with new members, > order the operations in AddOfflineUserDataJobOperationsRequest in this > sequence: > - Set remove_all to true in an OfflineUserDataJobOperation > > <https://developers.google.com/google-ads/api/reference/rpc/v13/OfflineUserDataJobOperation> > . > - For each new member, add a create operation setting > their UserData in an OfflineUserDataJobOperation. > - When you run your job, the Google Ads API will first mark all > current members of the list for removal, and then apply > the create operations. > > Also, note that remove_all operations are executed hourly, and could run > for up to 24 hours. Hope that helps. Let me know if you have any further > questions. > > > This message is in relation to case "ref:!00D1U01174p.!5004Q02rytff:ref" > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/08ecadf5-1b38-4515-837b-8c21130c7163n%40googlegroups.com.
