bulk_update_campaign_status

Google Ads Write

Pause or enable MANY campaigns in a SINGLE call

Endpoint

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

Headers

Description

Pause or enable MANY campaigns in a SINGLE call. Use this instead of calling pause_campaign / resume_campaign once per campaign — pausing or enabling N campaigns here is ONE tool call (and one quota debit) instead of N. Fully reversible: it sets status, it never removes campaigns. ⚠️ Enabling campaigns can start real ad spend. Confirm with the user before enabling. **Parameters:** - campaign_ids: List of campaign IDs to update (REQUIRED). No limit. - status: PAUSED or ENABLED (REQUIRED) - customer_id: Optional **Get campaign_ids from:** list_campaigns. **Example:** User: "Pause all my search campaigns" Agent: 1. list_campaigns to get the campaign IDs 2. bulk_update_campaign_status(campaign_ids=[...], status="PAUSED")

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_idsarray requiredCampaign IDs to update (get from list_campaigns). No limit — pass thousands if you have them; applied in one tool call.
statusstring requiredNew status for all listed campaigns: PAUSED or ENABLED. Reversible — this never removes campaigns. Enabling can start real spend.
customer_idstring optionalGoogle Ads customer ID. Required for multi-account users. Get from get_connections_status.

Example request

{
  "arguments": {
    "campaign_ids": [
      "string"
    ],
    "status": "string",
    "customer_id": "string"
  }
}

Example responses

200 — Success

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

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": "bulk_update_campaign_status"
}

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": "bulk_update_campaign_status",
  "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