Skip to content

Commit

Permalink
Consumable: Add comment explaining constant bid type.
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed Jun 17, 2020
1 parent f4b9737 commit eb8902e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adapters/consumable/consumable.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,10 @@ func (a *ConsumableAdapter) MakeBids(
//bid.referrer = utils.getTopWindowUrl();

bidderResponse.Bids = append(bidderResponse.Bids, &adapters.TypedBid{
Bid: &bid,
Bid: &bid,
// Consumable units are always HTML, never VAST.
// From Prebid's point of view, this means that Consumable units
// are always "banners".
BidType: openrtb_ext.BidTypeBanner,
})
}
Expand Down

0 comments on commit eb8902e

Please sign in to comment.