-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix(greenbids,analytics): fetch bidder params when bid is valid #6
base: master
Are you sure you want to change the base?
Conversation
modules/greenbidsAnalyticsAdapter.js
Outdated
timeoutBids.forEach(badBid => { | ||
Object.assign( | ||
biddersSubMessages.get((badBid.adUnitCode, badBid.bidder)) || {}, | ||
{ isTimeout: true } |
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.
question: seems that hasBid: false
should be added in case of timeout
modules/greenbidsAnalyticsAdapter.js
Outdated
bidsReceived, | ||
noBids | ||
} = auctionEndArgs; | ||
const timeoutBids = (cachedAuction || this.getCachedAuction(auctionId)).timeoutBids || []; |
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.
question: the auctionId is cached twice here. Could we cache it once at handleAuctionInit
and then reuse?
|
||
// Keep only bidders that received a bid request and enrich the message |
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.
I don't understand how this line relates to the comment, and why it's needed
No description provided.