hermosodocs

set_linkedin_ads_status

Activate or pause a LinkedIn campaign group / campaign / ad destructive

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

Description

Turn a LinkedIn campaign group, campaign or CREATIVE (the ad itself) on (ACTIVE) or off (PAUSED). Pass level:"campaign" + campaignId, level:"campaignGroup" + campaignGroupId, or level:"creative" + creativeId. All three tiers must be ACTIVE for an ad to serve — activating only the campaign leaves a DRAFT creative sitting there showing nothing. ACTIVATING STARTS REAL AD SPEND — you MUST first show the user the campaign and its budget, get an explicit yes, then call with status:"ACTIVE" and confirm:true. Pausing is always safe. The resulting status is READ BACK from LinkedIn along with its servingStatuses before you are told it took: LinkedIn defers validation on drafts, so activation is exactly where a hidden problem surfaces, and the note reports what LinkedIn actually says rather than what was requested.

Parameters

ParameterTypeDescription
adAccountIdstringLinkedIn ad account id from list_linkedin_ads_campaigns
level"campaign" | "campaignGroup" | "creative"default campaign
campaignIdstringcampaign id when level is campaign
campaignGroupIdstringcampaign group id when level is campaignGroup
creativeIdstringcreative (ad) id when level is creative
statusrequired"ACTIVE" | "PAUSED" | "ARCHIVED" | "DRAFT"ACTIVE starts spend (needs confirm); PAUSED stops it; ARCHIVED is permanent
confirmbooleanREQUIRED true to set ACTIVE (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/set_linkedin_ads_status.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_linkedin_ads_status","arguments":{"status":"<one of the listed values>"}}}

CLI

hermoso call set_linkedin_ads_status --json '{"status":"<one of the listed values>"}'

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