BidResponse

@Serializable
class BidResponse(val type: String, val auction_id: String, val adomain: Array<String>? = null, val bid_in_cents: Int = 0, val bid_raw: Float = 0.0f, val content_type: String? = null, val crid: String? = null, val height: Int = 0, val width: Int = 0, val is_interstitial: Byte = 0, val markup: String, val network: String = "", val placement_id: String? = null, val is_mraid: Byte = 0, val position: String, val trackers: Map<String, Array<String>> = emptyMap(), val duration: Int = 0, val exp: Int = -1, val external_notifications: Map<String, String> = emptyMap())

A winning bid response from Nimbus

Constructors

Link copied to clipboard
constructor(type: String, auction_id: String, adomain: Array<String>? = null, bid_in_cents: Int = 0, bid_raw: Float = 0.0f, content_type: String? = null, crid: String? = null, height: Int = 0, width: Int = 0, is_interstitial: Byte = 0, markup: String, network: String = "", placement_id: String? = null, is_mraid: Byte = 0, position: String, trackers: Map<String, Array<String>> = emptyMap(), duration: Int = 0, exp: Int = -1, external_notifications: Map<String, String> = emptyMap())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An optional list of the advertising domains associated with this ad.

Link copied to clipboard

This unique auction id. Represented as a GUID.

Link copied to clipboard

This winning auction's bid in cents.

Link copied to clipboard

This winning auction's precise winning bid.

Link copied to clipboard

Urls to fire a request to when a click is registered

Link copied to clipboard

The content type of this creative. "text/html" for static or a mime type for video ads

Link copied to clipboard

The creative ID of this ad if known

Link copied to clipboard

The duration in seconds or 0 if unknown or another ad type.

Link copied to clipboard

Number of seconds a bidder can wait before rendering the impression.

Link copied to clipboard

Contains urls used to notify external services.

Link copied to clipboard

The height of the creative if available. Will not be set for Video or Native ads

Link copied to clipboard

Urls to fire a request to when an impression is registered

Link copied to clipboard

Set to 1 if the original request was for an interstitial ad

Link copied to clipboard

Set to 1 if Nimbus has determined the creative returned requests MRAID in the creative markup

Link copied to clipboard

Url to fire a request to when this bid loses an auction

Link copied to clipboard

The markup returned by Nimbus. Will be in the format of html for static or xml VAST for video

Link copied to clipboard

The network that won this auction

Link copied to clipboard

The winning placement id if the winning bid maps to a line item

Link copied to clipboard

The position from the request for this ad.

Link copied to clipboard

Contains additional tracking urls for measurement.

Link copied to clipboard

The type of creative returned. This maps to one of "static", "video", or "native"

Link copied to clipboard

The width of the creative if available. Will not be set for Video or Native ads

Link copied to clipboard

Url to fire a request to when this bid wins an auction