set_call_asset_status

Google Ads Write

Pause or re-enable phone (CALL) asset links on a campaign — without deleting them

Endpoint

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

Headers

Description

Pause or re-enable phone (CALL) asset links on a campaign — without deleting them. Pausing stops the number from showing while keeping it linked; enabling turns it back on. To fully unlink, use remove_call_assets. **Parameters:** - campaign_id: The campaign ID (REQUIRED) - status: 'PAUSED' or 'ENABLED' (REQUIRED) - asset_ids: Optional list of asset IDs / resource_names (get from list_call_assets). OMIT to change ALL call assets on the campaign. - customer_id: Optional Google Ads customer ID **Execution time:** 2-4 seconds **Example:** User: "Pause the old phone number before I add the new one" Agent: 1. list_call_assets to find the old asset ID 2. set_call_asset_status(campaign_id="19850524478", status="PAUSED", asset_ids=["..."])

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_idstring requiredThe campaign ID (numeric). Get from list_campaigns.
statusstring requiredNew status for the call asset link: 'PAUSED' to stop showing the number (without deleting it) or 'ENABLED' to turn it back on. To fully unlink, use remove_call_assets instead.
asset_idsarray optionalOptional list of asset IDs (or full resource_names) to change. Get IDs from list_call_assets. If omitted, ALL call assets on the campaign are set to this status.
customer_idstring optionalGoogle Ads customer ID. Required for multi-account users. Get from get_connections_status.

Example request

{
  "arguments": {
    "campaign_id": "<campaign_id>",
    "status": "string",
    "asset_ids": [
      "string"
    ],
    "customer_id": "string"
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for set_call_asset_status)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "set_call_asset_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": "set_call_asset_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": "set_call_asset_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