hermosodocs

set_google_ads_tracking

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

Area: GOOGLE DATA MANAGER · Ad campaign management. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
customerIdstring10-digit account id; omit to use the brand's selected default account
campaignIdstringcampaign to set tracking on; use with level campaign
adGroupIdstringad group to set tracking on; use with level adGroup
adIdstringad to set tracking on; use with level ad
level"campaign" | "adGroup" | "ad"follows the id you pass
finalUrlSuffixstringUTM string appended to every click, e.g. utm_source=google&utm_medium=cpc; empty string clears it
trackingUrlTemplatestringclick-tracking redirect template, e.g. {lpurl}?src=x; empty string clears it
urlCustomParametersobjectup to 8 custom URL parameters as a key/value object, used in URLs as {_key}
utmDefaultbooleantrue = apply the standard UTMs (utm_source, utm_medium, utm_campaign, utm_id, utm_content)
confirmbooleanneeded to change the tracking redirect on a LIVE campaign
dryRunbooleantrue = validate with Google and change nothing
loginCustomerIdstringmanager (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.

All 759 Ad campaign management tools · tools.json