The system determines Min Duration and Max Duration using values from:
- Override list
- Publisher request (VAST tag)
- Supply (Source settings)
- Demand (Campaign settings)
- Default values (1 sec / 300 sec)
Base Rules
0. Override (Highest Priority)
If Override List values are set:
- Override fully replaces all other values
- No other levels are considered
1. If only one level provides values
- Publisher (VAST) → use VAST values
- Supply only → use Supply values
- Demand only → use Demand values
- No values anywhere → use default (1–300 sec)
2. If Min and Max are partially provided
The system combines values:
- Missing value is taken from:
- Supply (if available)
- Otherwise → Default
Examples:
- Min from VAST + Max from Supply
- Max from VAST + Min from Supply
- If no Supply → missing value = Default
3. If both Publisher and Supply are present
- VAST values are used where provided
- Missing values are taken from Supply
4. If only one side defines Min or Max
- Missing value falls back to Default:
- Min → 1 sec
- Max → 300 sec
Special Cases
Invalid range (Min > Max)
If: Min = 60, Max = 30
The system reverses values: Min = 30, Max = 60
Conflict between Publisher and Supply
If values contradict each other:
- If Publisher Min > Supply Max
→ Max is adjusted up to match Min - If Publisher Max < Supply Min
→ Min is adjusted down to match Max
Demand-Level Behavior
- Demand values are used only if no Publisher and no Supply values are present
- If both Supply and Demand are set → Supply values are used