update_adset_schedule
Change the END time of an existing ad set (e.g. start a fixed run once delivery is confirmed). Works with daily and lifetime budgets; with a lifetime budget Meta re-paces the remaining budget to the new end and the total cap is unchanged. With a lifetime budget the end must be more than 24 hours after the ad set's start. Requires confirm:true after the user approves the new end time. WRITES live.
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": {
"adset_id": "<adset_id>",
"end_time": "<end_time>",
"meta_account_id": "<meta_account_id>",
"confirm": "<confirm>"
},
"name": "update_adset_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact change (account, items and new values) in the conversation. | |
| adset_id | Yes | The ad set ID (adsetId returned by create_campaign). | |
| end_time | Yes | New end time, ISO 8601 with timezone offset, e.g. 2026-10-20T23:59:00+08:00. Must be in the future. | |
| meta_account_id | Yes | REQUIRED — the ad account this ad set belongs to. |