AdMobDisplayer
public class AdMobDisplayer : MiniAppAdDisplayer
extension AdMobDisplayer: GADFullScreenContentDelegate
This subclass of MiniAppAdDisplayer is internally used by Mini App SDK to display Google Ads
-
Declaration
Swift
public override init()
-
Declaration
Swift
public override func loadInterstitial(for adId: String, onLoaded: @escaping (Result<Void, Error>) -> Void)
-
Declaration
Swift
public override func loadRewarded(for adId: String, onLoaded: @escaping (Result<(), Error>) -> Void)
-
Declaration
Swift
public override func showInterstitial(for adId: String, onClosed: @escaping (Result<Void, Error>) -> Void)
-
Declaration
Swift
public override func showRewarded(for adId: String, onClosed: @escaping (Result<MiniAppReward, Error>) -> Void)
-
Tells the delegate that the ad dismissed full screen content.
Declaration
Swift
public func adDidDismissFullScreenContent(_ ad: GADFullScreenPresentingAd)