Java Ad.getFinalUrls() returns null

86 views
Skip to first unread message

Laura L.

unread,
Mar 26, 2015, 8:32:17 AM3/26/15
to adwor...@googlegroups.com
Hi,

I currently use Adwords API version 201502 for Java. When I call for the Ads through AdGroupAdService, the function getFinalUrls() always returns null for each Ads, even though these Ads have their Final URLs set to some value. And I can obtain the other fields from these Ads with their respective functions (id, displayUrl, ad type), so I don't think there's an error in my code.

Is this a bug?

Anash P. Oommen (AdWords API Team)

unread,
Mar 26, 2015, 3:54:55 PM3/26/15
to adwor...@googlegroups.com
Hi Laura,

Have you specified CreativeFinalUrls as a selector field in the AdGroupAdService.get() call? See https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201502-AdGroupAdService for the list of all selector fields.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages