batch_update_linkedin_creatives

LinkedIn Ads Write

User wants to change the status of MULTIPLE LinkedIn creatives/ads at once

Endpoint

POST https://api.adspirer.ai/api/v1/tools/batch_update_linkedin_creatives/execute

Headers

Description

User wants to change the status of MULTIPLE LinkedIn creatives/ads at once. Set the status (ACTIVE, PAUSED, or ARCHIVED) on many creatives in a single call — bulk pause, resume, or archive of ads. Returns a per-creative success/failure breakdown. Parameters: - creative_ids: List of creative IDs to update (1-50, required) - status: New status for all — ACTIVE, PAUSED, or ARCHIVED (required) - account_id: Optional LinkedIn Ad Account ID Note: LinkedIn only allows pausing a creative (ACTIVE->PAUSED) once its review is APPROVED — creatives still under review or rejected are reported as failed, not changed. Example Prompts: - "Pause all these ads: 123, 456, 789" - "Archive my old creatives" - "Resume creatives 111 and 222" Execution time: 3-8 seconds

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
creative_idsarray requiredList of creative IDs to update (1-50).
statusstring requiredNew status for all creatives: ACTIVE, PAUSED, or ARCHIVED. Note: LinkedIn only allows ACTIVE->PAUSED once a creative's review is APPROVED; creatives still under review or rejected will be reported as failed.
account_idstring optionalLinkedIn Ad Account ID. Required for multi-account users. Get from list_connected_accounts.

Example request

{
  "arguments": {
    "creative_ids": [
      "string"
    ],
    "status": "string",
    "account_id": "string"
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for batch_update_linkedin_creatives)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "batch_update_linkedin_creatives"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "batch_update_linkedin_creatives"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "batch_update_linkedin_creatives",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai