OpenRtbEcto.V2.BidRequest.Video (OpenRtbEcto v0.1.3) View Source

This object represents an in-stream video impression. Many of the fields are non-essential for minimally viable transactions, but are included to offer fine control when needed. Video in OpenRTB generally assumes compliance with the VAST standard. As such, the notion of companion ads is supported by optionally including an array of Banner objects (refer to the Banner object in Section 3.2.6) that define these companion ads.

The presence of a Video as a subordinate of the Imp object indicates that this impression is offered as a video type impression. At the publisher’s discretion, that same impression may also be offered as banner, audio, and/or native by also including as Imp subordinates objects of those types. However, any given bid for the impression must conform to one of the offered types.

Link to this section Summary

Link to this section Types


t() :: %OpenRtbEcto.V2.BidRequest.Video{
  api: term(),
  battr: term(),
  boxingallowed: term(),
  companionad: term(),
  companiontype: term(),
  delivery: term(),
  ext: term(),
  h: term(),
  id: term(),
  linearity: term(),
  maxbitrate: term(),
  maxduration: term(),
  maxextended: term(),
  mimes: term(),
  minbitrate: term(),
  minduration: term(),
  placement: term(),
  playbackend: term(),
  playbackmethod: term(),
  pos: term(),
  protocol: term(),
  protocols: term(),
  sequence: term(),
  skip: term(),
  skipafter: term(),
  skipmin: term(),
  startdelay: term(),
  w: term()

Link to this section Functions

Link to this function

changeset(video, attrs \\ %{})

View Source