Ad Customizers Feed Keyword based dynamic URL

1,157 views
Skip to first unread message

MCC Test

unread,
Dec 30, 2015, 12:33:43 PM12/30/15
to AdWords API Forum
Hello All,

I am trying to set up the ad customizers with keyword targeting, basically I need to set the destination URL of Ads as per target keyword, but I am not able to find any way to feed dynamic URL with ad customizers.

Can anyone tell me is there any way to do so?

Thanks,
Ronak Shah

Anthony Madrigal

unread,
Dec 30, 2015, 5:01:20 PM12/30/15
to AdWords API Forum
Hello Ronak,

When using Ad Customizers, you cannot use them to replace final or destination Urls. Instead, I suggest using tracking templates, as it's described in our Upgraded Urls guide.

Cheers,
Anthony
AdWords API Team

MCC Test

unread,
Dec 30, 2015, 10:41:32 PM12/30/15
to AdWords API Forum
Hello Anthony,

Thank you for the response, I looked into tracking templates documentation but again I could only set tracking templates with custom parameter like this

$textAd->trackingUrlTemplate =
'http://tracker.example.com/' .
'&u={lpurl}';

Also documentation says value of lpurl needs to be same as final url.So again we get back to same point how to have dynamic destination url.

Let me tell you whole scenario I have 10,000 products and I don't want to create 10k ads for all instead I will create one dynamic feeding ad and one ad customizer which will feed dynamic values in text ad based based on target keyword and for each keyword landing page url is different.

Please suggest!!

Thanks,
Ronak Shah

MCC Test

unread,
Dec 30, 2015, 11:48:19 PM12/30/15
to AdWords API Forum
Hello Anthony,

Also one more thing I see tracking URL templates is for third party tracking service whereas I don't have any third party tracking just redirect Users to actual landing page based on feed target keyword keyword.

Thanks,
Ronak

MCC Test

unread,
Jan 4, 2016, 9:21:47 AM1/4/16
to AdWords API Forum
Hello,

Any updates on this thread how can I achieve this functionality by API.I don't want to create 10k Ads but just need one dynamic Ad, which will feed dynamic values and landing Page URL should directly take to product page??

Please help!!

Thanks,
Ronak Shah 

Michael Cloonan (AdWords API Team)

unread,
Jan 4, 2016, 12:50:23 PM1/4/16
to AdWords API Forum
Hello,

The entire URL generated from the tracking template doesn't necessarily have to match the final URL, but the URL domain has to match.

So for example, if the final url is "www.example.com/landing-page", then you could have the tracking template say "www.example.com/{some-parameter}", and fill in that paremeter with different values to go to different landing pages depending on the customizer. However, if you generated a URL with the tracking template that came to "www.example2.com/landing-page", that would be rejected, because the URL domain doesn't match.

So you should only have to create one ad with a different final URL for each different domain you plan on using, rather than one per ad.

Regards,
Mike, AdWords API Team

MCC Test

unread,
Jan 4, 2016, 1:22:32 PM1/4/16
to AdWords API Forum
Hello Michael,

Thank you for your response.I followed the way exactly you said I set the tracking template like "http://www.example.com{=ProductFeed.parameter}" and I set Final URL as "http://www.example.com" the ads get created successfully but when I click that Ad on Adwords Editor It doesn't take me to the tracking template URL which I set for product, instead its directly taking me to Final URL.So I am not sure whether it will dynamically work when doing google search for that keyword.

Am I doing something wrong here???

Thanks,
Ronak Shah

Michael Cloonan (AdWords API Team)

unread,
Jan 4, 2016, 1:45:01 PM1/4/16
to AdWords API Forum
Hello,

I'm not familiar with AdWords Editor. You can check that the ad was made correctly by fetching it via the API as well and looking at the final URL and tracking template fields.

Regards,
Mike, AdWords API Team

MCC Test

unread,
Jan 4, 2016, 11:46:33 PM1/4/16
to AdWords API Forum
Hello Michael,

I checked pulling the ads via API all info looks good but now the only thing is When I place the tracking Template with "http:///www.example.com/{=ProductFeed.urlpath}" and when I click the Test button It says "Landing Page not found".

So does it means that I can't use Ad customizer in tracking template??

Thanks,
Ronak Shah 

Michael Cloonan (AdWords API Team)

unread,
Jan 5, 2016, 9:47:33 AM1/5/16
to AdWords API Forum
Hello,

I'm not terribly familiar with the "Test button" functionality, but if you're actually using example.com then that makes sense, since that URL was just an example and doesn't actually exist. If you are in fact using your own URL which should work and it's failing, that still may be normal, however you may want to check with experts on our UI over at the AdWords Community. This forum is specifically for help with the API.

Regards,
Mike, AdWords API Team

MCC Test

unread,
Jan 5, 2016, 10:01:33 AM1/5/16
to AdWords API Forum
Hello Michael,

The URL example.com is just for mentioning here on post replies , whereas on actual code I am using live domain.I am still not sure if setting customizers in Tracking template would work or not.Looks like I need to give a try for one ad on adwords account and check if it works, otherwise looks like there is no other option left except creating 10,000 Ads which is I think a bad approach atleast for such case.

Thanks,
Ronak Shah

nitzanm...@adgorithms.com

unread,
Jun 29, 2016, 10:08:34 AM6/29/16
to AdWords API Forum
Hi Ronak,
I wonder if you found any working solution for this issue.
Thanks,
Nitzan Margalit
Reply all
Reply to author
Forward
0 new messages