Site Object

Note

Fields marked with an asterisk (*) are optional.

Site Object Properties
Value Type Description
publisher object Publisher object, for more information, see the Publisher Object section.
id* string 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"
cat* array of strings Array of IAB content categories for the site. ["IAB1", "IAB2-3"]
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"
privacypolicy* integer

Indicates if the site has a privacy policy.

  • 0 = No
  • 1 = Yes.
mobile* integer

Mobile-optimized signal.

  • 0 = No
  • 1 = Yes.

Site Object Example

{
   "site":{
      "id":"SSPid_1345135123",
      "name":"Site ABCD",
      "domain":"siteabcd.com",
      "cat":[
         "IAB2-1",
         "IAB2-2"
      ],
      "page":"http://siteabcd.com/page.htm",
      "ref":"http://referringsite.com/referringpage.htm",
      "privacypolicy":1,
      "publisher":{
         "id":"SSPid_12345",
         "name":"Publisher A"
      }
   }
}

Table Of Contents