GADMediatedNativeAdNotificationSource
class GADMediatedNativeAdNotificationSource : NSObject
Used by mediation adapters to notify the Google Mobile Ads SDK about events occurring in the lifecycle of a GADMediatedNativeAd.
-
Called by the adapter when it has registered an impression on the tracked view. Adapter should only call this method if -[GADMAdNetworkAdapter handlesUserImpressions] returns YES.
Declaration
Swift
class func mediatedNativeAdDidRecordImpression(_ mediatedNativeAd: GADMediatedNativeAd)
-
Called by the adapter when it has registered a user click on the tracked view. Adapter should only call this method if -[GADMAdNetworkAdapter handlesUserClicks] returns YES.
Declaration
Swift
class func mediatedNativeAdDidRecordClick(_ mediatedNativeAd: GADMediatedNativeAd)
-
Must be called by the adapter just before mediatedNativeAd has opened an in-app modal screen.
Declaration
Swift
class func mediatedNativeAdWillPresentScreen(_ mediatedNativeAd: GADMediatedNativeAd)
-
Must be called by the adapter just before the in app modal screen opened by mediatedNativeAd is dismissed.
Declaration
Swift
class func mediatedNativeAdWillDismissScreen(_ mediatedNativeAd: GADMediatedNativeAd)
-
Must be called by the adapter after the in app modal screen opened by mediatedNativeAd is dismissed.
Declaration
Swift
class func mediatedNativeAdDidDismissScreen(_ mediatedNativeAd: GADMediatedNativeAd)
-
Must be called by the adapter just before mediatedNativeAd causes another app (such as a browser or the App Store) to take input focus.
Declaration
Swift
class func mediatedNativeAdWillLeaveApplication(_ mediatedNativeAd: GADMediatedNativeAd)
-
Called by the adapter when native video playback has begun or resumed.
Declaration
Swift
class func mediatedNativeAdDidPlayVideo(_ mediatedNativeAd: GADMediatedNativeAd)
-
Called by the adapter when native video playback has paused.
Declaration
Swift
class func mediatedNativeAdDidPauseVideo(_ mediatedNativeAd: GADMediatedNativeAd)
-
Called by the adapter when native video playback has ended.
Declaration
Swift
class func mediatedNativeAdDidEndVideoPlayback(_ mediatedNativeAd: GADMediatedNativeAd)