Skip to content

Commit cbb3694

Browse files
dont wait for video
1 parent 6542d72 commit cbb3694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/rubiconAnalyticsAdapter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ let rubiconAdapter = Object.assign({}, baseAdapter, {
600600
// mark adUnits we expect bidWon events for
601601
cache.auctions[args.auctionId].bidsWon[bid.adUnitCode] = false;
602602

603-
if (rubiConf.waitForGamSlots) {
603+
if (rubiConf.waitForGamSlots && (!bid.mediaTypes.hasOwnProperty('video') || Object.keys(bid.mediaTypes).length !== 1)) {
604604
cache.auctions[args.auctionId].gamHasRendered[bid.adUnitCode] = false;
605605
}
606606

0 commit comments

Comments
 (0)