List Meta Ad Sets
User wants to see the ad sets within a specific Meta campaign, including their targeting, budgets, and optimization settings.
This tool retrieves ad sets for a given campaign with their status, budget, optimization goal, and billing event.
Returns:
- Ad set list with name, ID, status, budget, optimization goal, billing event
- Next step guidance for editing ad sets or viewing ads
When to use this tool:
- “Show me the ad sets in campaign [ID]”
- “What ad sets are running in my campaign?”
- “List the ad groups for this campaign”
- “Which ad sets are active/paused?”
- Before using
update_meta_ad_setwhen user doesn’t know the ad set ID
Parameters:
- campaign_id: Campaign ID to list ad sets for (required)
- status: Filter by status (optional)
- limit: Max ad sets to return (default: 100)
- ad_account_id: Optional
Execution time: 2-5 seconds Data source: Meta Marketing API (live)
Workflow:
- Use
list_meta_campaignsto find campaign IDs - Use
list_meta_ad_setswith campaign_id to see ad sets - Use
update_meta_ad_setto edit targeting, budget, or placements - Use
list_meta_adswith ad_set_id to see individual ads
Authorizations
API key from https://adspirer.ai/keys. Prefix sk_live_. Treat as a secret — never commit.
Headers
Client-generated UUID to make writes idempotent. Strongly recommended for write tools. A repeat call with the same key returns the cached result instead of re-executing. Example: 550e8400-e29b-41d4-a716-446655440000
Body
All tool arguments are wrapped in an arguments object. The fields accepted inside arguments are listed below — required fields are marked with a red asterisk.
Input schema for listing Meta ad sets
Response
Tool executed successfully. data.text carries the human-readable result (markdown-friendly). data.quota shows your current usage against the plan limit. data.structured appears when the tool emits machine-parseable structured content. data.content appears for tools that return non-text blocks (images, resources).
Returned on HTTP 200. data.text is the primary human-readable output. data.quota is always present for billable calls. data.structured is set only when the tool emits machine-parseable structured content. data.content is set only when the tool emits non-text content blocks.

