Site Context

Site Object Properties

Value

Type

Description

id

string

(Recommended) An exchange specific identifier comprised of the Supplier’s exchange name, and the target site ID appended following an underscore. For example, if a Supplier such as Rubicon sends a bid request for site ID "123", the field becomes "rubicon_123"

name

string

Site name (may be masked by publisher request), for example, "Test Site"

domain

string

Domain of the site, used for advertiser side blocking. "testsite.com"

pub

object

Publisher object, for more information, see the Publisher Object section.

cattax

int

The taxonomy in use for the cat, sectcat, and pagecat attributes. The default is "2"

  • 1 IAB Content Category Taxonomy 1.0.

  • 2 IAB Content Category Taxonomy 2.0; www.iab.com/guidelines/taxonomy

  • 3 IAB Ad Product Taxonomy 1.0.

cat

array of strings

Array of content categories for the site, based on cattax, e.g., ["IAB1", "IAB2-3"]

sectcat

array of strings

Array of content categories for this section of the site, based on cattax, e.g., ["IAB1", "IAB21"]

pagecat

array of strings

Array of content categories for this page, based on cattax, e.g., ["IAB1", "IAB2-3"]

privpolicy

integer

Indicates if the site has a privacy policy, where 0 = No and 1 = Yes.

page

string

URL of the page where the impression will be shown. "http://testsite.com/main.asp"

ref

string

Referrer URL that caused navigation to the current page, for example, "http://testsite.com/main.asp"

mobile

integer

Mobile-optimized signal, where 0 = No and 1 = Yes.

amp

integer

Indicates if the page is built with AMP HTML, where 0 = No and 1 = Yes

Site JSON Example

{
    "site":{
        "id":"criteo_1234",
        "name":"Example Site",
        "domain":"examplesitedomain.com",
        "amp":0,
        "cattax":2,
        "cat":[
            "278",
            "279"
        ],
        "mobile":1,
        "pub":{
            "id":"criteo_9876",
            "name":"Example Publisher, Inc.",
            "domain":"examplepubdomain.com"
        }
    }
}