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

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.

Summary

Types

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

Functions

Link to this function

changeset(response, attrs \\ %{})

View Source