CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

AdmobManager 1.1.7

AdmobManager 1.1.7

Maintained by MTSDK.



 
Depends on:
Google-Mobile-Ads-SDK>= 0
MTSDK>= 0
 

AdmobManager

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

import AdmobManager

        let adUnits = AdUnits(
                                bannerAdID: "ca-app-pub...",
                                interstitialAdID: "ca-app-pub...",
                                openAdIDs: ["type1", "type2", "type3"],
                                rewardAdID: "ca-app-pub...")
        
        AdmobManager.shared.configs.adUnit = adUnits
        AdmobManager.shared.configs.showLog = true
        AdmobManager.shared.configs.frequencyCapping = 30
        AdmobManager.shared.configs.impressionPercentage = 100
        AdmobManager.shared.loadOpenAd()

Requirements

Installation

MTAdmob is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AdmobManager'

Author

hominhtuong, [email protected]

License

AdmobManager is available under the MIT license. See the LICENSE file for more info.