Hi Team, How to get the list of AdGroups the Audience is connected to? We can get the reverse thing ie the List of Audience(UserList) connected to a AdGroups using below Adwords API.
AdGroupCriterionPage adGroupCriterionPage = adGroupCriterionService.get( new SelectorBuilder() .fields("AdGroupId","UserListId") .equals("CriteriaType",CriterionType._USER_LIST) .equals("AdGroupId","624760644934") .build()); if(adGroupCriterionPage.getEntries()!=null){ for (AdGroupCriterion adGroupCriterionList : adGroupCriterionPage.getEntries()) { CriterionUserList criterionUserList = (CriterionUserList)adGroupCriterionList.getCriterion(); System.out.printf("AdGroup id: %d, UserListId: %s", adGroupCriterionList.getAdGroupId(), criterionUserList.getUserListId()); System.out.println(); } } Regards, Anurag Sinha -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/bc2d72ca-b696-4a43-bfcd-7c38da68813an%40googlegroups.com.