Context Object

This object passes information about the context of the where, how, and to whom the ad will be shown, i.e. the user, their device, their location, the channel (e.g., site, app, digital out-of-home) with which they are interacting, the channel’s publisher, its content, and any regulations that are in effect (e.g., COPPA, GDPR).

Context Object Properties
Value Type Description
regs object Contains any regulation specific information, e.g. GDPR, see Regulations Context
restrictions object This object allows lists of restrictions on ad responses to be specified including specific content categories, advertisers, ads pertaining to specific apps, or creative attributes, see Restrictions Context
site object Specifies the website on which the ad will be shown, see Site Context
user object Contains details of the user to whom the ad will be shown, User Context
device object Specifies the device on which the ad will be shown, see Device Context
app object Specifies the app on which the ad will be shown, see App Context
dooh object Specifies the Direct out of Home (DOOH) details for this ad, see DOOH Context

Example Context JSON

            "name":"Awesome Example Site",
                "name":"Example Publisher, Inc.",
            "ua":"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20110319 Firefox/3.6.16",