AdsGoogle is a library created by Mateus Sousa. For those who want to implement AdMob in their apps for monetization. This library abbreviated logic from google's own lib to make it easy to use or even scale.
- In Podfile include:
pod 'AdsGoogle', :git => 'https://github.com/MateusDeSousa/AdsGoogle.git'
- Include
GADApplicationIdentifier
with the respective id for your app created in AdMob. - Include
GADIsAdManagerApp
in your info.plist with value true.
- In your appdelegate, preferably in the boot method add the following code:
AdsNativeManager.instance.setup(idNative: "id_ad")