Bharani, thanks for an explanation. Do I understand correctly that there is no way to "replace" the members of the list except running removeAll operation?
On Thursday, December 28, 2017 at 11:19:44 PM UTC+2, Bharani Cherukuri (AdWords API Team) wrote: > > Hello, > > You can perform the removeAll > <https://developers.google.com/adwords/api/docs/reference/v201708/AdwordsUserListService.MutateMembersOperand#removeall> > operation > on a CrmBasedUserList to remove all the members from the user list. > However, you will have to call the REMOVE operator on the user list and > then wait for several hours to confirm if the remove status is successful > and then ADD the new members to the existing list. You can also check for > the DataUploadResult. > <http://www.google.com/url?q=http%3A%2F%2Fdatauploadresult.%2F&sa=D&sntz=1&usg=AFQjCNFnKOShPOfMoGgB-huMx0RD5G1wXQ> > removeAllStatus > <https://developers.google.com/adwords/api/docs/reference/v201710/AdwordsUserListService.DataUploadResult#removeallstatus> > to > see the status of the remove-all operation. The AddCrmBasedUserList > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-java-lib%2Fblob%2Fmaster%2Fexamples%2Fadwords_axis%2Fsrc%2Fmain%2Fjava%2Fadwords%2Faxis%2Fv201708%2Fremarketing%2FAddCrmBasedUserList.java&sa=D&sntz=1&usg=AFQjCNEhGlxKKq3bliN46_K07KH3pi35Iw> > Java > example shows how to add a user list and upload members to populate the > list. Example code in other languages is available here > <https://developers.google.com/adwords/api/docs/clientlibraries>. Let me > know if you have any other questions. > > Thanks, > Bharani, AdWords API Team > > On Thursday, December 28, 2017 at 2:19:15 PM UTC-5, Дмитро Булах wrote: >> >> Hello >> >> I'm trying to replace all records in my CRM based user list with given >> list of hashed emails. >> >> Here are the steps I'm following: >> 1. Get the list based on its ID >> 2. Call `mutate` with operator `SET` for retrieved list >> 3. Call `mutateMembers` with operator `ADD` and my list of hashed emails. >> >> Could anyone confirm that this is the right way of replacing members in >> the list? >> I have only short lists for testing purposes and cannot detect any >> changes in list after running `mutate` with operator `SET` >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/957aca0d-7ee7-4249-bc88-f7c85aa7dfde%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
