create_linkedin_ads_campaign
Create a LinkedIn campaign (draft) destructive
Description
Create a LinkedIn campaign inside an existing campaign group. Created DRAFT — it spends NOTHING until activated with set_linkedin_ads_status(confirm:true) — and a campaign on its own carries no creative, so it cannot serve an impression. Budget amounts are in the ad account’s currency; tell the user that LinkedIn may spend UP TO 150% of a daily budget on a high-opportunity day before they pick a number. Two LinkedIn behaviours to repeat rather than hide: on manual, target-cost or cost-cap bidding a unitCost of 0 means the campaign never delivers, and LinkedIn DEFERS some validation on DRAFT objects, so a clean create can still fail at activation — never promise it will run. TARGETING IS MANDATORY on LinkedIn — a campaign with no audience is refused outright — so pass locations (and optionally include/exclude facets like titles, industries, seniorities or staffCountRanges), or a raw targetingCriteria. Resolve every targeting value with search_linkedin_ads_targeting first: they are opaque URNs and MUST NOT be invented. LinkedIn’s own enums for type, objectiveType and costType are passed straight through, and LinkedIn’s refusal is surfaced verbatim if one is wrong. Read back before you are told it exists.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | LinkedIn ad account id from list_linkedin_ads_campaigns |
campaignGroupIdrequired | string | the campaign group this campaign lives in — LinkedIn requires one |
namerequired | string | campaign name |
type | string | LinkedIn campaign type, e.g. SPONSORED_UPDATES |
objectiveType | string | LinkedIn objective, e.g. WEBSITE_VISIT |
costType | string | CPM / CPC / CPV |
dailyBudget | number | daily budget in the ad account currency |
totalBudget | number | total budget in the ad account currency; optional |
unitCost | number | the bid |
currencyCode | string | must match the ad account currency, e.g. USD |
locale | object | LinkedIn locale object (country, language); leave unset for the default en/US |
country | string | campaign locale country, default US — this is the ad UI language market, NOT geo targeting. NEVER derive it from where the ad should run: targeting Canada still uses the US/en locale (LinkedIn refuses en_CA). Leave it alone unless the user explicitly asks for a different interface language. |
language | string | campaign locale language, default en |
locations | string[] | REQUIRED unless targetingCriteria is given — geo URNs or bare geo ids from search_linkedin_ads_targeting |
include | object | further targeting facets ANDed onto locations, e.g. {titles:[…], industries:[…], seniorities:[…], staffCountRanges:[…]} |
exclude | object | facets to exclude, same shape |
excludeLocations | string[] | geo URNs or ids to exclude from targeting |
targetingCriteria | object | LinkedIn’s raw targeting object — passed through and overrides locations/include/exclude |
startDate | string | YYYY-MM-DD; defaults to today |
endDate | string | YYYY-MM-DD; omit for an open-ended run |
runSchedule | object | raw LinkedIn runSchedule object; startDate and endDate are simpler |
organizationId | string | the LinkedIn company Page this campaign advertises — LinkedIn REQUIRES it for Sponsored Content, Dynamic and Lead Gen campaigns |
format | string | LinkedIn creative format value, passed through to LinkedIn |
optimizationTargetType | string | LinkedIn optimization target value, passed through as LinkedIn names it |
audienceExpansionEnabled | boolean | true lets LinkedIn expand delivery beyond the targeted audience |
offsiteDeliveryEnabled | boolean | also serve on the LinkedIn Audience Network; default false |
politicalIntent | "POLITICAL" | "NOT_POLITICAL" | "NOT_DECLARED" | REQUIRED for EU locations: ask the user (“I confirm this is not political advertising.”); never answer for them |
status | "DRAFT" | "ACTIVE" | "PAUSED" | "ARCHIVED" | default DRAFT |
confirm | boolean | REQUIRED true to create it ACTIVE under a LIVE campaign group |
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/create_linkedin_ads_campaign.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_linkedin_ads_campaign","arguments":{"campaignGroupId":"<string>","name":"<string>"}}}
CLI
hermoso call create_linkedin_ads_campaign --json '{"campaignGroupId":"<string>","name":"<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.
Related tools
set_linkedin_ads_statusActivate or pause a LinkedIn campaign group / campaign / adsearch_linkedin_ads_targetingFind LinkedIn targeting URNscreate_linkedin_ads_campaign_groupCreate a LinkedIn campaign group (draft)update_linkedin_ads_campaignChange a LinkedIn campaign’s targeting or political declarationlinkedin_boost_analyticsLinkedIn boost resultsset_linkedin_ads_budgetSet a LinkedIn campaign budgetmanage_linkedin_boost_audienceCreate, edit or delete a saved LinkedIn boost audiencelist_linkedin_boost_audiencesSaved LinkedIn boost audiencesupdate_linkedin_boostChange a LinkedIn boost’s audiencecreate_linkedin_ads_creativeCreate a LinkedIn ad (creative, draft)