Meta ad set performance
get_adsetsMeta ad sets with their targeting, budget and results. Get ad sets with targeting info and metrics. Use to analyze audience targeting and budgets at ad set level.
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": {
"date_preset": "<date_preset>",
"ad_account_id": "<ad_account_id>"
},
"name": "get_adsets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| campaign_id | No | Optional: filter by specific campaign ID | |
| date_preset | Yes | ||
| ad_account_id | Yes | Meta ad account id (act_…), from list_ad_accounts |