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 document for more information.

To remove all users from a list, set remove_all to true in an 
OfflineUserDataJobOperation, then issue a 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 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.
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,

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 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/mc3RE000000000000000000000000000000000000000000000S8JHYZ00QqtVjyB3TNiHlzsVlnxOOQ%40sfdc.net.
  • Cu... Daniel Vasilan
    • ... Daniel Vasilan
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Daniel Vasilan
          • ... Daniel Vasilan
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to