Packages

final case class Item(id: String = "", qty: Int = 0, seq: Int = 0, flr: Double = 0.0, flrcur: String = "", exp: Int = 0, dt: String = "", dlvy: Int = 0, metric: Seq[Metric] = _root_.scala.Seq.empty, deal: Seq[Deal] = _root_.scala.Seq.empty, private: Boolean = false, spec: Option[Any] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty) extends GeneratedMessage with Updatable[Item] with Product with Serializable

This object represents a unit of goods being offered for sale either on the open market or in relation to a private marketplace deal. The id attribute is required since there may be multiple items being offered in the same bid request and bids must reference the specific item of interest.

id

A unique identifier for this item within the context of the offer. @required

qty

The number of instances (i.e., "quantity") of this item being offered. @default 1

seq

If multiple items are offered in the same bid request, the sequence number allows for the coordinated delivery.

flr

Minimum bid price for this item expressed in CPM.

flrcur

Currency of the “flr” attribute specified using ISO-4217 alpha codes. @default "USD"

exp

Advisory as to the number of seconds that may elapse between auction and fulfilment.

dt

Date/time when the item is expected to be fulfilled using the W3C-defined ISO-8601 format.

dlvy

Item (e.g., an Ad object) delivery method required, where 0 = either method, 1 = the item must be sent as part of the transaction, and 2 = an item previously uploaded to the exchange must be referenced by its ID. @default 0

metric

An array of “Metric” objects.

deal

Array of “Deal” objects that convey special terms applicable to this item.

private

Indicator of auction eligibility to seats named in “Deal” objects, where false = all bids are accepted, true = bids are restricted to the deals specified and the terms thereof. @default false

spec

Layer-4 domain object structure that provides specifies the item being offered conforming to the specification and version referenced in “openrtb.domainspec” and “openrtb.domainver”. For AdCOM v1.x, the objects allowed here are “Placement” and any objects subordinate to these as specified by AdCOM. @required

ext

Optional vendor-specific extensions.

extProto

Legacy proto extensions.

Annotations
@SerialVersionUID()
Linear Supertypes
Updatable[Item], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Item
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Item(id: String = "", qty: Int = 0, seq: Int = 0, flr: Double = 0.0, flrcur: String = "", exp: Int = 0, dt: String = "", dlvy: Int = 0, metric: Seq[Metric] = _root_.scala.Seq.empty, deal: Seq[Deal] = _root_.scala.Seq.empty, private: Boolean = false, spec: Option[Any] = _root_.scala.None, ext: Option[Struct] = _root_.scala.None, extProto: Seq[Any] = _root_.scala.Seq.empty)

    id

    A unique identifier for this item within the context of the offer. @required

    qty

    The number of instances (i.e., "quantity") of this item being offered. @default 1

    seq

    If multiple items are offered in the same bid request, the sequence number allows for the coordinated delivery.

    flr

    Minimum bid price for this item expressed in CPM.

    flrcur

    Currency of the “flr” attribute specified using ISO-4217 alpha codes. @default "USD"

    exp

    Advisory as to the number of seconds that may elapse between auction and fulfilment.

    dt

    Date/time when the item is expected to be fulfilled using the W3C-defined ISO-8601 format.

    dlvy

    Item (e.g., an Ad object) delivery method required, where 0 = either method, 1 = the item must be sent as part of the transaction, and 2 = an item previously uploaded to the exchange must be referenced by its ID. @default 0

    metric

    An array of “Metric” objects.

    deal

    Array of “Deal” objects that convey special terms applicable to this item.

    private

    Indicator of auction eligibility to seats named in “Deal” objects, where false = all bids are accepted, true = bids are restricted to the deals specified and the terms thereof. @default false

    spec

    Layer-4 domain object structure that provides specifies the item being offered conforming to the specification and version referenced in “openrtb.domainspec” and “openrtb.domainver”. For AdCOM v1.x, the objects allowed here are “Placement” and any objects subordinate to these as specified by AdCOM. @required

    ext

    Optional vendor-specific extensions.

    extProto

    Legacy proto extensions.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllDeal(__vs: Iterable[Deal]): Item
  5. def addAllExtProto(__vs: Iterable[Any]): Item
  6. def addAllMetric(__vs: Iterable[Metric]): Item
  7. def addDeal(__vs: Deal*): Item
  8. def addExtProto(__vs: Any*): Item
  9. def addMetric(__vs: Metric*): Item
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clearDeal: Item
  12. def clearExt: Item
  13. def clearExtProto: Item
  14. def clearMetric: Item
  15. def clearSpec: Item
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  17. def companion: Item.type
    Definition Classes
    Item → GeneratedMessage
  18. val deal: Seq[Deal]
  19. val dlvy: Int
  20. val dt: String
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. val exp: Int
  23. val ext: Option[Struct]
  24. val extProto: Seq[Any]
  25. val flr: Double
  26. val flrcur: String
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  28. def getExt: Struct
  29. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Item → GeneratedMessage
  30. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Item → GeneratedMessage
  31. def getSpec: Any
  32. val id: String
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. val metric: Seq[Metric]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. val private: Boolean
  39. def productElementNames: Iterator[String]
    Definition Classes
    Product
  40. val qty: Int
  41. val seq: Int
  42. def serializedSize: Int
    Definition Classes
    Item → GeneratedMessage
  43. val spec: Option[Any]
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  46. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  47. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  48. def toProtoString: String
    Definition Classes
    Item → GeneratedMessage
  49. def update(ms: (Lens[Item, Item]) => Mutation[Item]*): Item
    Definition Classes
    Updatable
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. def withDeal(__v: Seq[Deal]): Item
  54. def withDlvy(__v: Int): Item
  55. def withDt(__v: String): Item
  56. def withExp(__v: Int): Item
  57. def withExt(__v: Struct): Item
  58. def withExtProto(__v: Seq[Any]): Item
  59. def withFlr(__v: Double): Item
  60. def withFlrcur(__v: String): Item
  61. def withId(__v: String): Item
  62. def withMetric(__v: Seq[Metric]): Item
  63. def withPrivate(__v: Boolean): Item
  64. def withQty(__v: Int): Item
  65. def withSeq(__v: Int): Item
  66. def withSpec(__v: Any): Item
  67. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  68. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Item → GeneratedMessage
  69. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[Item]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped