Hi Thank you for the info.
If I want to create a new list with my preferred List ID, eg. 1234567890, which set methods should I use to set the List ID? // Creates the new user list. UserList userList = UserList.newBuilder() .setName("Customer Match list #" + getPrintableDateTime()) .setDescription("A list of customers that originated from email addresses") // Customer Match user lists can use a membership life span of 10,000 to indicate // unlimited; otherwise normal values apply. // Sets the membership life span to 30 days. .setMembershipLifeSpan(30) // Sets the upload key type to indicate the type of identifier that will be used to // add users to the list. This field is immutable and required for an ADD operation. .setCrmBasedUserList( CrmBasedUserListInfo.newBuilder() .setUploadKeyType(CustomerMatchUploadKeyType. CONTACT_INFO)) .build(); If I want to remove all data from an existing list which has List ID 1234567890, how do I indicate to remove from this List ID? On Tuesday, 13 December 2022 at 00:29:40 UTC+8 adsapi wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > You are using correct example that only you can create a new list through > Google Ads API and not update an existing list. You may need to remove > existing user list then add new updated user list. Listed in this section > <https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match?hl=en#remove_data_from_a_customer_match_audience_list> > of > our customer match > <https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match?hl=en> > guide > are the ways you can initially remove the audiences. > > Later on once you have removed the previous audiences, you may then use > the example you specified earlier, to add new audiences into your customer > match user lists. You can also refer to the considerations listed here > <https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match?hl=en#customer_match_considerations>, > > where one of the items states : > > > > *To completely replace the members of a user list with new members, order > the operations in AddOfflineUserDataJobOperationsRequest in this sequence: > 1. Set remove_all to true in an OfflineUserDataJobOperation. 2. For each > new member, add a create operation setting their UserData in an > OfflineUserDataJobOperation.* > > Let me know if this helps clarify your concern. > > Thanks, > [image: Google Logo] > Nirmita > Google Ads API Team > > > ref:_00D1U1174p._5004Q2h1wGQ: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/6f088481-92b3-4b82-bd54-02ad647b8762n%40googlegroups.com.