Update Campaign url option

32 views
Skip to first unread message

denma test

unread,
Aug 12, 2020, 7:59:47 AM8/12/20
to AdWords API and Google Ads API Forum
 Hi,
Have done script to update Campaign URL option in campaign created, the trackingUrlTemplate abd finalUrlSuffix are updated and the problem is i cannot remove existing customParameter, however new customParameter are added but i want to know how can i remove existing customParameter. Thanks in advance.

Google Ads API Forum Advisor Prod

unread,
Aug 12, 2020, 3:17:02 PM8/12/20
to denm...@gmail.com, adwor...@googlegroups.com
Hi, 

Can you confirm if you are using Google Ads Scripts? It looks like you are referring to fields mentioned in this documentation. If so, I suggest posting your concern on their forum here.

If you are using AdWords API, you can refer to this guide to see how custom parameters can be properly updated. 

Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q23JZvm:ref

denma test

unread,
Aug 13, 2020, 1:53:22 AM8/13/20
to AdWords API and Google Ads API Forum
Hi Danica,
Actually i have done with create part, the problem is while edit campaign i want to remove existing custom parameters(not all, in specific) and want to add new custom parameters. can you clarify regarding this specific.

Google Ads API Forum Advisor Prod

unread,
Aug 13, 2020, 3:03:01 PM8/13/20
to denm...@gmail.com, adwor...@googlegroups.com
Hello,

An explanation on how to properly edit/update the custom parameters of a campaign is provided in the documentation I have sent you. Although the example shows how to specify custom parameters during creation of an ad, you can follow the same process to update the custom parameters of a campaign. If you have any specific questions or are encountering any errors, please provide detailed logs of the request and response via the Reply privately to author option. 

denma test

unread,
Aug 14, 2020, 4:28:05 AM8/14/20
to AdWords API and Google Ads API Forum
Hi,
Sorry, i cannot find exact informations on how to edit custom parameters with the link provided, can you please share more details possible with example in PHP how to do it. Also my need is simply i have two custom parameters in url, need to remove one from that.

Google Ads API Forum Advisor Prod

unread,
Aug 14, 2020, 4:01:07 PM8/14/20
to denm...@gmail.com, adwor...@googlegroups.com
Hello,

In this section of the documentation I provided, there is a PHP sample.
Image_2020-08-14_15-59-48.png
In order for me to help you further, can you provide your current code snippet or request logs?

Thanks,
Reply all
Reply to author
Forward
0 new messages