# Hermoso: update_linkedin_ads_campaign · Hermoso developer docs

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

# `update_linkedin_ads_campaign`

Change a LinkedIn campaign’s targeting or political declaration destructive

Area: LINKEDIN POST BOOSTING · [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

Change an existing LinkedIn campaign’s targeting (sent whole), its political-advertising declaration, and/or its name. EU locations need the advertiser’s own declaration: ask, show LinkedIn’s wording (“I confirm this is not political advertising.”), pass politicalIntent only on their answer. Targeting on a LIVE campaign needs confirm:true. Read back from LinkedIn.

## Parameters

Parameter Type Description

`adAccountId` `string` LinkedIn ad account id

`campaignId` required `string` campaign id

`name` `string`

`locations` `string[]` geo URNs or ids, the new audience

`include` `object` facets ANDed onto locations

`exclude` `object`

`excludeLocations` `string[]`

`targetingCriteria` `object` LinkedIn’s raw targeting object

`politicalIntent` `"POLITICAL" | "NOT_POLITICAL" | "NOT_DECLARED"` the user’s own declaration

`confirm` `boolean` true to retarget a LIVE campaign

## 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/update_linkedin_ads_campaign`.

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

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_linkedin_ads_campaign","arguments":{"campaignId":"<string>"}}}`
**CLI**

`hermoso call update_linkedin_ads_campaign --json '{"campaignId":"<string>"}'`

## 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

- [create_linkedin_ads_campaign](https://hermoso.ai/docs/reference/ads/create_linkedin_ads_campaign/) Create a LinkedIn campaign (draft)
- [set_linkedin_ads_budget](https://hermoso.ai/docs/reference/ads/set_linkedin_ads_budget/) Set a LinkedIn campaign budget
- [create_linkedin_ads_campaign_group](https://hermoso.ai/docs/reference/ads/create_linkedin_ads_campaign_group/) Create a LinkedIn campaign group (draft)
- [set_linkedin_ads_status](https://hermoso.ai/docs/reference/ads/set_linkedin_ads_status/) Activate or pause a LinkedIn campaign group / campaign / ad
- [linkedin_boost_analytics](https://hermoso.ai/docs/reference/ads/linkedin_boost_analytics/) LinkedIn boost results
- [search_linkedin_ads_targeting](https://hermoso.ai/docs/reference/ads/search_linkedin_ads_targeting/) Find LinkedIn targeting URNs
- [manage_linkedin_boost_audience](https://hermoso.ai/docs/reference/ads/manage_linkedin_boost_audience/) Create, edit or delete a saved LinkedIn boost audience
- [create_linkedin_ads_creative](https://hermoso.ai/docs/reference/ads/create_linkedin_ads_creative/) Create a LinkedIn ad (creative, draft)
- [list_linkedin_boost_audiences](https://hermoso.ai/docs/reference/ads/list_linkedin_boost_audiences/) Saved LinkedIn boost audiences
- [update_linkedin_boost](https://hermoso.ai/docs/reference/ads/update_linkedin_boost/) Change a LinkedIn boost’s audience

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