Skip to content

Commit

Permalink
PBJS Video Cache Update (prebid#6295)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoschovas authored and seergiioo6 committed Mar 23, 2021
1 parent b3293e9 commit a397ae1
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 a397ae1

Please sign in to comment.