pub struct Imp {Show 18 fields
pub id: String,
pub metric: Option<Vec<Metric>>,
pub banner: Option<Banner>,
pub video: Option<Video>,
pub audio: Option<Audio>,
pub native: Option<Native>,
pub pmp: Option<Pmp>,
pub displaymanager: Option<String>,
pub displaymanagerver: Option<String>,
pub instl: bool,
pub tagid: Option<String>,
pub bidfloor: f64,
pub bidfloorcur: String,
pub clickbrowser: Option<bool>,
pub secure: Option<bool>,
pub iframebuster: Option<Vec<String>>,
pub exp: Option<i32>,
pub ext: Option<Map<String, Value>>,
}
Expand description
3.2.4 Object: Imp
This object describes an ad placement or impression being auctioned. A single bid request can include multiple Imp objects, a use case for which might be an exchange that supports selling all ad positions on a given page. Each Imp object has a required ID so that bids can reference them individually.
The presence of Banner (Section 3.2.6), Video (Section 3.2.7), and/or Native (Section 3.2.9) objects subordinate to the Imp object indicates the type of impression being offered. The publisher can choose one such type which is the typical case or mix them at their discretion. However, any given bid for the impression must conform to one of the offered types.
Fields§
§id: String
string; required A unique identifier for this impression within the context of the bid request (typically, starts with 1 and increments.
metric: Option<Vec<Metric>>
object array An array of Metric object (Section 3.2.5).
object A Banner object (Section 3.2.6); required if this impression is offered as a banner ad opportunity.
video: Option<Video>
object A Video object (Section 3.2.7); required if this impression is offered as a video ad opportunity.
audio: Option<Audio>
object An Audio object (Section 3.2.8); required if this impression is offered as an audio ad opportunity.
native: Option<Native>
object A Native object (Section 3.2.9); required if this impression is offered as a native ad opportunity.
pmp: Option<Pmp>
object A Pmp object (Section 3.2.11) containing any private marketplace deals in effect for this impression.
displaymanager: Option<String>
string Name of ad mediation partner, SDK technology, or player responsible for rendering ad (typically video or mobile). Used by some ad servers to customize ad code by partner. Recommended for video and/or apps.
displaymanagerver: Option<String>
string Version of ad mediation partner, SDK technology, or player responsible for rendering ad (typically video or mobile). Used by some ad servers to customize ad code by partner. Recommended for video and/or apps.
instl: bool
integer; default 0 1 = the ad is interstitial or full screen, 0 = not interstitial.
tagid: Option<String>
string Identifier for specific ad placement or ad tag that was used to initiate the auction. This can be useful for debugging of any issues, or for optimization by the buyer.
bidfloor: f64
float; default 0 Minimum bid for this impression expressed in CPM.
bidfloorcur: String
string; default “USD” Currency specified using ISO-4217 alpha codes. This may be different from bid currency returned by bidder if this is allowed by the exchange.
clickbrowser: Option<bool>
integer Indicates the type of browser opened upon clicking the creative in an app, where 0 = embedded, 1 = native. Note that the Safari View Controller in iOS 9.x devices is considered a native browser for purposes of this attribute.
secure: Option<bool>
integer Flag to indicate if the impression requires secure HTTPS URL creative assets and markup, where 0 = non-secure, 1 = secure. If omitted, the secure state is unknown, but non-secure HTTP support can be assumed.
iframebuster: Option<Vec<String>>
string array Array of exchange-specific names of supported iframe busters.
exp: Option<i32>
integer Advisory as to the number of seconds that may elapse between the auction and the actual impression.
ext: Option<Map<String, Value>>
object Placeholder for exchange-specific extensions to OpenRTB.