docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AcquisitionSourceEvent

    Use this class to record acquisitionSource events.

    For more information about the acquisitionSource event, see the documentation page: https://docs.unity.com/ugs/en-us/manual/analytics/manual/attribution-support

    Inheritance
    object
    Event
    AcquisitionSourceEvent
    Inherited Members
    Event.SetParameter(string, string)
    Event.SetParameter(string, bool)
    Event.SetParameter(string, int)
    Event.SetParameter(string, long)
    Event.SetParameter(string, float)
    Event.SetParameter(string, double)
    Event.ParameterHasBeenSet(string)
    Event.Reset()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Analytics
    Assembly: Unity.Services.Analytics.dll
    Syntax
    public class AcquisitionSourceEvent : Event

    Constructors

    AcquisitionSourceEvent()

    Declaration
    public AcquisitionSourceEvent()

    Properties

    AcquisitionCampaignId

    (Required) The ID of the acquisition campaign.

    Declaration
    public string AcquisitionCampaignId { set; }
    Property Value
    Type Description
    string

    AcquisitionCampaignName

    (Required) The name of the acquisition campaign e.g. Interstitial:Halloween21.

    Declaration
    public string AcquisitionCampaignName { set; }
    Property Value
    Type Description
    string

    AcquisitionCampaignType

    (Optional) The acquisition campaign type. e.g. CPI.

    Declaration
    public string AcquisitionCampaignType { set; }
    Property Value
    Type Description
    string

    AcquisitionChannel

    (Required) The name of the specific marketing provider used to drive traffic to the game. This should be a short identifiable string as this will be the name displayed when filtering or grouping by an acquisition channel.

    Declaration
    public string AcquisitionChannel { set; }
    Property Value
    Type Description
    string

    AcquisitionCost

    (Optional) The cost of the install e.g. 2.36.

    Declaration
    public float AcquisitionCost { set; }
    Property Value
    Type Description
    float

    AcquisitionCostCurrency

    (Optional) The ISO 4217 three-letter currency code for the install cost currency. For example, GBP or USD.

    Declaration
    public string AcquisitionCostCurrency { set; }
    Property Value
    Type Description
    string

    AcquisitionCreativeId

    (Required) The ID of the acquisition campaign creative.

    Declaration
    public string AcquisitionCreativeId { set; }
    Property Value
    Type Description
    string

    AcquisitionNetwork

    (Optional) The acquisition campaign network e.g. Ironsource, Facebook Ads.

    Declaration
    public string AcquisitionNetwork { set; }
    Property Value
    Type Description
    string

    AcquisitionProvider

    (Required) The name of the attribution provider in use e.g. Adjust, AppsFlyer, Singular

    Declaration
    public string AcquisitionProvider { set; }
    Property Value
    Type Description
    string

    Methods

    Validate()

    Note that failing validation will not prevent event serialisation or upload. This method is intended to produce warning logs to assist in implementation and debugging. Events will still be validated properly by the server on reaching it.

    Declaration
    public override void Validate()
    Overrides
    Event.Validate()
    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)