Skip to content

Commit

Permalink
Fix double tracking nurl for banner ads (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinPostindustria authored Jan 10, 2025
1 parent 406e1c7 commit 2e7a514
Showing 1 changed file with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,17 @@ public PrebidDisplayView(
this.adUnitConfiguration = adUnitConfiguration;
displayViewListener = listener;
this.displayVideoListener = displayVideoListener;
WinNotifier winNotifier = new WinNotifier();
winNotifier.notifyWin(response, () -> {
try {
adUnitConfiguration.modifyUsingBidResponse(response);
if (response.isVideo()) {
displayVideoAd(response);
} else {
displayHtmlAd(response);
}
impressionEventUrl = response.getImpressionEventUrl();
} catch (AdException e) {
notifyListenerError(e);
try {
adUnitConfiguration.modifyUsingBidResponse(response);
if (response.isVideo()) {
displayVideoAd(response);
} else {
displayHtmlAd(response);
}
});
impressionEventUrl = response.getImpressionEventUrl();
} catch (AdException e) {
notifyListenerError(e);
}
}

public PrebidDisplayView(
Expand Down

0 comments on commit 2e7a514

Please sign in to comment.