Add ad ID as URL parameter

96 views
Skip to first unread message

Vladimir Tatarsky

unread,
Sep 27, 2017, 4:35:36 AM9/27/17
to AdWords API Forum
Hi guys!
Is that possible to add an advertisment ID as URL parameter somehow? 
We need that for Analytics.
I know that Ad object is immutable. Is there any workaround? 

Thanks, Vladimir

Peter Oliquino

unread,
Sep 27, 2017, 6:12:45 AM9/27/17
to AdWords API Forum
Hi Vladimir,

I'm afraid that you will have to REMOVE the Ad first and ADD them back along with the UrlCustomParameters you wish to include or modify.

Best regards,
Peter
AdWords API Team

Vladimir Tatarsky

unread,
Sep 27, 2017, 7:03:58 AM9/27/17
to AdWords API Forum
Hi Peter, thanks for answer. 
But new ads will have new, different ID's or not? 
Also, custom parameters I need to add are `utm_source`, `utm_medium` etc, and underscores in parameter keys are not allowed.
I guess I have to simply add my parameters to URL then?

Peter Oliquino

unread,
Sep 28, 2017, 12:18:15 AM9/28/17
to AdWords API Forum
Hi Vladimir,

Yes, the newly created ads will also have new IDs. You may also refer to this guide on how to add URL parameters into your ads and as for the allowed string values in the URL parameters, you may consult the product experts in the AdWords Community Forum for further assistance.
Reply all
Reply to author
Forward
0 new messages