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
| Scenario | Method | Timing |
|---|---|---|
| BidMachine won | NotifyWin() | Before calling Show() |
| Another network won | NotifyLoss() | As soon as outcome is known |