MPImpressionData

global interface MPImpressionData

Methods for retrieving impression-level revenue data (ILRD). Refer to our ILRD article for iOS for additional implementation instructions.

Public Properties

NSNumber _Nullable /publisherRevenue

  • Description: An NSNumber field corresponding to the value for the likey payout of an impression.

  • Declaration:

    @property (nonatomic, copy, readonly) NSNumber * _Nullable publisherRevenue;
    

NSString _Nullable /impressionID

  • Description: An NSString field corresponding to the value for the impression ID of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable impressionID;
    

NSString _Nullable /adUnitID

  • Description: An NSString field corresponding to the value for the ad unit ID of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable adUnitID;
    

NSString _Nullable /adUnitName

  • Description: An NSString field corresponding to the value for the ad unit name of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable adUnitName;
    

NSString _Nullable /adUnitFormat

  • Description: An NSString field corresponding to the value for the ad unit format of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable adUnitFormat;
    

NSString _Nullable /currency

  • Description: An NSString field corresponding to the value for the currency.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable currency;
    

NSString _Nullable /adGroupID

  • Description: An NSString field corresponding to the value for the ad group ID of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable adGroupID;
    

NSString _Nullable /adGroupName

  • Description: An NSString field corresponding to the value for the ad group name of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable adGroupName;
    

NSNumber _Nullable /adGroupPriority

  • Description: An NSString field corresponding to the value for the ad group priority of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSNumber * _Nullable adGroupPriority;
    

NSString _Nullable /country

  • Description: An NSString field corresponding to the value for the country of the current user’s device.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable country;
    

MPImpressionDataPrecision /precision

  • Description: An NSString field corresponding to the value for the precision level of the data.

  • Declaration:

    @property (nonatomic, assign, readonly) MPImpressionDataPrecision precision;
    

NSString _Nullable /networkName

  • Description: An NSString field corresponding to the value for the ad network name of the current creative.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable networkName;
    

NSString _Nullable /networkPlacementID

  • Description: An NSString field corresponding to the value for the ad network placement/zone/unit ID if the creative is served by a supported ad network.

  • Declaration:

    @property (nonatomic, copy, readonly) NSString * _Nullable networkPlacementID;
    

NSData _Nullable /jsonRepresentation

  • Description: A JSON object containing impression-level revenue data otherwise available via the individual properties found in this class.

  • Declaration:

    @property (nonatomic, copy, readonly) NSData * _Nullable jsonRepresentation;
    

Last updated March 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.)