Contenu connexe
Similaire à Integrating Google AdMob
Similaire à Integrating Google AdMob (20)
Integrating Google AdMob
- 3. Save your project and download latest AdMob SDK -> https://developers.google.com/mobile-ads-sdk/download#downloadios
- 7. Add a UIView to the bottom of you viewcontroller set the autolayout.
- 10. "Add this code to your viewDidLoad method" self.bannerView.adUnitID = @"ca-app-pub-3940256099942544/2934735716"; //Replace the adUnitID with your adUnitID self.bannerView.rootViewController = self; GADRequest *request = [GADRequest request]; request.testDevices = @[ GAD_SIMULATOR_ID, @"MY_TEST_DEVICE_ID" ]; [self.bannerView loadRequest:request];
- 13. Refereces • https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start • https://developers.google.com/mobile-ads-sdk/download#downloadios
- 14. Thanks • @MaverickHitesh • in.linkedin.com/in/maverickhitesh/