I am using version 9 of com.google.ads.googleads . I was using the following code snippet to get the UserList.
try (UserListServiceClient userListServiceClient = googleAdsClient.getLatestVersion().createUserListServiceClient()){ UserList userList = userListServiceClient.getUserList(resourceName); return userList; } catch (Exception e) { e.printStackTrace(); }As version 9 is deprecated, I am trying to migrate to version 12 but I am not able to find the equivalent method in version 12.
Thanks
Hi Ajit,
Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
With regards to your concern, you may refer to this guide and this sample code on how to Add Logical User List in version 12.
Regards,
|
||||||
|
||||||
|
||||||