Hi Jon, Sorry for the delay as I was checking with my team on this. Instead, you will need to create an Info object (e.g., CrmBasedUserListInfo) and set it to the UserList object via the setCrmBasedUserList() method.
CrmBasedUserListInfo userList = CrmBasedUserListInfo.newBuilder() .setUploadKeyType(CustomerMatchUploadKeyType.CONTACT_INFO) .build(); UserList newUserList = UserList.newBuilder() .setName(StringValue.of("Oler user list test 1")) .setCrmBasedUserList(userList) .build(); UserListOperation userListOperation = UserListOperation.newBuilder() .setCreate(newUserList) .build(); That is, steps similar toAddExpandedTextAds <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogle-ads-java%2Fblob%2Fmaster%2Fgoogle-ads-examples%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Fads%2Fgoogleads%2Fexamples%2Fbasicoperations%2FAddExpandedTextAds.java%23L109&sa=D&sntz=1&usg=AFQjCNHx77dGqN13a5BLa36pnp3net4GyA> example. Regards, Dhanya, 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/678c3c9d-31c6-4ee3-8d65-2037ac457f71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.