# Context Variables

#### Overview

Context Variables are values describing the user's current environment. They are resolved before the creative is rendered and are available for binding directly in components.

Context variables are divided into two categories:

- ****Context Variables****<span style="white-space: pre-wrap;"> – Values obtained directly from backend services (Geo, Weather, Network, Bot, Time).</span>
- ****Advanced Context Variables****<span style="white-space: pre-wrap;"> – Values computed from one or more raw context variables.</span>

---

#### Variable Categories

<table id="bkmrk-categorysourcedescri"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Category

</th><th>Source

</th><th>Description

</th></tr><tr><td>Geo

</td><td>Backend

</td><td>User location

</td></tr><tr><td>Weather

</td><td>Backend

</td><td>Current weather conditions

</td></tr><tr><td>Network

</td><td>Backend

</td><td>ISP, protocol, RTT

</td></tr><tr><td>Bot

</td><td>Backend

</td><td>Bot detection

</td></tr><tr><td>Time

</td><td>Backend

</td><td>Local time information

</td></tr><tr><td>Device

</td><td>Browser

</td><td>Device characteristics

</td></tr><tr><td>Viewport

</td><td>Browser

</td><td>Viewport dimensions

</td></tr><tr><td>Derived

</td><td>Backend

</td><td>Computed contextual values

</td></tr></tbody></table>

---

#### Context Variables

#### Geo

<table id="bkmrk-variabletypedescript"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Type

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">geo.country</span>`

</td><td>String

</td><td>ISO country code

</td></tr><tr><td>`<span class="editor-theme-code">geo.city</span>`

</td><td>String

</td><td>City name

</td></tr><tr><td>`<span class="editor-theme-code">geo.region</span>`

</td><td>String

</td><td>State or region

</td></tr><tr><td>`<span class="editor-theme-code">geo.lat</span>`

</td><td>Number

</td><td>Latitude

</td></tr><tr><td>`<span class="editor-theme-code">geo.lng</span>`

</td><td>Number

</td><td>Longitude

</td></tr><tr><td>`<span class="editor-theme-code">geo.timezone</span>`

</td><td>String

</td><td>IANA timezone

</td></tr></tbody></table>

---

#### Weather

<table id="bkmrk-variabletypedescript-1"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Type

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">weather.temp</span>`

</td><td>Number

</td><td>Temperature (°C)

</td></tr><tr><td>`<span class="editor-theme-code">weather.feels_like</span>`

</td><td>Number

</td><td>Feels-like temperature

</td></tr><tr><td>`<span class="editor-theme-code">weather.humidity</span>`

</td><td>Number

</td><td>Humidity (%)

</td></tr><tr><td>`<span class="editor-theme-code">weather.condition</span>`

</td><td>String

</td><td>Weather condition

</td></tr><tr><td>`<span class="editor-theme-code">weather.icon</span>`

</td><td>String

</td><td>Icon URL

</td></tr><tr><td>`<span class="editor-theme-code">weather.text</span>`

</td><td>String

</td><td>Description

</td></tr><tr><td>`<span class="editor-theme-code">weather.is_day</span>`

</td><td>Boolean

</td><td>Day/Night

</td></tr><tr><td>`<span class="editor-theme-code">weather.precip</span>`

</td><td>Number

</td><td>Precipitation

</td></tr><tr><td>`<span class="editor-theme-code">weather.wind_speed</span>`

</td><td>Number

</td><td>Wind speed

</td></tr><tr><td>`<span class="editor-theme-code">weather.uv_index</span>`

</td><td>Number

</td><td>UV Index

</td></tr><tr><td>`<span class="editor-theme-code">weather.visibility</span>`

</td><td>Number

</td><td>Visibility

</td></tr><tr><td>`<span class="editor-theme-code">weather.sunrise</span>`

</td><td>String

</td><td>Sunrise

</td></tr><tr><td>`<span class="editor-theme-code">weather.sunset</span>`

</td><td>String

</td><td>Sunset

</td></tr></tbody></table>

---

#### Time

<table id="bkmrk-variabletypedescript-2"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Type

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">time.timestamp</span>`

</td><td>Number

</td><td>Unix timestamp

</td></tr><tr><td>`<span class="editor-theme-code">time.hour</span>`

</td><td>Number

</td><td>Hour (0–23)

</td></tr><tr><td>`<span class="editor-theme-code">time.day_of_week</span>`

</td><td>Number

</td><td>Day index

</td></tr><tr><td>`<span class="editor-theme-code">time.timezone</span>`

</td><td>String

</td><td>IANA timezone

</td></tr></tbody></table>

---

#### Network

<table id="bkmrk-variabletypedescript-3"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Type

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">network.isp</span>`

</td><td>String

</td><td>ISP name

</td></tr><tr><td>`<span class="editor-theme-code">network.asn</span>`

</td><td>Number

</td><td>ASN

</td></tr><tr><td>`<span class="editor-theme-code">network.protocol</span>`

</td><td>String

</td><td>HTTP protocol

</td></tr><tr><td>`<span class="editor-theme-code">network.rtt</span>`

</td><td>Number

</td><td>Round-trip time

</td></tr></tbody></table>

---

#### Bot

<table id="bkmrk-variabletypedescript-4"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Type

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">bot.score</span>`

</td><td>Number | Null

</td><td>Bot score

</td></tr><tr><td>`<span class="editor-theme-code">bot.is_bot</span>`

</td><td>Boolean

</td><td>Bot detection

</td></tr><tr><td>`<span class="editor-theme-code">bot.is_corporate_proxy</span>`

</td><td>Boolean

</td><td>Corporate proxy

</td></tr></tbody></table>

---

### Advanced Context Variables

#### Overview

Advanced Context Variables provide higher-level contextual information that creatives can consume directly without implementing business logic.

---

#### Weather

<table id="bkmrk-variableparametersty"><colgroup><col></col><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Parameters

</th><th>Type

</th><th>Possible Values

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">weather.temperature_band</span>`

</td><td>`<span class="editor-theme-code">temp</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">hot</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">warm</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">cold</span>`

</td><td>Categorizes the current temperature.

</td></tr><tr><td>`<span class="editor-theme-code">weather.condition_type</span>`

</td><td>`<span class="editor-theme-code">condition</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">sunny</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">cloudy</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">rainy</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">stormy</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">snowy</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">foggy</span>`

</td><td>Normalizes weather conditions into common categories.

</td></tr><tr><td>`<span class="editor-theme-code">weather.uv_level</span>`

</td><td>`<span class="editor-theme-code">uv_index</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">low</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">moderate</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">high</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">extreme</span>`

</td><td>Classifies UV intensity.

</td></tr><tr><td>`<span class="editor-theme-code">weather.comfort_level</span>`

</td><td>`<span class="editor-theme-code">temp</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">humidity</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">comfortable</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">humid</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">hot_humid</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">cold</span>`

</td><td>Indicates perceived outdoor comfort.

</td></tr><tr><td>`<span class="editor-theme-code">weather.wind_level</span>`

</td><td>`<span class="editor-theme-code">wind_speed</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">calm</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">moderate</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">windy</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">stormy</span>`

</td><td>Categorizes wind intensity.

</td></tr><tr><td>`<span class="editor-theme-code">weather.is_daylight</span>`

</td><td>`<span class="editor-theme-code">is_day</span>`

</td><td>Boolean

</td><td>`<span class="editor-theme-code">true</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">false</span>`

</td><td>Indicates whether it is currently daytime.

</td></tr><tr><td>`<span class="editor-theme-code">weather.precipitation_level</span>`

</td><td>`<span class="editor-theme-code">precip</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">none</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">light</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">moderate</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">heavy</span>`

</td><td>Classifies precipitation intensity.

</td></tr><tr><td>`<span class="editor-theme-code">weather.visibility_level</span>`

</td><td>`<span class="editor-theme-code">visibility</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">clear</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">moderate</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">poor</span>`

</td><td>Categorizes current visibility.

</td></tr><tr><td>`<span class="editor-theme-code">weather.activity_suitability</span>`

</td><td>`<span class="editor-theme-code">temp</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">precip</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">uv_index</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">wind_speed</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">excellent</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">good</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">poor</span>`

</td><td>Indicates suitability for outdoor activities.

</td></tr></tbody></table>

---

#### Time

<table id="bkmrk-variableparametersty-1"><colgroup><col></col><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Parameters

</th><th>Type

</th><th>Possible Values

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">time.daypart</span>`

</td><td>`<span class="editor-theme-code">hour</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">early_morning</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">morning</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">afternoon</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">evening</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">night</span>`

</td><td>Current part of the day.

</td></tr><tr><td>`<span class="editor-theme-code">time.is_weekend</span>`

</td><td>`<span class="editor-theme-code">day_of_week</span>`

</td><td>Boolean

</td><td>`<span class="editor-theme-code">true</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">false</span>`

</td><td>Indicates whether today is Saturday or Sunday.

</td></tr><tr><td>`<span class="editor-theme-code">time.is_work_hours</span>`

</td><td>`<span class="editor-theme-code">hour</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_weekend</span>`

</td><td>Boolean

</td><td>`<span class="editor-theme-code">true</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">false</span>`

</td><td>Indicates whether current time falls within typical work hours.

</td></tr><tr><td>`<span class="editor-theme-code">time.is_commuting_hours</span>`

</td><td>`<span class="editor-theme-code">hour</span>`

</td><td>Boolean

</td><td>`<span class="editor-theme-code">true</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">false</span>`

</td><td>Indicates typical commuting periods.

</td></tr><tr><td>`<span class="editor-theme-code">time.meal_period</span>`

</td><td>`<span class="editor-theme-code">hour</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">breakfast</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">lunch</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">snack</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">dinner</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">late_night</span>`

</td><td>Current meal period.

</td></tr><tr><td>`<span class="editor-theme-code">time.productivity_state</span>`

</td><td>`<span class="editor-theme-code">hour</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_work_hours</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">productive</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">relaxed</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">sleeping</span>`

</td><td>General activity state based on time.

</td></tr></tbody></table>

---

#### Network

<table id="bkmrk-variableparametersty-2"><colgroup><col></col><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Parameters

</th><th>Type

</th><th>Possible Values

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">network.speed_tier</span>`

</td><td>`<span class="editor-theme-code">rtt</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">protocol</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">fast</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">moderate</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">slow</span>`

</td><td>Overall network performance classification.

</td></tr><tr><td>`<span class="editor-theme-code">network.supports_rich_media</span>`

</td><td>`<span class="editor-theme-code">speed_tier</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">protocol</span>`

</td><td>Boolean

</td><td>`<span class="editor-theme-code">true</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">false</span>`

</td><td>Indicates whether the connection is suitable for rich media.

</td></tr><tr><td>`<span class="editor-theme-code">network.video_quality_tier</span>`

</td><td>`<span class="editor-theme-code">speed_tier</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">low</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">medium</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">high</span>`

</td><td>Recommended video quality tier.

</td></tr></tbody></table>

---

#### Traffic

<table id="bkmrk-variableparametersty-3"><colgroup><col></col><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Parameters

</th><th>Type

</th><th>Possible Values

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">traffic.quality_tier</span>`

</td><td>`<span class="editor-theme-code">bot_score</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_bot</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_corporate_proxy</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">high</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">medium</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">low</span>`

</td><td>Overall traffic quality assessment.

</td></tr><tr><td>`<span class="editor-theme-code">traffic.is_suspicious</span>`

</td><td>`<span class="editor-theme-code">bot_score</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_bot</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_corporate_proxy</span>`

</td><td>Boolean

</td><td>`<span class="editor-theme-code">true</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">false</span>`

</td><td>Indicates potentially suspicious traffic.

</td></tr><tr><td>`<span class="editor-theme-code">traffic.trust_score</span>`

</td><td>`<span class="editor-theme-code">bot_score</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_bot</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_corporate_proxy</span>`

</td><td>Number

</td><td>`<span class="editor-theme-code">0–100</span>`

</td><td>Numeric trust score for the request.

</td></tr></tbody></table>

---

#### Audience

<table id="bkmrk-variableparametersty-4"><colgroup><col></col><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Parameters

</th><th>Type

</th><th>Possible Values

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">audience.outdoor_score</span>`

</td><td>`<span class="editor-theme-code">temp</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">precip</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">uv_index</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">wind_speed</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_daylight</span>`

</td><td>Number

</td><td>`<span class="editor-theme-code">0–100</span>`

</td><td>Indicates how suitable current conditions are for outdoor activity.

</td></tr><tr><td>`<span class="editor-theme-code">audience.outdoor_likelihood</span>`

</td><td>`<span class="editor-theme-code">outdoor_score</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">high</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">medium</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">low</span>`

</td><td>Likelihood that the user is outdoors.

</td></tr><tr><td>`<span class="editor-theme-code">audience.commerce_intent</span>`

</td><td>`<span class="editor-theme-code">hour</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_weekend</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_work_hours</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">daypart</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">temp</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">precip</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">condition_type</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">high</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">medium</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">low</span>`

</td><td>Estimated shopping intent.

</td></tr><tr><td>`<span class="editor-theme-code">audience.engagement_likelihood</span>`

</td><td>`<span class="editor-theme-code">quality_tier</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">speed_tier</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">daypart</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_work_hours</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">high</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">medium</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">low</span>`

</td><td>Estimated likelihood of interacting with the creative.

</td></tr><tr><td>`<span class="editor-theme-code">audience.mobility_state</span>`

</td><td>`<span class="editor-theme-code">hour</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_weekend</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_work_hours</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">daypart</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">activity_suitability</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">sleeping</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">commuting</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">working</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">leisure</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">stationary</span>`

</td><td>Estimated current mobility state.

</td></tr><tr><td>`<span class="editor-theme-code">audience.session_mood</span>`

</td><td>`<span class="editor-theme-code">daypart</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_work_hours</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_weekend</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">mobility_state</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">condition_type</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">productive</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">relaxed</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">entertainment</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">rushed</span>`

</td><td>Estimated user mindset.

</td></tr><tr><td>`<span class="editor-theme-code">audience.purchase_context</span>`

</td><td>`<span class="editor-theme-code">daypart</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_work_hours</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">is_weekend</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">mobility_state</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">condition_type</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">impulse</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">relaxed</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">functional</span>`

</td><td>Estimated purchasing context.

</td></tr></tbody></table>

---

#### Device

<table id="bkmrk-variableparametersty-5"><colgroup><col></col><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Parameters

</th><th>Type

</th><th>Possible Values

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">device.rich_media_ready</span>`

</td><td>`<span class="editor-theme-code">speed_tier</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">trust_score</span>`

</td><td>Boolean

</td><td>`<span class="editor-theme-code">true</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">false</span>`

</td><td>Indicates whether the device and connection are suitable for rich media experiences.

</td></tr><tr><td>`<span class="editor-theme-code">device.experience_tier</span>`

</td><td>`<span class="editor-theme-code">speed_tier</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">trust_score</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">quality_tier</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">rich_media_ready</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">premium</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">standard</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">lite</span>`

</td><td>Recommended creative experience tier.

</td></tr></tbody></table>

---

#### Media

<table id="bkmrk-variableparametersty-6"><colgroup><col></col><col></col><col></col><col></col><col></col></colgroup><tbody><tr><th>Variable

</th><th>Parameters

</th><th>Type

</th><th>Possible Values

</th><th>Description

</th></tr><tr><td>`<span class="editor-theme-code">media.video_quality</span>`

</td><td>`<span class="editor-theme-code">speed_tier</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">video_quality_tier</span>`

</td><td>String

</td><td>`<span class="editor-theme-code">240p</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">480p</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">720p</span>`

<span style="white-space: pre-wrap;">, </span>

`<span class="editor-theme-code">1080p</span>`

</td><td>Recommended maximum video resolution for the current connection.

</td></tr></tbody></table>