Documentation

Waterfall:

Integration remains consistent with the approach outlined in Google Mobile Ads Native 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 for prebid mediation mode you should load Bidmachine ad and save it to the store

import BidMachine
import BidMachineAdMobAdapter

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

- (void)before {
    [BidMachineSdk.shared native:nil :^(BidMachineNative *ad, NSError *error) {
        [BDMAdMobAdapter store:ad];
        [weakSelf requestAdMobNative];
    }];
}