Skip to content

Commit

Permalink
Merged in RVR-1249-add-requestedbids-to-auction (pull request #10)
Browse files Browse the repository at this point in the history
RVR-1249 Add requested bids to auction object request.

Approved-by: Alessandro Di Giovanni <alessandro.digiovanni@gamegenetics.de>
  • Loading branch information
Kacper Woźniak authored and AlessandroDG committed Oct 19, 2018
1 parent 1ae2f35 commit c9e5164
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/rivrAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ function trackAuctionInit(args) {

function trackBidRequest(args) {
setCurrentPublisherId(args);
let bidRequest = args;
rivrAnalytics.context.auctionObject.bidRequests.push(bidRequest);
};

function trackBidResponse(args) {
Expand Down Expand Up @@ -310,7 +312,8 @@ function fulfillAuctionObject() {
yob: null,
gender: null,
},
bidResponses: []
bidResponses: [],
bidRequests: []
}
return newAuction;
};
Expand Down

0 comments on commit c9e5164

Please sign in to comment.