Class AdDTO
public class AdDTO
Properties
LoadingDuration
Loading duration of the ad in seconds. (StartLoadingTime and EndLoadingTime MUST BE SET!)
public double LoadingDuration { get; }
DisplayDuration
Display duration of the ad in seconds. (StartDisplayingTime and EndDisplayingTime MUST BE SET!)
public double DisplayDuration { get; }
Ecpm
Effective cost per mille
public double Ecpm { get; }
Fields
UID
public readonly string UID
Id
Ad Unit ID
public string Id
Format
Format (e.g. BANNER, INTER, REWARDED)
public string Format
Tag
Placement tags (e.g. "interstitial_after_level_end")
public string Tag
MediationSource
Which mediation SDK is serving the ads. (e.g. admost, applovin)
public string MediationSource
Source
Source of the ad (e.g. unity, vungle, admob, etc.)
public string Source
CreativeId
Used for send data from applovin to game analytics
public string CreativeId
Country
Used for send data from applovin to game analytics
public string Country
StartLoadingTime
When the ad is requested
public DateTime StartLoadingTime
EndLoadingTime
When the ad request is finished
public DateTime EndLoadingTime
StartDisplayingTime
When the ad is displayed
public DateTime StartDisplayingTime
EndDisplayingTime
When the ad is closed
public DateTime EndDisplayingTime
WaterfallLatency
Ad request's waterfall latency
public long WaterfallLatency
NetworkPlacement
Placement name of the external Ad Network
public string NetworkPlacement
RawData
JSON data of the ad data
public string RawData
Methods
SetEcpm(double)
Sets the ecpm value using the revenue provided
public void SetEcpm(double revenue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | revenue | Revenue of the ad provided by the network |