# Hermoso: set_linkedin_ads_tracking · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/set_linkedin_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_linkedin_ads_tracking

# `set_linkedin_ads_tracking`

LinkedIn ads dynamic UTM tracking destructive

Area: LINKEDIN GAP SWEEP PHASE 1 · [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

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

Parameter Type Description

`adAccountId` `string` LinkedIn ad account id shared with this profile; needed only when several are shared

`level` `"campaign" | "account"` default campaign when campaignId is given

`campaignId` `string` campaign to set tracking on; omit for account-level tracking with level account

`standard` `boolean` true sets the standard UTM set: source linkedin, medium paid_social, campaign and content filled per click

`dynamic` `object` UTM key mapped to a LinkedIn macro, e.g. {utm_campaign: CAMPAIGN_NAME}; a new set replaces the old

`custom` `object` UTM key mapped to a fixed value, e.g. {utm_source: newsletter}; a new set replaces the old

`clear` `boolean` true 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](https://hermoso.ai/docs/credits/).

## Related tools

- [preview_linkedin_ad](https://hermoso.ai/docs/reference/ads/preview_linkedin_ad/) Preview a LinkedIn ad + its review status
- [delete_linkedin_ads_object](https://hermoso.ai/docs/reference/ads/delete_linkedin_ads_object/) Delete a LinkedIn campaign group / campaign / ad
- [update_linkedin_ads_creative](https://hermoso.ai/docs/reference/ads/update_linkedin_ads_creative/) Edit a LinkedIn ad (copy, landing page, button, lead form)
- [create_linkedin_conversion_rule](https://hermoso.ai/docs/reference/ads/create_linkedin_conversion_rule/) Create a LinkedIn conversion rule
- [update_linkedin_lead_form](https://hermoso.ai/docs/reference/ads/update_linkedin_lead_form/) Edit or archive a LinkedIn lead gen form
- [list_linkedin_conversion_rules](https://hermoso.ai/docs/reference/ads/list_linkedin_conversion_rules/) List LinkedIn conversion rules
- [create_linkedin_lead_form](https://hermoso.ai/docs/reference/ads/create_linkedin_lead_form/) Create a LinkedIn lead gen form
- [update_linkedin_conversion_rule](https://hermoso.ai/docs/reference/ads/update_linkedin_conversion_rule/) Update or disable a LinkedIn conversion rule
- [associate_linkedin_conversion_campaigns](https://hermoso.ai/docs/reference/ads/associate_linkedin_conversion_campaigns/) Attach campaigns to a LinkedIn conversion rule
- [send_linkedin_conversions](https://hermoso.ai/docs/reference/ads/send_linkedin_conversions/) Send conversions to LinkedIn (Conversions API)

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