# Hermoso: set_google_ads_tracking · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/set_google_ads_tracking/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / set_google_ads_tracking

# `set_google_ads_tracking`

Set UTMs / tracking on a Google Ads campaign, ad group or ad destructive

Area: GOOGLE DATA MANAGER · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Set the FINAL URL SUFFIX (the UTMs added to every click), tracking template and custom parameters on a Google Ads campaign, ad group or ad; a lower level overrides a higher one. "" clears a field; utmDefault:true applies our standard UTMs (utm_source=google, utm_medium, utm_campaign=<name>, utm_id={campaignid}, utm_content={creative}). New campaigns already get those unless you say otherwise. Read back from Google.

## Parameters

Parameter Type Description

`customerId` `string` 10-digit account id; omit to use the brand's selected default account

`campaignId` `string` campaign to set tracking on; use with level campaign

`adGroupId` `string` ad group to set tracking on; use with level adGroup

`adId` `string` ad to set tracking on; use with level ad

`level` `"campaign" | "adGroup" | "ad"` follows the id you pass

`finalUrlSuffix` `string` UTM string appended to every click, e.g. utm_source=google&utm_medium=cpc; empty string clears it

`trackingUrlTemplate` `string` click-tracking redirect template, e.g. {lpurl}?src=x; empty string clears it

`urlCustomParameters` `object` up to 8 custom URL parameters as a key/value object, used in URLs as {_key}

`utmDefault` `boolean` true = apply the standard UTMs (utm_source, utm_medium, utm_campaign, utm_id, utm_content)

`confirm` `boolean` needed to change the tracking redirect on a LIVE campaign

`dryRun` `boolean` true = validate with Google and change nothing

`loginCustomerId` `string` manager (MCC) account id when acting through a manager account; omit otherwise

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/set_google_ads_tracking`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_google_ads_tracking","arguments":{}}}`
**CLI**

`hermoso call set_google_ads_tracking --json '{}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [manage_google_ads_assets](https://hermoso.ai/docs/reference/ads/manage_google_ads_assets/) List, edit, pause or detach Google Ads assets
- [manage_google_ads_audience](https://hermoso.ai/docs/reference/ads/manage_google_ads_audience/) Find or build Google Ads audiences
- [google_ads_policy_issues](https://hermoso.ai/docs/reference/ads/google_ads_policy_issues/) Why Google rejected or limited an ad
- [set_google_ads_audiences](https://hermoso.ai/docs/reference/ads/set_google_ads_audiences/) Target or exclude audiences on Google Ads
- [preview_google_ads_ad](https://hermoso.ai/docs/reference/ads/preview_google_ads_ad/) Shareable Google Ads preview link
- [upload_google_ads_video](https://hermoso.ai/docs/reference/ads/upload_google_ads_video/) Upload a video straight into Google Ads
- [manage_google_ads_recommendations](https://hermoso.ai/docs/reference/ads/manage_google_ads_recommendations/) Apply / dismiss Google Ads recommendations, or set auto-apply
- [create_google_ads_demand_gen_campaign](https://hermoso.ai/docs/reference/ads/create_google_ads_demand_gen_campaign/) Create a Google Demand Gen video campaign (YouTube Shorts, in-feed, in-stream)
- [google_ads_recommendations](https://hermoso.ai/docs/reference/ads/google_ads_recommendations/) Google Ads recommendations + optimization score
- [set_google_ads_asset_automation](https://hermoso.ai/docs/reference/ads/set_google_ads_asset_automation/) Read or change what Google may make from the creative (text on videos, video cuts, written text)

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
