compare_meta_catalog_product_sets

Meta Ads Read

User wants to compare their catalog PRODUCT SETS against each other and decide where to put budget

Endpoint

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

Headers

Description

User wants to compare their catalog PRODUCT SETS against each other and decide where to put budget. Keywords: "which product set is best", "compare product sets", "where should budget go", "best sellers vs the rest", "product set ROAS". Ranks product sets by catalog-attributed ROAS, sizes a suggested budget shift from the weakest set toward the strongest, and flags OVERLAP — the same product spending across multiple sets (self-competition that fragments budget and inflates costs). Reads cached nightly product metrics (never calls Meta live). When to use: "Which product set performs best?", "Should I move budget between my product sets?"

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
lookback_daysinteger optionalDays to analyze: 7, 30, 60, 90, or 120 (default 30). default: 30
target_roasnumber optionalOptional target ROAS override (e.g. 3.0). Defaults to account goal, else 90-day average, else 2.0x.
start_datestring optionalStart date YYYY-MM-DD (overrides lookback_days with end_date).
end_datestring optionalEnd date YYYY-MM-DD (overrides lookback_days with start_date).
ad_account_idstring optionalMeta ad account ID. Required for multi-account users.

Example request

{
  "arguments": {
    "lookback_days": 30,
    "target_roas": 1.0,
    "start_date": "string",
    "end_date": "string",
    "ad_account_id": "string"
  }
}

Example responses

200 — Success

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

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

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