Skip to content

Commit

Permalink
[ORBIDDER] add gvlVendorID and set bid response currency (prebid#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
arneschulz1984 authored and Dan Barnett committed May 11, 2021
1 parent c6618de commit 9ce400e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion adapters/orbidder/orbidder.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ func (rcv OrbidderAdapter) MakeBids(internalRequest *openrtb2.BidRequest, extern
}

bidResponse := adapters.NewBidderResponseWithBidsCapacity(5)

for _, seatBid := range bidResp.SeatBid {
for _, bid := range seatBid.Bid {
bidResponse.Bids = append(bidResponse.Bids, &adapters.TypedBid{
Expand All @@ -119,6 +118,9 @@ func (rcv OrbidderAdapter) MakeBids(internalRequest *openrtb2.BidRequest, extern
})
}
}
if bidResp.Cur != "" {
bidResponse.Currency = bidResp.Cur
}
return bidResponse, nil
}

Expand Down
4 changes: 1 addition & 3 deletions static/bidder-info/orbidder.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
maintainer:
email: "realtime-siggi@otto.de"
gvlVendorID: 559
capabilities:
app:
mediaTypes:
- banner
site:
mediaTypes:
- banner

0 comments on commit 9ce400e

Please sign in to comment.