# Frequently asked questions

List of frequently asked questions and answers.

# What is a context variable ?

<span style="white-space: pre-wrap;">A </span>****Context Variable****<span style="white-space: pre-wrap;"> is a piece of information about the user's current environment that can be used to personalize an ad in real time. It can represent raw data (such as the user's city, current temperature, or device type) or derived data (such as whether it's work hours or whether the weather is warm). Context variables are resolved before the creative is rendered, allowing components to dynamically display content, adjust layouts, or change behavior without requiring custom JavaScript.</span>

****Examples:****

- `<span class="editor-theme-code">geo.city</span>`<span style="white-space: pre-wrap;"> → </span>`<span class="editor-theme-code">New York</span>`
- `<span class="editor-theme-code">weather.temp</span>`<span style="white-space: pre-wrap;"> → </span>`<span class="editor-theme-code">21.2</span>`
- `<span class="editor-theme-code">device.is_mobile</span>`<span style="white-space: pre-wrap;"> → </span>`<span class="editor-theme-code">true</span>`
- `<span class="editor-theme-code">time.daypart</span>`<span style="white-space: pre-wrap;"> → </span>`<span class="editor-theme-code">morning</span>`
- `<span class="editor-theme-code">weather.temperature_band</span>`<span style="white-space: pre-wrap;"> → </span>`<span class="editor-theme-code">warm</span>`