API Reference

Google Ads / API Reference

gads_set_ad_tracking_template

Google Ads tool (extended/low-level coverage). For common tasks prefer the RECOMMENDED google_ads_* actions; use these only for advanced operations those don't cover. Set the tracking URL template on an ad. Pass empty string to clear.

This is a write tool: it sets ad tracking template in your Google Ads account. Claude asks you to confirm before it runs.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Set ad tracking template in my Google Ads account for [ad id], [ad group id], [tracking url template].

It takes 3 required and 1 optional parameter.

Parameters

ParameterTypeRequiredDescription
ad_idstringYesAd Id
ad_group_idstringYesAd Group Id
tracking_url_templatestringYesTracking Url Template
customer_idstringNoCustomer Id

Related Google Ads tools

Before you can call it

This tool needs a connected Google Ads account. The Google Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads