
oa-test.2.1.0.source-code.com_adgear_avro_openrtb_Banner.thrift Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of anoa-test Show documentation
Show all versions of anoa-test Show documentation
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
/** 3.3.3 Banner Object
The “banner” object _must_ be included directly in the impression object if the impression offered for auction is display or rich media, or it may be _optionally_ embedded in the video object to describe the companion banners available for the linear or non-linear video ad. The banner object may include a unique identifier; this can be useful if these IDs can be leveraged in the VAST response to dictate placement of the companion creatives when multiple companion ad opportunities of the same size are available on a page. */
struct Banner {
/** [01] Width of the impression in pixels. Since some ad types are not restricted by size this field is not required, but it’s highly recommended that this information be included when possible. */
01: optional i32 w,
/** [02] Height of the impression in pixels. Since some ad types are not restricted by size this field is not required, but it’s highly recommended that this information be included when possible. */
02: optional i32 h,
/** [03] Maximum width of the impression in pixels. If included, it indicates that a range of sizes is allowed with this maximum width and "w" is taken as recommended. If not included, then "w" should be considered an exact requirement. */
03: optional i32 wmax,
/** [04] Maximum height of the impression in pixels. If included, it indicates that a range of sizes is allowed with this maximum height and "h" is taken as recommended. If not included, then "h" should be considered an exact requirement. */
04: optional i32 hmax,
/** [05] Minimum width of the impression in pixels. If included, it indicates that a range of sizes is allowed with this minimum width and "w" is taken as recommended. If not included, then "w" should be considered an exact requirement. */
05: optional i32 wmin,
/** [06] Minimum height of the impression in pixels. If included, it indicates that a range of sizes is allowed with this minimum height and "h" is taken as recommended. If not included, then "h" should be considered an exact requirement. */
06: optional i32 hmin,
/** [07] Unique identifier for this banner object. Useful for tracking multiple banner objects (e.g., in companion banner array). Usually starts with 1, increasing with each object. Combination of impression id banner object should be unique. */
07: optional string id,
/** [08] Ad Position. Use Table 6.5 */
08: optional i32 pos,
/** [09] Blocked creative types. See Table 6.2 Banner Ad Types. If blank, assume all types are allowed. */
09: optional list btype,
/** [10] Blocked creative attributes. See Table 6.3 Creative Attributes. If blank assume all types are allowed. */
10: optional list battr,
/** [11] Whitelist of content MIME types supported. Popular MIME types include, but are not limited to “image/jpg”, “image/gif” and “application/x-shockwave-flash”. */
11: optional list mimes,
/** [12] Specify if the banner is delivered in the top frame or in an iframe. “0” means it is not in the top frame, and “1” means that it is. */
12: optional i32 topframe = 0,
/** [13] Specify properties for an expandable ad. See Table 6.11 Expandable Direction for possible values. */
13: optional list expdir,
/** [14] List of supported API frameworks for this banner. (See Table 6.4 API Frameworks). If an API is not explicitly listed it is assumed not to be supported. */
14: optional list api
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy