@protocol MPMoPubAd <NSObject>
This protocol defines functionality that is shared between all MoPub ads.
Description: All MoPub ads have a delegate to call back when certain events occur.
@required @property (readwrite, nonatomic, nullable) id<MPMoPubAdDelegate> delegate;
Description: Called when an impression is fired on the
MPMoPubAdinstance. Includes information about the impression if applicable.
- (void)mopubAd:(id<MPMoPubAd>)ad didTrackImpressionWithImpressionData:(MPImpressionData * _Nullable)impressionData;
MPMoPubAdinstance that fired the impression.
impressionData: Information about the impression, or
nilif the server didn’t return any information.
Last updated February 11, 2020
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2020 MoPub (a division of Twitter, Inc.)