final case class Request(id: String = "", test: Boolean = false, tmax: Int = 0, at: Int = 0, cur: Seq[String] = _root_.scala.Seq.empty, seat: Seq[String] = _root_.scala.Seq.empty, wseat: Boolean = false, cdata: String = "", source: Option[Source] = _root_.scala.None, item: Seq[Item] = _root_.scala.Seq.empty, package: Int = 0, context: Option[Any] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Request] with Product with Serializable
The Request object contains a globally unique bid request ID. This id attribute is required as is an Item array with at least one object (i.e., at least one item for sale). Other attributes establish rules and restrictions that apply to all items being offered.
- id
Unique ID of the bid request; provided by the exchange.
- test
Indicator of test mode in which auctions are not billable, where false = live mode, true = test mode. @default false
- tmax
Maximum time in milliseconds the exchange allows for bids to be received including Internet latency to avoid timeout.
- at
Auction type, where 1 = First Price, 2 = Second Price Plus. Values greater than 500 can be used for exchange-specific auction types. @default 2
- cur
Array of accepted currencies for bids on this bid request using ISO-4217 alpha codes. @default ["USD"]
- seat
Restriction list of buyer seats for bidding on this item.
- wseat
Flag that determines the restriction interpretation of the “seat” array, where false = block list, true = whitelist. @default true
- cdata
Allows bidder to retrieve data set on its behalf in the exchange’s cookie. The string must be in base85 cookie-safe characters.
- source
A “Source” object that provides data about the inventory source and which entity makes the final decision.
- item
Array of “Item” objects (at least one) that constitute the set of goods being offered for sale. @required
- package
Flag to indicate if the Exchange can verify that the items offered represent all of the items available in context.
- context
Layer-4 domain object structure that provides context for the items being offered conforming to the specification and version referenced in “openrtb.domainspec” and “openrtb.domainver”. For AdCOM v1.x, the objects allowed here all of which are optional are one of the “DistributionChannel” subtypes (i.e., “Site”, “App”, or “Dooh”), “User”, “Device”, “Regs”, and any objects subordinate to these as specified by AdCOM. @recommended
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Request
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Request(id: String = "", test: Boolean = false, tmax: Int = 0, at: Int = 0, cur: Seq[String] = _root_.scala.Seq.empty, seat: Seq[String] = _root_.scala.Seq.empty, wseat: Boolean = false, cdata: String = "", source: Option[Source] = _root_.scala.None, item: Seq[Item] = _root_.scala.Seq.empty, package: Int = 0, context: Option[Any] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)
- id
Unique ID of the bid request; provided by the exchange.
- test
Indicator of test mode in which auctions are not billable, where false = live mode, true = test mode. @default false
- tmax
Maximum time in milliseconds the exchange allows for bids to be received including Internet latency to avoid timeout.
- at
Auction type, where 1 = First Price, 2 = Second Price Plus. Values greater than 500 can be used for exchange-specific auction types. @default 2
- cur
Array of accepted currencies for bids on this bid request using ISO-4217 alpha codes. @default ["USD"]
- seat
Restriction list of buyer seats for bidding on this item.
- wseat
Flag that determines the restriction interpretation of the “seat” array, where false = block list, true = whitelist. @default true
- cdata
Allows bidder to retrieve data set on its behalf in the exchange’s cookie. The string must be in base85 cookie-safe characters.
- source
A “Source” object that provides data about the inventory source and which entity makes the final decision.
- item
Array of “Item” objects (at least one) that constitute the set of goods being offered for sale. @required
- package
Flag to indicate if the Exchange can verify that the items offered represent all of the items available in context.
- context
Layer-4 domain object structure that provides context for the items being offered conforming to the specification and version referenced in “openrtb.domainspec” and “openrtb.domainver”. For AdCOM v1.x, the objects allowed here all of which are optional are one of the “DistributionChannel” subtypes (i.e., “Site”, “App”, or “Dooh”), “User”, “Device”, “Regs”, and any objects subordinate to these as specified by AdCOM. @recommended
- ext
Optional vendor-specific extensions.
- extProto
Legacy proto extensions.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllCur(__vs: Iterable[String]): Request
- def addAllExtProto(__vs: Iterable[Any]): Request
- def addAllItem(__vs: Iterable[Item]): Request
- def addAllSeat(__vs: Iterable[String]): Request
- def addCur(__vs: String*): Request
- def addExtProto(__vs: Any*): Request
- def addItem(__vs: Item*): Request
- def addSeat(__vs: String*): Request
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val at: Int
- val cdata: String
- def clearContext: Request
- def clearCur: Request
- def clearExt: Request
- def clearExtProto: Request
- def clearItem: Request
- def clearSeat: Request
- def clearSource: Request
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Request.type
- Definition Classes
- Request → GeneratedMessage
- val context: Option[Any]
- val cur: Seq[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val ext: Option[Struct]
- val extProto: Seq[Any]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getContext: Any
- def getExt: Struct
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Request → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Request → GeneratedMessage
- def getSource: Source
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val item: Seq[Item]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val package: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val seat: Seq[String]
- def serializedSize: Int
- Definition Classes
- Request → GeneratedMessage
- val source: Option[Source]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val test: Boolean
- val tmax: Int
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- Request → GeneratedMessage
- def update(ms: (Lens[Request, Request]) => Mutation[Request]*): Request
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAt(__v: Int): Request
- def withCdata(__v: String): Request
- def withContext(__v: Any): Request
- def withCur(__v: Seq[String]): Request
- def withExt(__v: Struct): Request
- def withExtProto(__v: Seq[Any]): Request
- def withId(__v: String): Request
- def withItem(__v: Seq[Item]): Request
- def withPackage(__v: Int): Request
- def withSeat(__v: Seq[String]): Request
- def withSource(__v: Source): Request
- def withTest(__v: Boolean): Request
- def withTmax(__v: Int): Request
- def withWseat(__v: Boolean): Request
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Request → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- val wseat: Boolean
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)