hermosodocs

set_linkedin_ads_tracking

LinkedIn ads dynamic UTM tracking destructive

Area: LINKEDIN GAP SWEEP PHASE 1 · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Dynamic UTM tracking for LinkedIn ads: parameters LinkedIn appends to every ad’s landing page on a campaign (or, level:"account", across the whole ad account), filled in per click. standard:true sets utm_source=linkedin, utm_medium=paid_social, utm_campaign={campaign name}, utm_content={creative id}. Or pass dynamic {key: ACCOUNT_ID | ACCOUNT_NAME | CAMPAIGN_GROUP_ID | CAMPAIGN_GROUP_NAME | CAMPAIGN_ID | CAMPAIGN_NAME | CREATIVE_ID | CREATIVE_NAME} and/or custom {key: fixed value}. A new set REPLACES the previous one; clear:true removes it; call with no parameters to read what is set. Ads do not go back through review. Read back from LinkedIn. Free.

Parameters

ParameterTypeDescription
adAccountIdstringLinkedIn ad account id shared with this profile; needed only when several are shared
level"campaign" | "account"default campaign when campaignId is given
campaignIdstringcampaign to set tracking on; omit for account-level tracking with level account
standardbooleantrue sets the standard UTM set: source linkedin, medium paid_social, campaign and content filled per click
dynamicobjectUTM key mapped to a LinkedIn macro, e.g. {utm_campaign: CAMPAIGN_NAME}; a new set replaces the old
customobjectUTM key mapped to a fixed value, e.g. {utm_source: newsletter}; a new set replaces the old
clearbooleantrue removes all dynamic tracking parameters

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_linkedin_ads_tracking.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_linkedin_ads_tracking","arguments":{}}}

CLI

hermoso call set_linkedin_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