hermosodocs

delete_linkedin_ads_object

Delete a LinkedIn campaign group / campaign / ad destructive

Area: LINKEDIN GAP SWEEP PHASE 1 · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
adAccountIdstringLinkedIn ad account id shared with this profile; needed only when several are shared
level"campaign" | "campaignGroup" | "creative"default campaign
campaignIdstringcampaign id to delete when level is campaign
campaignGroupIdstringcampaign group id to delete when level is campaignGroup
creativeIdstringcreative (ad) id to delete when level is creative
confirmrequiredbooleanREQUIRED 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.

All 759 Ad campaign management tools · tools.json