MPMoPubAdPlacer /5.7.0
@protocol MPMoPubAdPlacer <NSObject>
This protocol defines functionality that is shared between all MoPub ad placers.
Public Properties
MPMoPubAdPlacerDelegate/delegate /+5.7.0
-
Description: All MoPub ad placers have a delegate to call back when certain events occur.
-
Declaration:
@required @property (readwrite, nonatomic, nullable) id<MPMoPubAdPlacerDelegate> delegate;
-
Parameters: None.
Public Methods
- /mopubAdPlacer: /+5.7.0
-
Description: Called when an impression is fired on the
MPMoPubAdPlacer
instance. Includes information about the impression if applicable. -
Declaration:
- (void)mopubAdPlacer:(id<MPMoPubAdPlacer>)adPlacer didTrackImpressionForAd:(id<MPMoPubAd>)ad withImpressionData:(MPImpressionData * _Nullable)impressionData;
-
Parameters:
adPlacer
: TheMPMoPubAdPlacer
instance that fired the impression.ad
: TheMPMoPubAd
instance that fired the impression.impressionData
: Information about the impression, ornil
if the server didn’t return any information.
Last updated December 03, 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.)