Documentation

Google Ad Manager Bidding

👍

Full Technical Documentation

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

Getting Started

👍

Add following lines into your project Podfile

$BDMVersion = '~> 2.7.0'
$GAMVersion = '~> 11.4.0'

def bidmachine
  pod 'BidMachine', $BDMVersion
end

def google
  pod 'Google-Mobile-Ads-SDK', $GAMVersion
end

target 'Sample' do
  bidmachine
  google
end

Initialize sdk

🚧

storeURL and storeId - are required parameters

BidMachineSdk.shared.populate { builder in
    builder.withTestMode(true)
}

BidMachineSdk.shared.targetingInfo.populate { builder in
    builder.withStoreId("store id")
}

BidMachineSdk.shared.initializeSdk("source id")
[BidMachineSdk.shared populate:^(id<BidMachineInfoBuilderProtocol> builder) {
    [builder withTestMode:YES];
}];
    
[BidMachineSdk.shared.targetingInfo populate:^(id<BidMachineTargetingInfoBuilderProtocol> builder) {
    [builder withStoreId:@"12345"];
}];
    
[BidMachineSdk.shared initializeSdk:@"5"];