get_campaign_adsets
Retrieve all ad sets for a specific campaign using its ID. Optionally paginate with a cursor, set result limits, and select specific fields.
Instructions
Get all ad sets belonging to a specific 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": {
"campaign_id": "<campaign_id>"
},
"name": "get_campaign_adsets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor for next page | |
| limit | No | Number of results (default 25) | |
| fields | No | Comma-separated fields to return | |
| campaign_id | Yes | Campaign ID |