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
appOpenAd
A reference to an object of the
AppOpenAd
class that invoked the method.error
Information 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
appOpenAd
A reference to an object of the
AppOpenAd
class that invoked the method.impressionData
Ad impression-level revenue data.