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 = '~> 1.8.0.0'
$GAMVersion = '~> 8.13.0'
def bidmachine
pod 'BDMIABAdapter', $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
BDMSdkConfiguration *config = [BDMSdkConfiguration new];
config.testMode = YES;
config.targeting = BDMTargeting.new;
config.targeting.storeURL = [NSURL URLWithString:@"https://storeUrl"];
config.targeting.storeId = @"12345";
[BDMSdk.sharedSdk startSessionWithSellerID:@"5"
configuration:config
completion:nil];
let config = BDMSdkConfiguration()
config.testMode = true
config.targeting = BDMTargeting()
config.targeting?.storeURL = URL(string: "https://storeUrl")
config.targeting?.storeId = "12345"
BDMSdk.shared().startSession(
withSellerID: "5",
configuration: config,
completion: nil)
Updated 2 months ago