list_ad_sets
Retrieve ad sets from Meta Ads accounts or campaigns to manage advertising groups and analyze campaign structure.
Instructions
List ad sets under an account or campaign.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ad_account_id": "<ad_account_id>"
},
"name": "list_ad_sets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_account_id | Yes | ||
| meta_access_token | No | ||
| page_size | No | ||
| campaign_id | No | ||
| page_cursor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |