Skip to content

Mrf 60086/improve bids debugging script#41

Merged
joanmirallesmrf merged 4 commits intomarfeel-masterfrom
MRF-60086/Improve_bids_debugging_script
Nov 15, 2019
Merged

Mrf 60086/improve bids debugging script#41
joanmirallesmrf merged 4 commits intomarfeel-masterfrom
MRF-60086/Improve_bids_debugging_script

Conversation

@joanmirallesmrf
Copy link

No description provided.

src/targeting.js Outdated
* bid caching done with all bids specifically for Marfeel purposes due to its own configuration
*/
const filterBidsByAdUnit = (bidsReceived) => bidsReceived.filter(bid => latestAuctionForAdUnit[bid.adUnitCode] === bid.auctionId);
const isBidAlreadyRecieved = (bid, lastLocation) => bidsByReferrer[lastLocation] && !!bidsByReferrer[lastLocation].find(bidCached => bidCached.adId === bid.adId);

Choose a reason for hiding this comment

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

This shouldn't be !!bidsByReferrer[lastLocation] && bidsByReferrer[lastLocation].find(bidCached => bidCached.adId === bid.adId);

@joanmirallesmrf joanmirallesmrf merged commit a1b4e36 into marfeel-master Nov 15, 2019
@joanmirallesmrf joanmirallesmrf deleted the MRF-60086/Improve_bids_debugging_script branch November 15, 2019 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments