Helium by Chartboost SDK 集成 如果您对 Helium by Chartboost 广告收入监测有任何疑问,请联系您的专属技术客户经理,或发送邮件至 support@adjust.com。 如果您想使用 Helium by Chartboost SDK 监测广告收入,可以借助 SDK 到 SDK 集成,将数据发送到 Adjust 服务器。示例void DidReceiveImpressionLevelRevenueData(string placement, Hashtable impressionData){ var json = HeliumJSON.Serialize(impressionData); ParsedJsonObject parsedJsonObject = foobar.parse(json); //app developer defined function to parse Helium impressionData JSON string AdjustAdRevenue adjustAdRevenue = new AdjustAdRevenue("helium_chartboost_sdk"); adjustAdRevenue.SetRevenue(parsedJsonObject.ad_revenue, parsedJsonObject.currency_type); // optional fields adjustAdRevenue.AdRevenueNetwork = parsedJsonObject.network_name; // Helium demand network name adjustAdRevenue.AdRevenueUnit = parsedJsonObject.placement_name; // Helium placement name adjustAdRevenue.AdRevenuePlacement = parsedJsonObject.line_item_name; // Helium line item name // Send Adjust ad revenue Adjust.TrackAdRevenue(adjustAdRevenue);} 如果您对 Helium by Chartboost 广告收入监测有任何疑问,请联系您的专属技术客户经理,或发送邮件至 support@adjust.com。 如果您想使用 Helium by Chartboost SDK 监测广告收入,可以借助 SDK 到 SDK 集成,将数据发送到 Adjust 服务器。要求 在您的应用中集成 Adjust Unity SDK v4.29.6 或更新版本。 示例void DidReceiveImpressionLevelRevenueData(string placement, Hashtable impressionData){ var json = HeliumJSON.Serialize(impressionData); ParsedJsonObject parsedJsonObject = foobar.parse(json); //app developer defined function to parse Helium impressionData JSON string AdjustAdRevenue adjustAdRevenue = new AdjustAdRevenue(AdjustConfig.AdjustAdRevenueSourceHeliumChartboost); adjustAdRevenue.setRevenue(parsedJsonObject.ad_revenue, parsedJsonObject.currency_type); // optional fields adjustAdRevenue.setAdRevenueNetwork(parsedJsonObject.network_name); // Helium demand network name adjustAdRevenue.setAdRevenueUnit(parsedJsonObject.placement_name); // Helium placement name adjustAdRevenue.setAdRevenuePlacement(parsedJsonObject.line_item_name); // Helium line item name // Send Adjust ad revenue Adjust.trackAdRevenue(adjustAdRevenue);}