Re: Adwords API not returning Final URLs for ExpandedTextAds

2016-11-03 Thread Paul Grenyer
Thanks, Shwetha. I thought I'd tried this. Obviously I hadn't properly and it works. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=

Adwords API not returning Final URLs for ExpandedTextAds

2016-11-02 Thread Paul Grenyer
I'm trying to get the final url array from a Google Adwords Java API ExpandedTextAdd. I can get all of the other fields, such as the headlines, description and path urls, but calling getfinalUrls always returns null, even though the ad being requested has a final url. This is my selector: se

Re: Cant retrieve final url of expanded ads

2016-11-02 Thread Paul Grenyer
I'm having a similar problem, but using CreativeFinalUrls isn't fixing it for me: final SelectorBuilder selector = new SelectorFactory() .build(AdGroupAdField.Id, AdGroupAdField.AdGroupId, AdGroupAdField.Status, AdGroupAdFiel

How to get labels attached to Google Adwords Ads

2016-07-26 Thread Paul Grenyer
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 n