pub struct Site {Show 15 fields
pub id: Option<String>,
pub name: Option<String>,
pub domain: Option<String>,
pub cat: Option<Vec<ContentCategory>>,
pub sectioncat: Option<Vec<ContentCategory>>,
pub pagecat: Option<Vec<ContentCategory>>,
pub page: Option<String>,
pub ref: Option<String>,
pub search: Option<String>,
pub mobile: Option<bool>,
pub privacypolicy: Option<bool>,
pub publisher: Option<Publisher>,
pub content: Option<Content>,
pub keywords: Option<String>,
pub ext: Option<Map<String, Value>>,
}
Expand description
3.2.13 Object: Site
This object should be included if the ad supported content is a website as opposed to a non-browser application. A bid request must not contain both a Site and an App object. At a minimum, it is useful to provide a site ID or page URL, but this is not strictly required.
Fields§
§id: Option<String>
string; recommended Exchange-specific site ID.
name: Option<String>
string Site name (may be aliased at the publisher’s request).
domain: Option<String>
string Domain of the site (e.g., “mysite.foo.com”).
cat: Option<Vec<ContentCategory>>
string array Array of IAB content categories of the site. Refer to List 5.1.
sectioncat: Option<Vec<ContentCategory>>
string array Array of IAB content categories that describe the current section of the site. Refer to List 5.1.
pagecat: Option<Vec<ContentCategory>>
string array Array of IAB content categories that describe the current page or view of the site. Refer to List 5.1.
page: Option<String>
string URL of the page where the impression will be shown.
ref: Option<String>
string Referrer URL that caused navigation to the current page.
search: Option<String>
string Search string that caused navigation to the current page.
mobile: Option<bool>
integer Indicates if the site has been programmed to optimize layout when viewed on mobile devices, where 0 = no, 1 = yes.
privacypolicy: Option<bool>
integer Indicates if the site has a privacy policy, where 0 = no, 1 = yes.
publisher: Option<Publisher>
object Details about the Publisher (Section 3.2.15) of the site.
content: Option<Content>
object Details about the Content (Section 3.2.16) within the site.
keywords: Option<String>
string Comma separated list of keywords about the site.
ext: Option<Map<String, Value>>
object Placeholder for exchange-specific extensions to OpenRTB.