Skip to main content
POST
Delete a draft LinkedIn campaign or mark it pending deletion.
Change — approval required. Calling this tool does not change your ad account. ADSMCP checks the arguments and stages the change as a pending action. It runs only after a person approves it on the dashboard Approvals page. Over MCP or REST you can view (list_pending_actions) or reject (manage_action) it, never approve it. execution_mode and similar arguments do not skip the queue.Delete confirmation. Pass confirm_delete: true. Without it the call is refused and nothing is staged. With it the delete is staged and still needs approval; once approved it cannot be undone.A change that fails when it runs is not retried automatically. It shows on the dashboard Execution Queue.
Delete a draft LinkedIn campaign or mark it pending deletion. Platform: LinkedIn Ads · Type: Change

How to call it

  • MCP: on https://mcp.adsmcp.si/mcp, run it through the linkedin_ads_write tool with {"action": "execute", "tool_name": "delete_linkedin_campaign", "arguments": { ... }}, or call delete_linkedin_campaign by name. search_tools finds it and get_tool_schema returns its arguments; https://mcp.adsmcp.si/mcp/flat lists every tool by name.
  • REST: POST https://mcp.adsmcp.si/api/v1/tools/delete_linkedin_campaign/execute with Authorization: Bearer sk_live_... and a JSON body {"platform": "linkedin", "arguments": { ... }}. The arguments are listed below; they are exactly the tool’s input schema.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token

Idempotency-Key
string

Body

application/json
platform
string
default:linkedin
arguments
object

Response

Tool execution result.

ok
boolean
required
platform
string
required
tool
string
required
error
null | object
required
mcp_response
any
required
data
any