delete_linkedin_ads_object
Delete a LinkedIn campaign group / campaign / ad destructive
Description
Delete a LinkedIn campaign group, campaign or creative (level:"creative" + creativeId). LinkedIn HARD-deletes only DRAFT objects; anything that has ever run is moved to PENDING_DELETION instead — it stops serving and its reporting history is retained. The returned note says which of the two actually happened, and you must repeat that rather than claiming a clean delete. Irreversible either way, so it requires confirm:true.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | LinkedIn ad account id shared with this profile; needed only when several are shared |
level | "campaign" | "campaignGroup" | "creative" | default campaign |
campaignId | string | campaign id to delete when level is campaign |
campaignGroupId | string | campaign group id to delete when level is campaignGroup |
creativeId | string | creative (ad) id to delete when level is creative |
confirmrequired | boolean | REQUIRED true — this is irreversible |
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/delete_linkedin_ads_object.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_linkedin_ads_object","arguments":{"confirm":"<boolean>"}}}
CLI
hermoso call delete_linkedin_ads_object --json '{"confirm":"<boolean>"}'
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_trackingLinkedIn ads dynamic UTM trackingcreate_linkedin_conversion_ruleCreate a LinkedIn conversion rulepreview_linkedin_adPreview a LinkedIn ad + its review statuslist_linkedin_conversion_rulesList LinkedIn conversion rulesupdate_linkedin_ads_creativeEdit a LinkedIn ad (copy, landing page, button, lead form)update_linkedin_conversion_ruleUpdate or disable a LinkedIn conversion ruleupdate_linkedin_lead_formEdit or archive a LinkedIn lead gen formassociate_linkedin_conversion_campaignsAttach campaigns to a LinkedIn conversion rulecreate_linkedin_lead_formCreate a LinkedIn lead gen formsend_linkedin_conversionsSend conversions to LinkedIn (Conversions API)