Helium by Chartboost SDK integration If you want to measure ad revenue with the Helium by Chartboost SDK, you can use SDK-to-SDK integration to pass this information to Adjust’s servers. Example 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}