ads_set_adset_schedule
Set day-parting on an ad set with ergonomic schedule blocks, accepting raw Meta or friendly time formats. Pass an empty list to remove day-parting and revert to 24/7 delivery.
Instructions
Set day-parting on an ad set with an ergonomic format.
Each block in schedule accepts EITHER:
Raw Meta format: {"days": [0..6], "start_minute": int, "end_minute": int, "timezone_type": "USER"}
Friendly format: {"days": ["seg","ter",...] OR [1,2,...], "start_time": "18:00", "end_time": "23:00", "timezone_type": "USER"} # default USER
Day aliases accepted (case-insensitive): Portuguese: dom seg ter qua qui sex sab (also "domingo", "terça"...) English: sun mon tue wed thu fri sat (also "monday"...) Numeric: 0–6 (0=Sunday)
Requirements (Meta API):
Ad set must use LIFETIME budget (not daily). Convert first if needed.
This tool automatically sets pacing_type=["day_parting"] unless you override via the pacing_type arg.
Pass an empty list to remove dayparting (return to 24/7).
Example: ads_set_adset_schedule( "12345", schedule=[{"days":["seg","qua","sex"],"start_time":"18:00","end_time":"23:00"}], confirm=True, )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| adset_id | Yes | ||
| schedule | Yes | ||
| pacing_type | No |