List ad sets, ad groups and ad squads
list_adsetsThe ad sets (TikTok ad groups, Snapchat ad squads) of any connected ad account (ids and names, no metrics). List the ad sets of an ad account, optionally of one 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_adsets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| platform | No | Ad platform, default meta | |
| campaign_id | No | ||
| ad_account_id | Yes | Ad account id (list_ad_accounts) |