create_schedule
Control when and how often ads are shown by creating schedules with quotas, daily caps, and pacing, automatically linked to ad items via placements.
Instructions
Create a new schedule for time-based ad delivery. Schedules are automatically linked to ad items via placements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_at | No | End date/time in ISO-8601 format, null for indefinite | |
| end_date | No | End date (YYYY-MM-DD HH:MM:SS), null for indefinite — deprecated, use end_at | |
| start_at | No | Start date/time in ISO-8601 format | |
| quota_type | No | Quota measurement type | |
| start_date | No | Start date (YYYY-MM-DD HH:MM:SS) — deprecated, use start_at | |
| day_cap_type | No | Daily cap type | |
| day_cap_limit | No | Daily cap limit (number of views or clicks per day) | |
| day_parting_id | No | Day parting ID for time-of-day targeting | |
| quota_lifetime | No | Total quota amount (views or clicks, not per thousand) | |
| delivery_method | No | Delivery pacing: "default" (ASAP) or "smooth" (evenly distributed) | |
| end_at_timezone | No | IANA timezone for end_at | |
| start_at_timezone | No | IANA timezone for start_at (e.g. "America/New_York") | |
| per_user_view_limit | No | Per-user view frequency cap | |
| per_user_view_period | No | Days before per-user view counter resets | |
| under_delivery_behaviour | No | Whether to keep serving until quota met or stop on end date |