-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PubMatic Analytics Adapter : Logging MultiBids from bidders #11844
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly lgtm, one nitpick
@@ -407,7 +417,7 @@ function executeBidsLoggerCall(e, highestCpmBids) { | |||
'au': origAdUnit.owAdUnitId || getGptSlotInfoForAdUnitCode(adUnitId)?.gptSlot || adUnitId, | |||
'mt': getAdUnitAdFormats(origAdUnit), | |||
'sz': getSizesForAdUnit(adUnit, adUnitId), | |||
'ps': gatherPartnerBidsForAdUnitForLogger(adUnit, adUnitId, highestCpmBids.filter(bid => bid.adUnitCode === adUnitId)), | |||
'ps': gatherPartnerBidsForAdUnitForLogger(adUnit, adUnitId, highestCpmBids.filter(bid => bid.adUnitCode === adUnitId), e), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also fix this?
Prebid.js/modules/pubmaticAnalyticsAdapter.js
Line 404 in 4fc7f88
outputObj['pbv'] = getGlobal()?.version || '-1'; |
'$prebid.version$' works, you do not need to import the global for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
…1844) * Using orignalRequestId to find the bid in case of MultiBid response * Using orignalRequestId to find the winning bid in case of MultiBid response * Handled bidderCode while logging * replaced Prebid version method by string --------- Co-authored-by: pm-azhar-mulla <[email protected]>
Type of change
Description of change
Earlier, we were not logging the multibids from bidders. With this update, we have added support for logging multibids. This enhancement ensures that all bids from bidders are recorded, providing better transparency and insights into the bidding process
Other information