Documentation

Google Ad Manager Waterfall

👍

Full Technical Documentation

To get full documentation and samples please refer to the GitHub page.

Integration

Add the following lines to your project's Podfile

target 'Target' do
  project 'Project.xcodeproj'
  pod 'BidMachineAdMobAdapter', '~> 3.2.0.0'
end

Initialization

The BidMachineAdMobAdapter strarting 3.1.1.2 version offers robust support for waterfall integration. This integration type require to configure yeild groups in GAM account by adding BidMachine Custom Events.

Waterfall integration does not require BidMachineSdk initialization code, as it is triggered automatically as part of the GADMobileAds initialization.

However, if you need to configure additional BidMachineSdk settings, refer to the documentation:

🚧

Warning

All parameters for BidMachine SDK must be set before starting Google Mobile Ads SDK.

Code example:

BidMachineSdk.shared.populate { builder in
    builder
        .withTestMode(true)
        .withLoggingMode(true)
        .withBidLoggingMode(true)
        .withEventLoggingMode(true)
}
GADMobileAds.sharedInstance().start(nil)
[BidMachineSdk.shared populate:^(id<BidMachineInfoBuilderProtocol> builder) {
    [builder withTestMode:YES];
    [builder withLoggingMode:YES];
    [builder withBidLoggingMode:YES];
    [builder withEventLoggingMode:YES];
}];

How to add all parameters is described here


Ad Format

Supported Ad Formats are:

  • Banner
  • Interstitial
  • Rewarded Ads
  • Native Ads