Table of Contents

Method LogAdRevenue

Namespace
Titipi.MocaLib

LogAdRevenue(AdImpressionData, string, Dictionary<string, string>, string, int, string)

Logs an ad_impression event to Firebase Analytics. Under MOCALIB_USE_COST_CENTER, also logs a secondary event (ad_revenue_sdk for standard formats or ad_revenue_addition for APPOPEN) that includes value in micros, lifetime revenue, and gameplay context.

public static void LogAdRevenue(AdImpressionData data, string adPlatform = "", Dictionary<string, string> customParams = null, string playMode = "", int level = 0, string location = "")

Parameters

data AdImpressionData
adPlatform string
customParams Dictionary<string, string>
playMode string
level int
location string