Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
maelmrgt committed Oct 15, 2024
1 parent 69b6067 commit 71d5483
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/greenbidsRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ function updateAdUnitsBasedOnResponse(adUnits, responseAdUnits, greenbidsId) {
isExploration: matchingAdUnit.isExploration
});
if (matchingAdUnit.isExploration || isFilteringDisabled) {
return;
}
if (isFilteringForced) {
logWarn('Greenbids Rtd: either exploration traffic, or disabled filtering flag detected');
} else if (isFilteringForced) {
adUnit.bids = [];
logInfo('Greenbids Rtd: filtering flag detected, forcing filtering of Rtd module.');
} else {
Expand Down

0 comments on commit 71d5483

Please sign in to comment.