Impression Data /5.7.0

public struct ImpressionData

Object that stores the impression-level revenue data (ILRD) that is received for every ad impression. Refer to our ILRD article for Unity for additional implementation instructions.

Public Properties

public string /AppVersion /+5.12.0

  • Description: Version of the app.

public string /AdUnitId /+5.7.0

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

public string /AdUnitName /+5.7.0

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

public string /AdUnitFormat /+5.7.0

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

public string /ImpressionId /+5.7.0

  • Description: A String field corresponding to the value for the impression ID of the current creative.

public string /Currency /+5.7.0

  • Description: A String field corresponding to the value for the currency.

public double? /PublisherRevenue /+5.7.0

  • Description: A String field corresponding to the value for the likey payout of an impression.

public string /AdGroupId /+5.7.0

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

public string /AdGroupName /+5.7.0

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

public string /AdGroupType /+5.7.0

  • Description: A String field corresponding to the value for the ad group type of the current creative.

public int? /AdGroupPriority /+5.7.0

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

public string /Country /+5.7.0

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

public string /Precision /+5.7.0

  • Description: A String field corresponding to the value for the precision level of the data.

public string /NetworkName /+5.7.0

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

public string /NetworkPlacementId /+5.7.0

  • Description: A String field corresponding to the value for the ad network placement ID of the current creative.

public string /JsonRepresentation /+5.7.0

  • Description: String version of the JSON representation of impression-level revenue data otherwise available via the individual getters found in this class.

Public Methods

public static ImpressionData /FromJson(string json) /+5.7.0

  • Description: Parses and returns the ImpressionData object from the String representation of impression-level revenue data JSON.

  • Parameters:

    • json: String representation of the ILRD JSON data.

Last updated October 06, 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.)