Delegate: Prime Time Bid Multipliers
Context: News or sport demand source (DSP) wanting to bid aggressively during evening prime time and weekends when audiences are largest, with conservative off-peak bids to preserve budget.
Expected result: +50% bid during prime time (18–23 UTC), +20% on weekends, fallback bid during off-peak.
Strategy JSON
{
"version": "1.0",
"dsp_id": "your-dsp-uuid",
"campaigns": [
{
"id": "primetime-always-on",
"name": "Always On — Time Pacing",
"active": true,
"priority": 1,
"daily_budget": 300.00
}
],
"rules": [
{
"name": "Prime Time + Weekend",
"campaign_id": "primetime-always-on",
"conditions": {
"hour": ["18", "19", "20", "21", "22", "23"],
"weekday": ["0", "6"]
},
"bid": {
"base_cpm": 3.00,
"multipliers": {
"prime_time": 1.5,
"weekend": 1.2
},
"max_cpm": 8.00,
"min_cpm": 2.00
},
"priority": 1
},
{
"name": "Prime Time Weekday",
"campaign_id": "primetime-always-on",
"conditions": {
"hour": ["18", "19", "20", "21", "22", "23"]
},
"bid": {
"base_cpm": 3.00,
"multipliers": {
"prime_time": 1.5
},
"max_cpm": 7.00,
"min_cpm": 2.00
},
"priority": 2
},
{
"name": "Weekend Off-Peak",
"campaign_id": "primetime-always-on",
"conditions": {
"weekday": ["0", "6"]
},
"bid": {
"base_cpm": 3.00,
"multipliers": {
"weekend": 1.2
},
"max_cpm": 5.00,
"min_cpm": 1.50
},
"priority": 3
}
],
"default_bid": 2.00
}Effective bids by scenario
| Scenario | Calculation | Effective bid |
|---|---|---|
| Weekday evening (18–23 UTC) | $3.00 × 1.5 | $4.50 CPM |
| Weekend evening (18–23 UTC) | $3.00 × 1.5 × 1.2 | $5.40 CPM |
| Weekend daytime | $3.00 × 1.2 | $3.60 CPM |
| Weekday daytime | default_bid | $2.00 CPM |
Rule priority logic
Multiple rules can match the same auction — rules fire in priority order, and only the first match is used.
Weekend prime time (18–23 + Saturday/Sunday) matches Rule 1 (priority 1) — applies both multipliers. Weekday prime time matches Rule 2 (priority 2). Weekend daytime skips Rules 1 and 2 (hour doesn’t match 18–23), falls to Rule 3.
Validate in sandbox
# Weekend prime time
POST /api/sandbox/simulate-auction
{
"dsp_id": "{DSP_ID}",
"auction": { "hour": "20", "weekday": "6", "bidfloor": 2.00 }
}
# Expected: matched_rule: "Prime Time + Weekend", bid_cpm: 5.40
# Weekday daytime
POST /api/sandbox/simulate-auction
{
"dsp_id": "{DSP_ID}",
"auction": { "hour": "10", "weekday": "3", "bidfloor": 1.00 }
}
# Expected: matched_rule: null, bid_cpm: 2.00 (default_bid)