hermosodocs

update_linkedin_ads_campaign

Change a LinkedIn campaign’s targeting or political declaration destructive

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

ParameterTypeDescription
adAccountIdstringLinkedIn ad account id
campaignIdrequiredstringcampaign id
namestring
locationsstring[]geo URNs or ids, the new audience
includeobjectfacets ANDed onto locations
excludeobject
excludeLocationsstring[]
targetingCriteriaobjectLinkedIn’s raw targeting object
politicalIntent"POLITICAL" | "NOT_POLITICAL" | "NOT_DECLARED"the user’s own declaration
confirmbooleantrue 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.

All 759 Ad campaign management tools · tools.json