hermosodocs

create_linkedin_ads_creative

Create a LinkedIn ad (creative, draft) destructive

Area: LINKEDIN POST BOOSTING · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
adAccountIdstringLinkedIn ad account id shared with this profile; needed only when several are shared
campaignIdrequiredstringthe campaign this ad belongs to
namestringthe creative’s name in Campaign Manager
postUrnstringsponsor an EXISTING post — urn:li:share:… / urn:li:ugcPost:… (what post_to_linkedin_page returned)
organizationIdstringthe company Page that authors the Direct Sponsored Content post; omit only when the connection administers exactly one Page
textstringthe ad copy
imageUrlstringa Hermoso-hosted image to attach — a render, or the user’s OWN creative put through upload_file first (an arbitrary external host is refused)
videoUrlstringa Hermoso-hosted video to attach — a render, or the user’s own footage via upload_file
titlestringtitle of an uploaded document or video ad (max 200 characters)
altTextstringimage alt text for accessibility, for a single-image ad
allowResharebooleantrue lets viewers reshare the sponsored post; default false (reshare disabled)
landingPagestringWHERE 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.
leadFormIdstringLEAD 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)
documentUrlstringDOCUMENT AD: a PDF / PPTX / DOCX shown as a swipeable document in the feed — Hermoso-hosted, so upload_file it first
gatedPreviewPagesnumberdocument ad under a LEAD_GENERATION campaign only: pages shown free before the lead form unlocks the rest
intendedStatus"DRAFT" | "ACTIVE" | "PAUSED" | "ARCHIVED"default DRAFT
confirmbooleanREQUIRED 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.

All 759 Ad campaign management tools · tools.json