AppOpenAdDelegate
@objc(YMAAppOpenAdDelegate)
public protocol AppOpenAdDelegate : NSObjectProtocol
Undocumented
-
Notifies that the ad can’t be displayed.
Declaration
Swift
@objc optional func appOpenAd(_ appOpenAd: AppOpenAd, didFailToShowWithError error: Error)Parameters
appOpenAdA reference to an object of the
AppOpenAdclass that invoked the method.errorInformation about the error (for details, see
AdErrorCode). -
Notifies delegate when an impression was tracked.
Declaration
Swift
@objc(appOpenAd:didTrackImpressionWithData:) optional func appOpenAd(_ appOpenAd: AppOpenAd, didTrackImpressionWith impressionData: ImpressionData?)Parameters
appOpenAdA reference to an object of the
AppOpenAdclass that invoked the method.impressionDataAd impression-level revenue data.