Helium by Chartboost SDK 集成 如果您想使用 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);}