@protocol MPMoPubAdPlacer <NSObject>
This protocol defines functionality that is shared between all MoPub ad placers.
Description: All MoPub ad placers have a delegate to call back when certain events occur.
@required @property (readwrite, nonatomic, nullable) id<MPMoPubAdPlacerDelegate> delegate;
- /mopubAdPlacer: /+5.7.0
Description: Called when an impression is fired on the
MPMoPubAdPlacerinstance. Includes information about the impression if applicable.
- (void)mopubAdPlacer:(id<MPMoPubAdPlacer>)adPlacer didTrackImpressionForAd:(id<MPMoPubAd>)ad withImpressionData:(MPImpressionData * _Nullable)impressionData;
MPMoPubAdPlacerinstance that fired the impression.
MPMoPubAdinstance that fired the impression.
impressionData: Information about the impression, or
nilif the server didn’t return any information.
How can we make this article better for you?
Last updated July 13, 2021
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.
© 2021 MoPub (a division of Twitter, Inc.)