Documentation

Waterfall:

Integration remains consistent with the approach outlined in Google Mobile Ads Banner 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(.banner300x250)
    BidMachineSdk.shared.banner(configuration) { [weak self] banner, error in
        AdMobAdapter.store(banner)
        self?.requestAdMobMREC()
    }
}
@import BidMachine;
@import BidMachineApiCore;
@import BidMachineAdMobAdapter;

- (void)before {
    __weak typeof(self) weakSelf = self;
    id<BidMachineRequestConfigurationProtocol> config = [BidMachineSdk.shared requestConfiguration:BidMachinePlacementFormatBanner300x250 error:nil];
    [BidMachineSdk.shared banner:config :^(BidMachineBanner *ad, NSError *error) {
        [BDMAdMobAdapter store:ad]; 
        [weakSelf requestAdMobMREC];
    }];
}