docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ImpressionData

    Impression Data associated with an Impression Event.

    Inheritance
    object
    ImpressionData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Mediation
    Assembly: Unity.Mediation.dll
    Syntax
    [Serializable]
    public class ImpressionData

    Fields

    AdSourceInstance

    ID of the the Ad Networks ad unit/placement/zone.

    Declaration
    public string AdSourceInstance
    Field Value
    Type Description
    string

    AdSourceName

    Name of Ad Network serving the impression, for example the ad_network_id.

    Declaration
    public string AdSourceName
    Field Value
    Type Description
    string

    AdUnitFormat

    The adUnitFormat for the impression event.

    Declaration
    public string AdUnitFormat
    Field Value
    Type Description
    string

    AdUnitId

    The adUnitId for the impression event.

    Declaration
    public string AdUnitId
    Field Value
    Type Description
    string

    AdUnitName

    Ad unit name as defined by the publisher.

    Declaration
    public string AdUnitName
    Field Value
    Type Description
    string

    AppVersion

    The sdk app version for the impression event.

    Declaration
    public string AppVersion
    Field Value
    Type Description
    string

    Country

    The country code for the impression event.

    Declaration
    public string Country
    Field Value
    Type Description
    string

    Currency

    The currency for the impression event.

    Declaration
    public string Currency
    Field Value
    Type Description
    string

    ImpressionId

    The impressionId for the impression event.

    Declaration
    public string ImpressionId
    Field Value
    Type Description
    string

    LineItemId

    The line item id for the impression event.

    Declaration
    public string LineItemId
    Field Value
    Type Description
    string

    LineItemName

    The line item name for the impression event.

    Declaration
    public string LineItemName
    Field Value
    Type Description
    string

    LineItemPriority

    The line item priority for the impression event.

    Declaration
    public string LineItemPriority
    Field Value
    Type Description
    string

    PublisherRevenuePerImpression

    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.

    Declaration
    public double PublisherRevenuePerImpression
    Field Value
    Type Description
    double

    PublisherRevenuePerImpressionInMicros

    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.

    Declaration
    public long PublisherRevenuePerImpressionInMicros
    Field Value
    Type Description
    long

    RevenueAccuracy

    The revenue accuracy for the impression event.

    Declaration
    public string RevenueAccuracy
    Field Value
    Type Description
    string

    Timestamp

    The timestamp for the impression event.

    Declaration
    public string Timestamp
    Field Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)