Skip to first unread message

Dominic Asche

unread,
Jun 18, 2015, 2:34:57 AM6/18/15
to adwor...@googlegroups.com
Hi,
my question is about how to obtain tracking template settings over API:


Sitiuation
We are replacing the URLs of our clients AdWords over API  to redirect them to one of our landingpage
For backup reasons, we'd like to get the finale URL for any keyword / Ad 

Problem
Since the introduction of tracking templates we are struggeling to retrieve the URL for keywords and Ads, as URL might be controlled on keyword level or via tracking template on AdGroup or global level.

Question
Trying to gather the tracking templates, lpurl, keywordURL etc.. we call the AdGroupAdService with i.e. "FinalUrl" but we get the ErrorMSG:
[SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'FinalUrls']
When we call it with "CreativeFinalUrls" we get an emtpy response. 

--> so the question is, how to gather the URLs?


Thanks upfront for any hint.
Dominic


Anthony Madrigal

unread,
Jun 18, 2015, 12:38:19 PM6/18/15
to adwor...@googlegroups.com, domini...@googlemail.com
Hi Dominic,

Could you please double check to see whether the ads you are selecting have been migrated to Upgraded Urls? You could do this by checking if "Url" (Ad.url) is not null. Ads will either have CreativeFinalUrls or Url.

Regards,
Anthony
AdWords API Team

Dominic Asche

unread,
Jun 19, 2015, 4:44:42 AM6/19/15
to adwor...@googlegroups.com, domini...@googlemail.com
Thanks Anthony - your hint resolved our issues.
We implemented a simple check, .... if ad.url == null ... and now retrieve the urls from all ads.


THX!
Dominic
Reply all
Reply to author
Forward
0 new messages