Singluar integration
#
OverviewTradPlus has supported the SDK (C2S) method and returns ad revenue data to Singluar.。
method | Data accuracy | Data real-time |
---|---|---|
SDK(C2S) | Use TradPlus to estimate revenue | real time upload |
Note: Singluar does not support API (S2S) real-time return of advertising monetization data. The official recommendation is to use the SDK (C2S) method for docking.
#
Integration steps#
Step 1: When the ad is displayed successfully, TradPlus will return the ad eCPM#String ecpm = tpAdInfo.ecpm;
- For native and banner, because it is impossible to accurately identify whether the display is successful, eCPM can be obtained when the load is successful, but the income will be slightly more than the actual amount. Rewarded videos and interstitials do not have this problem.
#
Step 2: Convert eCPM to Revenuedouble revenue = Double.parseDouble(ecpm) / 1000;
#
Step 3: Report advertising revenue attribution through Singluar SDKTradPlus Ad Revenue Attribution Integration
#
Step 4: View Revenue and ROI in Singluar backgroundMenu:ANALYTICS ->Campaign Report -> Cost, Revenue & ROI Over Time,ANALYTICS ->Reports