Site Object¶
Note
Fields marked with an asterisk (*) are optional.
Value |
Type |
Description |
---|---|---|
publisher |
object |
Publisher object, for more information, see the Publisher Object section. |
id |
string |
An exchange specific identifier. |
name* |
string |
Site name (may be masked by publisher request), for example,
|
domain* |
string |
Domain of the site, used for advertiser side blocking.
|
content* |
object |
Passes the content object, see the Content Object section for details |
cat* |
array of strings |
Array of IAB content categories for the site, The content categories specified can be extended using BidSwitch Sensitive Categories and Rich Media. |
page* |
string |
URL of the page where the impression will be shown.
|
ref* |
string |
Referrer URL that caused navigation to the current page, for example,
|
privacypolicy* |
integer |
Indicates if the site has a privacy policy.
|
mobile* |
integer |
Mobile-optimized signal.
|
ext* |
object |
Site extension object |
Site Ext¶
Value |
Type |
Description |
---|---|---|
amp |
bool |
Indicates if the site is AMP (Accelerated Mobile Pages) optimised, where |
inventorypartnerdomain* |
string |
A pointer to the domain of the partner (of the site/app owner) with ownership of
some portion of ad inventory on the site/app. The partner’s
|
SSP Site Object Example¶
{
"site":{
"id":"abc35123",
"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,
"ext":{
"inventorypartnerdomain":"examplepartnerdomain.com"
},
"publisher":{
"id":"abc2345",
"name":"Publisher A"
}
}
}