add_meta_catalog_ad

Meta Ads Write

User wants to add ANOTHER catalog ad to an existing catalog ad set — e

Endpoint

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

Headers

Description

User wants to add ANOTHER catalog ad to an existing catalog ad set — e.g. to test multiple creatives (different copy, CTA, or product set on the creative) within one ad set. Adds the ad PAUSED.

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
ad_set_idstring requiredThe existing catalog ad set ID to add the ad to.
product_set_idstring requiredProduct set for this ad's creative (required).
primary_textstring requiredPrimary ad text.
headlinestring optionalHeadline (defaults to {{product.name}}).
descriptionstring optionalDescription (defaults to {{product.current_price}}).
call_to_actionstring optionalCTA button type. default: "SHOP_NOW"
landing_page_urlstring optionalStorefront URL (derived from the catalog if omitted).
facebook_page_idstring optionalFacebook Page ID (auto-detected).
instagram_account_idstring optionalInstagram account ID (auto-detected).
ad_namestring optionalCustom ad name.
ad_account_idstring optionalMeta ad account ID. Auto-detected if omitted.

Example request

{
  "arguments": {
    "ad_set_id": "string",
    "product_set_id": "string",
    "primary_text": "string",
    "headline": "string",
    "description": "string",
    "call_to_action": "SHOP_NOW",
    "landing_page_url": "string",
    "facebook_page_id": "string",
    "instagram_account_id": "string"
  }
}

Example responses

200 — Success

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

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

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