Documentation

Rewarded Video

Waterfall:

Integration remains consistent with the approach outlined in Google Mobile Ads Rewarded Ads Guide, ensuring seamless compatibility with existing configurations. No further modifications are necessary, streamlining the implementation process and minimizing any additional overhead.


Prebid:

Before start loading Admob you should load Bidmachine ad and save it to store

import BidMachine
import BidMachineAdMobAdapter

func before() throws {
    let configuration = try BidMachineSdk.shared.requestConfiguration(.rewardedVideo)
    BidMachineSdk.shared.rewarded(configuration) { [weak self] rewarded, error in
        AdMobAdapter.store(rewarded)
        self?.requestAdMobRewarded()
    }
}
@import BidMachine;
@import BidMachineApiCore;
@import BidMachineAdMobAdapter;

- (void)before {
   __weak typeof(self) weakSelf = self;
    [BidMachineSdk.shared rewarded:nil :^(BidMachineRewarded *ad, NSError *error) {
        [BDMAdMobAdapter store:ad];
        [weakSelf requestAdMobRewarded];
    }];
}