Constants /5.7.1
global public constants
The following constants are available globally.
Public Constants
/kMPFlexibleAdSize /+5.8.0
-
Description: Constant denoting that the dimension should be flexible with respect to the container.
-
Declaration:
extern const CGFloat kMPFlexibleAdSize
/kMPImpressionTrackedNotification /+5.7.1
-
Description: Notification fired when an impression is tracked. The ad unit ID will always be included in the
NSNotification.userData
dictionary. If the server returned impression data, theMPImpressionData
object will be included in theNSNotification.userData
dictionary. The sender can be determined by queryingNSNotification.object
. -
Declaration:
extern NSString *const kMPImpressionTrackedNotification
/kMPImpressionTrackedInfoImpressionDataKey /+5.7.1
-
Description: The
MPImpressionData
object for the given impression, ornil
if the server did not send impression data with this impression. -
Declaration:
extern NSString *const kMPImpressionTrackedInfoImpressionDataKey
/kMPImpressionTrackedInfoAdUnitIDKey /+5.7.1
-
Description: The ad unit ID associated with the impression.
-
Declaration:
extern NSString *const kMPImpressionTrackedInfoAdUnitIDKey
Last updated March 30, 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.)