Tracking templates URL redirect

14 views
Skip to first unread message

kizit...@yahoo.com

unread,
Oct 31, 2017, 5:16:30 PM10/31/17
to AdWords API Forum
I would like to consult, how to write a third-party URL tracking template
My final url is www.example.com, but the tracking URL is www.track.com
And then from www.track.com, how to write code,then it will point to www.example.com
just like redirect or not ?
here is my code ,it can redirect to www.example.com,but google blocked me ,he said this is wrong writing


<?php
header("Location: https://www.example.com/");
exit;
?>

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Nov 1, 2017, 11:56:59 AM11/1/17
to AdWords API Forum
Hi, 

You can set tracking templates for the supported entities which are listed here. Are you using AdWords API and facing issues? If so, could you please elaborate and share the SOAP logs of the operation which is failing? You can refer to the code samples to get an idea on how to use upgraded urls and the tracking templates using the API. To read more about final Urls and tracking templates in AdWords please refer to this document. 

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages