TikTok Ads: Update Ad Group Schedule
tiktok_update_adgroup_scheduleChange when one TikTok ad group runs in the user's own ad account: its end time, its start time (only while it has not started), whether it runs open-ended (SCHEDULE_FROM_NOW) or to an end date (SCHEDULE_START_END), and the hours of the week it may deliver in (dayparting). Times are UTC. A later end, or removing the end, lets the ad group keep spending for longer, so get the user's explicit approval first. An ad group with a lifetime budget must keep an end time. It does not change the budget, the bid or the on/off status. Works for manual, Smart+ and Upgraded Smart+ ad groups. Supports dry_run.
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": {
"adgroup_id": "<adgroup_id>"
},
"name": "tiktok_update_adgroup_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true: read the object and report the field-level changes this call would make, changing nothing. Default false. Show the user the proposal and get their approval before calling without dry_run. | |
| adgroup_id | Yes | Id of the ad group, from tiktok_get_adgroups. | |
| dayparting | No | Hours the ad group may deliver: exactly 336 characters of 0 and 1, one per half hour from Monday 00:00 to Sunday 23:30 in the ad account's time zone, 1 for on. All 1 means all day, every day. | |
| advertiser_id | No | TikTok ad account to change: advertiser id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. | |
| schedule_type | No | SCHEDULE_START_END to run to an end time (pass schedule_end_time unless one is set), SCHEDULE_FROM_NOW to run with no end. Omitted with schedule_end_time: becomes SCHEDULE_START_END. | |
| schedule_end_time | No | New end, UTC, as YYYY-MM-DD HH:MM:SS. Must be in the future and after the start. | |
| schedule_start_time | No | New start, UTC, as YYYY-MM-DD HH:MM:SS. TikTok accepts it only while the ad group has not started. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | True when the call only previewed the change. | |
| changed | Yes | True only when this call changed TikTok Ads. | |
| changes | Yes | Field-level changes: made, or proposed on a dry run. | |
| currency | No | ISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then. | |
| entityId | Yes | Id of the object, as passed. | |
| verified | No | Whether TikTok's read-back holds every requested value; null when nothing was written or the read-back failed. | |
| warnings | Yes | Side effects and limits the user should hear about. | |
| operation | Yes | What happened: updated, no_change, or dry_run. | |
| entityName | No | The object's name, when it has one. | |
| entityType | Yes | Kind of object addressed. | |
| advertiserId | Yes | TikTok ad account the object is in. | |
| campaignType | Yes | Which TikTok management surface the object belongs to: STANDARD for manual and legacy Smart+ campaigns, UPGRADED_SMART_PLUS for Upgraded Smart+. |