docs.unity3d.com
    Show / Hide Table of Contents

    Class ImpressionData

    Impression Data associated with an Impression Event.

    Inheritance
    Object
    ImpressionData
    Namespace: Unity.Services.Mediation
    Syntax
    public class ImpressionData : object

    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 Int64 PublisherRevenuePerImpressionInMicros
    Field Value
    Type Description
    Int64

    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
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023