OpenRtbEcto.V2.BidResponse (OpenRtbEcto v0.1.3) View Source

This object is the top-level bid response object (i.e., the unnamed outer JSON object). The id attribute is a reflection of the bid request ID for logging purposes. Similarly, bidid is an optional response tracking ID for bidders. If specified, it can be included in the subsequent win notice call if the bidder wins. At least one seatbid object is required, which contains at least one bid for an impression. Other attributes are optional.

To express a “no-bid”, the options are to return an empty response with HTTP 204. Alternately if the bidder wishes to convey to the exchange a reason for not bidding, just a BidResponse object is returned with a reason code in the nbr attribute.

Link to this section Summary

Link to this section Types


t() :: %OpenRtbEcto.V2.BidResponse{
  bidid: term(),
  cur: term(),
  customdata: term(),
  ext: term(),
  id: term(),
  nbr: term(),
  seatbid: term()

Link to this section Functions

Link to this function

changeset(response, attrs \\ %{})

View Source