using System; namespace Unity.Services.Mediation { /// /// Impression Data associated with an Impression Event. /// [Serializable] public class ImpressionData { /// /// The timestamp for the impression event. /// public string Timestamp; /// /// Ad unit name as defined by the publisher. /// public string AdUnitName; /// /// The adUnitId for the impression event. /// public string AdUnitId; /// /// The adUnitFormat for the impression event. /// public string AdUnitFormat; /// /// The impressionId for the impression event. /// public string ImpressionId; /// /// The currency for the impression event. /// public string Currency; /// /// The revenue accuracy for the impression event. /// public string RevenueAccuracy; /// /// Returns the single impression publisher revenue for an impression event. For example, a CPM of 2.55 will return a value of 0.00255 for that impression. /// public double PublisherRevenuePerImpression; /// /// Returns the single impression publisher revenue for an impression event. For example, a single impression value of 0.00255 will return a value of 2550 for that impression. /// public Int64 PublisherRevenuePerImpressionInMicros; /// /// Name of Ad Network serving the impression, for example the ad_network_id. /// public string AdSourceName; /// /// ID of the the Ad Networks ad unit/placement/zone. /// public string AdSourceInstance; /// /// The sdk app version for the impression event. /// public string AppVersion; /// /// The line item id for the impression event. /// public string LineItemId; /// /// The line item name for the impression event. /// public string LineItemName; /// /// The line item priority for the impression event. /// public string LineItemPriority; /// /// The country code for the impression event. /// public string Country; } }