AppsFlyerAdRevenueEvent
data class AppsFlyerAdRevenueEvent(val name: String, val monetizationNetwork: String, val mediationNetwork: MediationNetwork, val revenue: Double, val currency: String, val parameters: Map<String, AnalyticsValue> = emptyMap()) : Event(source)
Ad revenue reported by a mediation SDK, as AppsFlyer's ad-revenue API takes it rather than as an in-app event. The fields are AFAdRevenueData's.
A final class, so an app event can't be one. The app's AppsFlyer factory builds one from its own event and sends it through AdRevenueEventTracker.
For revenue from a purchase or a subscription, see AppsFlyerPurchaseEvent and AppsFlyerSubscribeEvent.
Properties
Functions
Link copied to clipboard
Builds the AppsFlyer payload for ad revenue. Public because a custom AppsFlyerEventTracker almost always needs it.