> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Adset Schedule

> Updates the start_time and/or end_time (schedule) of a Meta Ads ad set

Updates the start\_time and/or end\_time (schedule) of a Meta Ads ad set. Meta keeps schedules on ad sets only; a campaign's dates are the span of its ad sets, so to extend or shorten a campaign, update each of its ad sets with this operation.

| | |
| - | - |
| **App** | Meta Ads |
| **Operation ID** | `meta_ads_update_adset_schedule` |
| **Type** | Action |
| **Connection** | `meta_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided |
| `adset_id` | string or SelectItem | Yes | - | The ad set to update the schedule for |
| `start_time` | integer or string | No | - | New start time: Unix seconds, YYYY-MM-DD, or an ISO datetime such as 2026-10-01 09:00 (UTC). Leave empty to keep current start time. Only editable while the ad set has not started delivering yet. |
| `end_time` | integer or string | No | - | New end time: Unix seconds, YYYY-MM-DD, or an ISO datetime such as 2026-10-31 23:59 (UTC). Leave empty to keep current end time. Required for ad sets using a lifetime budget. Must be after start\_time. Meta keeps schedules on ad sets only: a campaign's end date is the latest end\_time of its ad sets, so to extend a campaign update every ad set in it. |
| `clear_end_time` | boolean | No | `False` | Set to true to remove the end time entirely (run the ad set with no end date). Only allowed for ad sets on a daily budget; lifetime-budget ad sets require an end\_time. When true, end\_time is ignored. |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `str`

Returns success message confirming ad set schedule update.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.