Skip to content

Commit

Permalink
pass auctionId (prebid#6664)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrmartinez authored and umakajan committed May 6, 2021
1 parent c97f273 commit 0517020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/rubiconAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ function sendMessage(auctionId, bidWonId) {
clientTimeoutMillis: auctionCache.timeout,
samplingFactor,
accountId,
adUnits: Object.keys(adUnitMap).map(i => adUnitMap[i])
adUnits: Object.keys(adUnitMap).map(i => adUnitMap[i]),
requestId: auctionId
};

// pick our of top level floor data we want to send!
Expand Down
1 change: 1 addition & 0 deletions test/spec/modules/rubiconAnalyticsAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ const ANALYTICS_MESSAGE = {
'referrerHostname': 'www.test.com',
'auctions': [
{
'requestId': '25c6d7f5-699a-4bfc-87c9-996f915341fa',
'clientTimeoutMillis': 3000,
'serverTimeoutMillis': 1000,
'accountId': 1001,
Expand Down

0 comments on commit 0517020

Please sign in to comment.