As I have done with my other extensions: Since Marmalade has an official version, I will no longer be updating this version. I want to thank all the people that helped me get this running originally.
Extremely simplistic implementation of the AdMob Api.
Platform Support: Android, iOS (Library 7.0).
Built with Marmalade version: 7.5 and iOS 8 SDK
Instructions (test project demonstrates other options):
-
Add the project CGAdMob
-
Add the extra string value to deployment section. If you are using a function that needs an Id you need to replace the 0 with your id. Otherwise 0 is fine for AdMob.
deployment{ android-extra-strings='(gps_app_id,0)' }
- Set the a banner ad unit and an interstitial ad unitId:
SetGoogleAppKey("banner ad unit id", "interstitial ad unit idโ);
- Initialize the entire thing:
InitAdView()
- Show banner ad:
BannerAdLoad();
- Show interstitial:
ShowInterstitialAd();
- Make sure to release it before your app closes.
Release();