All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oa-test.2.1.0.source-code.com_adgear_avro_openrtb_Site.thrift Maven / Gradle / Ivy

Go to download

Test module for other Anoa modules, which exposes complex records (OpenRTB bid requests) through utility classes for use in unit tests within other Anoa modules (anoa-core, for instance).

The newest version!
namespace * thrift.com.adgear.avro.openrtb

include "com_adgear_avro_openrtb_Publisher.thrift"
include "com_adgear_avro_openrtb_Content.thrift"

/** 3.3.5 Site Object
A site object should be included if the ad supported content is part of a website (as opposed to an application). A bid request must not contain both a site object and an app object.
The site object itself and all of its parameters are optional, so default values are not provided. If an optional parameter is not specified, it should be considered unknown. At a minimum, it’s useful to provide a page URL or a site ID, but this is not strictly required. */
struct Site {
  /** [01] Site ID on the exchange. */
  01: optional string id,
  /** [02] Site name (may be masked at publisher’s request). */
  02: optional string name,
  /** [03] Domain of the site, used for advertiser side blocking. For example, “foo.com”. */
  03: optional string domain,
  /** [04] Array of IAB content categories for the overall site. See Table 6.1 Content Categories. */
  04: optional list cat,
  /** [05] Array of IAB content categories for the current subsection of the site. See Table 6.1 Content Categories. */
  05: optional list sectioncat,
  /** [06] Array of IAB content categories for the current page. See Table 6.1 Content Categories. */
  06: optional list pagecat,
  /** [07] URL of the page where the impression will be shown. */
  07: optional string page,
  /** [08] Specifies whether the site has a privacy policy. “1” means there is a policy. “0” means there is not. */
  08: optional i32 privacypolicy,
  /** [09] Referrer URL that caused navigation to the current page. */
  09: optional string ref,
  /** [10] Search string that caused navigation to the current page. */
  10: optional string search,
  /** [11] See Publisher Object. */
  11: optional com_adgear_avro_openrtb_Publisher.Publisher publisher,
  /** [12] See Content Object. */
  12: optional com_adgear_avro_openrtb_Content.Content content,
  /** [13] List of keywords describing this site in a comma separated string. */
  13: optional string keywords
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy