Class LevelPlayImpressionData
Represents data for an ad impression event.
Inherited Members
Namespace: Unity.Services.LevelPlay
Assembly: Unity.LevelPlay.dll
Syntax
public class LevelPlayImpressionData
Properties
Ab
Indication if AB test was activated.
Declaration
public string Ab { get; }
Property Value
Type | Description |
---|---|
string |
AdFormat
The format of the ad.
Declaration
public string AdFormat { get; }
Property Value
Type | Description |
---|---|
string |
AdNetwork
The ad network name that served the ad.
Declaration
public string AdNetwork { get; }
Property Value
Type | Description |
---|---|
string |
AllData
All the data associated with the impression.
Declaration
public string AllData { get; }
Property Value
Type | Description |
---|---|
string |
AuctionId
The id for the auction.
Declaration
public string AuctionId { get; }
Property Value
Type | Description |
---|---|
string |
ConversionValue
The conversion value associated with the impression.
Declaration
public int? ConversionValue { get; }
Property Value
Type | Description |
---|---|
int? |
Country
Country code ISO 3166-1 format.
Declaration
public string Country { get; }
Property Value
Type | Description |
---|---|
string |
CreativeId
The creative id of the ad campaign.
Declaration
public string CreativeId { get; }
Property Value
Type | Description |
---|---|
string |
EncryptedCpm
The encrypted cpm associated with the impression. Available for some of the ad networks.
Declaration
public string EncryptedCpm { get; }
Property Value
Type | Description |
---|---|
string |
InstanceId
The ad network instance id as defined on the platform.
Declaration
public string InstanceId { get; }
Property Value
Type | Description |
---|---|
string |
InstanceName
The ad network instance name as defined on the platform.
Declaration
public string InstanceName { get; }
Property Value
Type | Description |
---|---|
string |
MediationAdUnitId
The mediation ad unit id of the ad.
Declaration
public string MediationAdUnitId { get; }
Property Value
Type | Description |
---|---|
string |
MediationAdUnitName
The mediation ad unit name of the ad.
Declaration
public string MediationAdUnitName { get; }
Property Value
Type | Description |
---|---|
string |
Placement
The placement the user is associated with.
Declaration
public string Placement { get; }
Property Value
Type | Description |
---|---|
string |
Precision
The source value of the revenue field.
Declaration
public string Precision { get; }
Property Value
Type | Description |
---|---|
string |
Revenue
The revenue generated for the impression.
Declaration
public double? Revenue { get; }
Property Value
Type | Description |
---|---|
double? |
SegmentName
The segment the user is associated with.
Declaration
public string SegmentName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
ToString()
Returns a string representation of the impression data.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of the impression data. |