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.0.0.0'
$GAMVersion = '~> 9.14.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"];