Creates a time range targeting rule for the specified placement.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/placement/{placementId}/targeting/time-range/create.do
Creates a time range targeting rule for the specified placement. The time values must be in 24-hour format (HH:MM). Set clientLocalTime to true to evaluate the rule against the viewer's local time zone instead of UTC. Requires UPDATE permission on the placement and MANAGE_SUPPLY_PRE_TARGETING user permission.
Path Params
placementIdintegerrequired
Unique numeric ID of the placement
4001
Form Params
rulestringrequired
Targeting rule type — INCLUDE for whitelist or EXCLUDE for blacklist
INCLUDE
timeFromstringrequired
Start time in 24-hour format HH:MM (e.g., '09:00')
09:00
timeTostringrequired
End time in 24-hour format HH:MM (e.g., '18:00')
18:00
clientLocalTimeboolean
If true, evaluate against viewer's local time; if false, use UTC