Skip to content

Commit

Permalink
PBJS Video Cache Update (#6295)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoschovas authored Feb 19, 2021
1 parent 2d23cbc commit 9c38fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auction.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ function tryAddVideoBid(auctionInstance, bidResponse, bidRequests, afterBidAdded
const context = videoMediaType && deepAccess(videoMediaType, 'context');

if (config.getConfig('cache.url') && context !== OUTSTREAM) {
if (!bidResponse.videoCacheKey) {
if (!bidResponse.videoCacheKey || config.getConfig('cache.ignoreBidderCacheKey')) {
addBid = false;
callPrebidCache(auctionInstance, bidResponse, afterBidAdded, bidderRequest);
} else if (!bidResponse.vastUrl) {
Expand Down

0 comments on commit 9c38fbc

Please sign in to comment.