select_meta_campaign_type

Meta Ads Read

User wants to create a Meta (Facebook/Instagram) ad campaign but hasn't specified the campaign type (image, video, or carousel)

Endpoint

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

Headers

Description

User wants to create a Meta (Facebook/Instagram) ad campaign but hasn't specified the campaign type (image, video, or carousel). IMPORTANT: This tool should be called BEFORE any asset discovery or campaign creation when the user says things like: - "Create a Meta campaign" - "Create a Facebook ad" - "I want to run Instagram ads" - "Set up a Meta advertising campaign" - "Help me create ads on Facebook" This tool asks the user what TYPE of campaign they want to create, then provides guidance on the next steps. Campaign Types Available: 1. image - Single image ad (most common, good for static visuals) 2. video - Video ad including Reels (good for engagement, storytelling) 3. carousel - 2-10 swipeable cards (good for showcasing multiple products) Do NOT use this tool if: - User specifically asks for "image campaign" - use create_meta_image_campaign - User specifically asks for "video campaign" or "Reels" - use create_meta_video_campaign - User specifically asks for "carousel campaign" - use create_meta_carousel_campaign - User is asking about performance/analytics - use performance analysis tools Parameters: - campaign_type: 'image', 'video', or 'carousel'

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_typestring requiredType of Meta campaign to create. Options: 'image' (single image ad), 'video' (video/Reels ad), 'carousel' (2-10 swipeable cards)

Example request

{
  "arguments": {
    "campaign_type": "string"
  }
}

Example responses

200 — Success

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

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

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