Context Variables
Overview
Context Variables are computed server-side from the normalized context generated by the adctv backend.
Variable Categories
Category | Description |
|---|
Weather | Temperature, comfort, daylight and weather classifications |
Time | Daypart, work hours and behavioural context |
Network | Network capability and media suitability |
Traffic | Traffic quality and trust signals |
Audience | Behavioural context for personalization |
Device | Device capability and rendering suitability |
Media | Recommended media quality |
Weather
Variable | Parameters | Type | Possible Values |
|---|
temperature_band
| temp
| String | hot
, warm
, cold
|
condition_type
| condition
| String | sunny
, cloudy
, rainy
, stormy
, snowy
, foggy
|
uv_level
| uv_index
| String | low
, moderate
, high
, extreme
|
comfort_level
| temp
, humidity
| String | comfortable
, humid
, hot_humid
, cold
|
wind_level
| wind_speed
| String | calm
, moderate
, windy
, stormy
|
is_daylight
| is_day
| Boolean | true
, false
|
precipitation_level
| precip
| String | none
, light
, moderate
, heavy
|
visibility_level
| visibility
| String | clear
, moderate
, poor
|
activity_suitability
| temp
, precip
, uv_index
, wind_speed
| String | excellent
, good
, poor
|
Time
Variable | Parameters | Type | Possible Values |
|---|
daypart
| hour
| String | early_morning
, morning
, afternoon
, evening
, night
|
is_weekend
| day_of_week
| Boolean | true
, false
|
is_work_hours
| hour
, is_weekend
| Boolean | true
, false
|
is_commuting_hours
| hour
| Boolean | true
, false
|
meal_period
| hour
| String | breakfast
, lunch
, snack
, dinner
, late_night
|
productivity_state
| hour
, is_work_hours
| String | productive
, relaxed
, sleeping
|
Network
Variable | Parameters | Type | Possible Values |
|---|
speed_tier
| rtt
, protocol
| String | fast
, moderate
, slow
|
supports_rich_media
| speed_tier
, protocol
| Boolean | true
, false
|
video_quality_tier
| speed_tier
| String | low
, medium
, high
|
Traffic
Variable | Parameters | Type | Possible Values |
|---|
quality_tier
| bot_score
, is_bot
, is_corporate_proxy
| String | high
, medium
, low
|
is_suspicious
| bot_score
, is_bot
, is_corporate_proxy
| Boolean | true
, false
|
trust_score
| bot_score
, is_bot
, is_corporate_proxy
| Number | 0–100
|
Audience
Variable | Parameters | Type | Possible Values |
|---|
outdoor_score
| temp
, precip
, uv_index
, wind_speed
, is_daylight
| Number | 0–100
|
outdoor_likelihood
| outdoor_score
| String | high
, medium
, low
|
commerce_intent
| hour
, is_weekend
, is_work_hours
, daypart
, temp
, precip
, condition_type
| String | high
, medium
, low
|
engagement_likelihood
| quality_tier
, speed_tier
, daypart
, is_work_hours
| String | high
, medium
, low
|
mobility_state
| hour
, is_weekend
, is_work_hours
, daypart
, activity_suitability
| String | sleeping
, commuting
, working
, leisure
, stationary
|
session_mood
| daypart
, is_work_hours
, is_weekend
, mobility_state
, condition_type
| String | productive
, relaxed
, entertainment
, rushed
|
purchase_context
| daypart
, is_work_hours
, is_weekend
, mobility_state
, condition_type
| String | impulse
, relaxed
, functional
|
Variable | Parameters | Type | Possible Values |
|---|
video_quality
| speed_tier
, video_quality_tier
| String | 240p
, 480p
, 720p
, 1080p
|
Device
Variable | Parameters | Type | Possible Values |
|---|
device.type
| user_agent
, viewport.width
| String | mobile
, tablet
, desktop
, tv
|
device.is_mobile
| device.type
| Boolean | true
, false
|
device.is_tablet
| device.type
| Boolean | true
, false
|
device.is_desktop
| device.type
| Boolean | true
, false
|
device.is_tv
| device.type
| Boolean | true
, false
|
device.os
| user_agent
| String | ios
, android
, windows
, macos
, linux
, unknown
|
device.browser
| user_agent
| String | chrome
, safari
, firefox
, edge
, opera
, unknown
|
device.orientation
| viewport.width
, viewport.height
| String | portrait
, landscape
|
device.screen_size_tier
| screen.width
| String | small
, medium
, large
, xl
|
rich_media_ready
| speed_tier
, trust_score
| Boolean | true
, false
|
Viewport
Variable | Parameters | Type | Possible Values |
|---|
viewport.size_tier
| viewport.width
| String | xs
, sm
, md
, lg
, xl
|
viewport.orientation
| viewport.width
, viewport.height
| String | portrait
, landscape
|