NativeAdDelegate
@objc(YMANativeAdDelegate)
@MainActor
public protocol NativeAdDelegate : NSObjectProtocol
Undocumented
-
Notifies that the user has clicked on the ad.
Declaration
Swift
@objc @MainActor func nativeAdDidClick(_ ad: NativeAd)Parameters
adA reference to the object that invoked the method.
-
Notifies delegate when an impression was tracked.
Declaration
Swift
@objc(nativeAd:didTrackImpressionWithData:) @MainActor func nativeAd(_ ad: NativeAd, didTrackImpression impressionData: ImpressionData?)Parameters
adA reference to the object that invoked the method.
impressionDataAd impression-level revenue data