Helium by Chartboost SDK 연동 Helium by Chartboost SDK의 광고 매출을 측정하고 싶다면, SDK간 연동을 사용하여 Adjust 서버로 광고 매출 정보를 전달할 수 있습니다. 예시 1public void ilrdObserver (final HeliumImpressionData impData) {2 final AdjustAdRevenue adjustAdRevenue = new AdjustAdRevenue("helium_chartboost_sdk");3 // extract the ILRD payload4 final JSONObject json = impData.getIlrdInfo();5 try {6 final double adRevenue = json.getDouble("ad_revenue");7 final String currencyType = json.getString("currency_type");8 adjustAdRevenue.setRevenue(adRevenue, currencyType);9 } catch (JSONException e) {10 // error handling as either revenue or currency was not present11 return;12 }13 // optional fields14 final String networkName = json.optString("network_name"); // Helium demand network name15 final String placementName = json.optString("placement_name"); // Helium placement name16 final String lineItemName = json.optString("line_item_name"); // Helium line item name17 adjustAdRevenue.setAdRevenueNetwork(networkName);18 adjustAdRevenue.setAdRevenueUnit(placementName);19 adjustAdRevenue.setAdRevenuePlacement(lineItemName);20 // Send Adjust ad revenue21 Adjust.trackAdRevenue(adjustAdRevenue);22}