Skip to content
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

Merged
merged 6 commits into from
Jun 21, 2024

Conversation

pm-azhar-mulla
Copy link
Contributor

Type of change

  • Feature

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

Copy link
Collaborator

@patmmccann patmmccann left a 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),
Copy link
Collaborator

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?

outputObj['pbv'] = getGlobal()?.version || '-1';

'$prebid.version$' works, you do not need to import the global for it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@patmmccann patmmccann self-assigned this Jun 20, 2024
@patmmccann patmmccann merged commit a4a6de8 into prebid:master Jun 21, 2024
5 checks passed
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this pull request Jul 18, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants