create_linkedin_ads_creative
Create a LinkedIn ad (creative, draft) destructive
Description
Create the AD ITSELF on LinkedIn — a CREATIVE inside an existing campaign. A LinkedIn campaign holds no copy and no visual, so until this runs the campaign CANNOT show an impression no matter what its status says; say that rather than calling a campaign "live". Two ways in: pass postUrn to sponsor a post that already exists (LinkedIn’s "boost this post"), or pass text and/or imageUrl / videoUrl / documentUrl (a PDF/PPTX/DOCX document ad) to author a DIRECT SPONSORED CONTENT post — a real post by a company Page the user administers that is NEVER shown on the Page’s feed and exists only as an ad. Created DRAFT: it spends nothing until you activate it with set_linkedin_ads_status(level:"creative", status:"ACTIVE", confirm:true). Creating it ACTIVE under an already-live campaign starts REAL AD SPEND on the very next auction and therefore requires confirm:true. LEAD GEN ADS: under a LEAD_GENERATION campaign pass leadFormId (create_linkedin_lead_form makes one) — LinkedIn requires it there. The whole tree — group, campaign and every creative — is read back from LinkedIn before you are told anything exists.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | LinkedIn ad account id shared with this profile; needed only when several are shared |
campaignIdrequired | string | the campaign this ad belongs to |
name | string | the creative’s name in Campaign Manager |
postUrn | string | sponsor an EXISTING post — urn:li:share:… / urn:li:ugcPost:… (what post_to_linkedin_page returned) |
organizationId | string | the company Page that authors the Direct Sponsored Content post; omit only when the connection administers exactly one Page |
text | string | the ad copy |
imageUrl | string | a Hermoso-hosted image to attach — a render, or the user’s OWN creative put through upload_file first (an arbitrary external host is refused) |
videoUrl | string | a Hermoso-hosted video to attach — a render, or the user’s own footage via upload_file |
title | string | title of an uploaded document or video ad (max 200 characters) |
altText | string | image alt text for accessibility, for a single-image ad |
allowReshare | boolean | true lets viewers reshare the sponsored post; default false (reshare disabled) |
landingPage | string | WHERE THE AD SENDS THE CLICK — a full https URL (a Hermoso page works: publish_page), sent as LinkedIn’s contentLandingPage. REQUIRED when the campaign objective is WEBSITE_VISIT (refused here, for free, without it). Only for a NEW sponsored post: an existing postUrn keeps its own link. |
callToAction | "APPLY" | "DOWNLOAD" | "VIEW_QUOTE" | "LEARN_MORE" | "SIGN_UP" | "SUBSCRIBE" | "REGISTER" | "JOIN" | "ATTEND" | "REQUEST_DEMO" | "SEE_MORE" | "BUY_NOW" | "SHOP_NOW" | the BUTTON on the ad (contentCallToActionLabel) — needs landingPage. Omit for no button. |
leadFormId | string | LEAD GEN ADS: the lead gen form this ad opens (create_linkedin_lead_form / list_linkedin_lead_forms). REQUIRED under a LEAD_GENERATION campaign and refused under any other objective |
leadButton | "APPLY" | "DOWNLOAD" | "VIEW_QUOTE" | "LEARN_MORE" | "SIGN_UP" | "SUBSCRIBE" | "REGISTER" | "REQUEST_DEMO" | "JOIN" | "ATTEND" | "UNLOCK_FULL_DOCUMENT" | "SHOP_NOW" | "BUY_NOW" | "SEE_MORE" | the lead gen button label, default LEARN_MORE (UNLOCK_FULL_DOCUMENT for a gated document) |
documentUrl | string | DOCUMENT AD: a PDF / PPTX / DOCX shown as a swipeable document in the feed — Hermoso-hosted, so upload_file it first |
gatedPreviewPages | number | document ad under a LEAD_GENERATION campaign only: pages shown free before the lead form unlocks the rest |
intendedStatus | "DRAFT" | "ACTIVE" | "PAUSED" | "ARCHIVED" | default DRAFT |
confirm | boolean | REQUIRED true to create it ACTIVE under a LIVE campaign (real spend) |
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_creative.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_linkedin_ads_creative","arguments":{"campaignId":"<string>"}}}
CLI
hermoso call create_linkedin_ads_creative --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.
Related tools
set_linkedin_ads_statusActivate or pause a LinkedIn campaign group / campaign / adcreate_linkedin_lead_formCreate a LinkedIn lead gen formsearch_linkedin_ads_targetingFind LinkedIn targeting URNsset_linkedin_ads_budgetSet a LinkedIn campaign budgetupdate_linkedin_ads_campaignChange a LinkedIn campaign’s targeting or political declarationcreate_linkedin_ads_campaignCreate a LinkedIn campaign (draft)create_linkedin_ads_campaign_groupCreate a LinkedIn campaign group (draft)linkedin_boost_analyticsLinkedIn boost resultsmanage_linkedin_boost_audienceCreate, edit or delete a saved LinkedIn boost audiencelist_linkedin_boost_audiencesSaved LinkedIn boost audiences