I want to be able to get the labels attached to a google adwords ad via the Java api.
I can get the ads: final AdGroupAdPage page = service.get(selector.build()); if (page.getEntries() == null) return; for (AdGroupAd ad : page.getEntries()) ads.add((TextAd)ad.getAd()); But there's no method to get label(s) from an Ad. I can list all the labels: Selector selector = new SelectorBuilder() .fields(LabelField.LabelName) .fields(LabelField.LabelId) .fields(LabelField.LabelStatus) .build(); LabelPage page = labelService.get(selector); if (page.getEntries() != null) { for (Label label : page.getEntries()) { System.out.println("Label id " + label.getId() + ", label name " + label.getName() + ", label status " + label.getStatus()); } } But I can't get the Ad ids they belong too. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 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/46e88be4-0c5f-4f0b-8297-4b5a395a15e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.