list_campaign_extensions

Google Ads Read

List all campaign-level assets for a campaign: sitelinks, callouts, structured snippets, call assets, business names, and images

Endpoint

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

Headers

Description

List all campaign-level assets for a campaign: sitelinks, callouts, structured snippets, call assets, business names, and images. Returns a summary of every asset type configured on the campaign, each with its status (ENABLED/PAUSED) and resource name. **Parameters:** - campaign_id: The campaign ID (REQUIRED). Get from list_campaigns. - customer_id: Optional Google Ads customer ID **Returns:** - Sitelinks, Callouts, Structured Snippets - Call assets (phone number + country + status) - Business names - Images (field type + status) **Execution time:** 1-2 seconds (read-only) **When to use:** - User asks "what extensions/assets do I have?" - BEFORE adding an asset — check what already exists (avoids duplicates) - Auditing campaign setup / finding a duplicate to clean up **Example:** User: "Show me the extensions on my campaign" Agent: 1. Uses list_campaigns to get campaign_id 2. Uses list_campaign_extensions to see all assets

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_idstring requiredThe campaign ID to list extensions for. Get from list_campaigns.
customer_idstring optionalGoogle Ads customer ID. Required for multi-account users. Get from get_connections_status.

Example request

{
  "arguments": {
    "campaign_id": "<campaign_id>",
    "customer_id": "string"
  }
}

Example responses

200 — Success

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

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

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