list_meta_ads

Meta Ads Read

User wants to see the individual ads within a specific Meta ad set, including their status and creative information

Endpoint

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

Headers

Description

User wants to see the individual ads within a specific Meta ad set, including their status and creative information. This tool retrieves ads for a given ad set with their name, status, and creative ID. Returns: - Ad list with name, ID, status, creative ID - Next step guidance for editing ads When to use this tool: - "Show me the ads in ad set [ID]" - "What ads are running in this ad set?" - "List the individual ads" - "Which ads are active/paused?" - Before using `update_meta_ad` when user doesn't know the ad ID Parameters: - ad_set_id: Ad Set ID to list ads for (required for direct listing) - campaign_id: Campaign ID (will guide user to use ad_set_id) - status: Filter by status (optional) - limit: Max ads to return (default: 100) Execution time: 2-5 seconds Data source: Meta Marketing API (live) Workflow: 1. Use `list_meta_ad_sets` to find ad set IDs 2. Use `list_meta_ads` with ad_set_id to see ads 3. Use `update_meta_ad` to pause/resume or swap creative Alternative: Use `get_meta_campaign_details` with `include_hierarchy=true` to see the full campaign tree at once.

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
ad_set_idstring optionalFilter ads to a specific ad set ID
campaign_idstring optionalFilter ads to a specific campaign ID
ad_account_idstring optionalMeta Ad Account ID. Required for multi-account users. Get from list_connected_accounts.
statusstring optionalFilter by status: comma-separated values like 'ACTIVE,PAUSED'
limitinteger optionalMaximum number of ads to return (default: 100) default: 100

Example request

{
  "arguments": {
    "ad_set_id": "string",
    "campaign_id": "string",
    "ad_account_id": "string",
    "status": "string",
    "limit": 100
  }
}

Example responses

200 — Success

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

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_meta_ads"
}

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_meta_ads",
  "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