meta get adsets
meta_get_adsetsList ad sets for a Meta ad account, optionally filtered by campaign, and retrieve targeting, budget, optimization, and schedule details.
Instructions
List ad sets for a Meta ad account, optionally filtered by campaign. Returns targeting, budget, optimization, and schedule info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of returned items or rows. The declared bounds and default apply; use pagination for additional results. | |
| cursor | No | Pagination cursor from previous response | |
| campaignId | No | Filter by campaign ID | |
| adAccountId | Yes | Ad account ID (e.g., act_123456789) | |
| statusFilter | No | Filter by native effective_status, not configured status. PAUSED excludes IN_PROCESS, CAMPAIGN_PAUSED and ADSET_PAUSED. Omit for post-creation verification and inspect both returned status fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |