Skip to main content
Version: 4.2.0

Mediation Waterfall

When BidMachine runs inside a mediation waterfall, you must notify the SDK of the waterfall outcome so it can report accurate win/loss signals.

Win/Loss Notifications

Call NotifyWin() before showing the ad if BidMachine won the waterfall. Call NotifyLoss() if another network won.

// Call before showing the ad if BidMachine won
ad.NotifyWin();

// Call if another network won
ad.NotifyLoss(winnerEcpm: 2.50, networkName: "admob");

networkName is optional (string, may be null). Both methods are no-ops before the ad has loaded. They are available on all three ad unit classes: BannerAd, InterstitialAd, and RewardedAd.

When to Call

ScenarioMethodTiming
BidMachine wonNotifyWin()Before calling Show()
Another network wonNotifyLoss()As soon as outcome is known