Menu

Roi Report

1. Request URL

https://api.toponad.net/v3/report/roi

2. Request method

POST

3. Request params

params type required notes sample
roi_platform Int Y

Roi attribution platform, enumeration value:

1: Adjust
2: TrackingIO/Self-Attribution

1
start_date Int Y Start date, format: YYYYmmdd 20190501
end_date Int Y End date, format: YYYYmmdd 20190506
time_zone String Y UTC+8, UTC+0, UTC-8, default UTC+8 UTC+0
nw_firm_id_list Array[Int] N

Network Channel ID list, enumeration value:

100000:Oceanengine
100001:Tencent Ads
100002:Mintegral

[100000]
app_id_list Array[String] N App ID list. For now, only one can be transmitted. ["a600e6fbeac98c"]
campaign_id_list Array[String] N Campaign ID list  
ad_group_id_list Array[String] N AdSet ID list  
creative_id_list Array[String] N Ad ID list  
geo_short_list Array[String] N Country Short Code list ["US"]
start Int N Offset, default 0 0
limit Int N Limit row number. default 1000. [1,1000] default 1000
group_by Array[String] N

Group by dimension. If not specified, the default value is 'date_time'. Supported dimensions are described below.
date_time (Date, default value),
app_id (Application),

nw_firm_id (Network Channel),
geo_short (Country Short Code),
campaign_id (Campaign),

adgroup_id (AdSet),

creative_id (Ad)

["date_time","app_id"]

4. Return data

fields type required notes
records Array[Object] N Record, object array. The structure of each record is shown in the records element structure below. It is empty when there is no data.
count Int N Count of the row numbers

records:

fields type required notes
date_time Int N Date. Format: YYYYmmdd. Return if in param 'group_by'
app_id String N App ID. Return if in param 'group_by'
nw_firm_id Int N Network Channel ID. Return if in param 'group_by'
campaign_id String N Campaign ID. Return if in param 'group_by'
adgroup_id String N AdSet ID. Return if in param 'group_by'
creative_id String N Ad ID. Return if in param 'group_by'
geo_short String N Country Short Code. Return if in param 'group_by'
new_user Int Y New User Count
new_user_gap String Y New User Gap
cost Float Y UA Cost
install Int Y Install
install_price String Y Install Price
roi_xx String Y  roi_day_(num) (1-60)

5. Sample

Request sample:

curl --location --request POST 'https://api.toponad.net/v3/report/roi' \
--header 'X-Up-Key: 877f8ae9c6e9ca82c0==5b5fff594c373axxx' \
--header 'X-Up-Signature: CE12B506DBCD868C2C6F09E08C139CBC' \
--header 'X-Up-Timestamp: 1626161553000' \
--header 'Content-Type: application/json' \
--data-raw '{
  "start_date": 20211026,
  "end_date": 20211026,
  "roi_platform": 1,
  "nw_firm_id_list": [100002],
  "time_zone": "UTC+8",    
  "group_by": ["date_time"],
  "limit": 100,
  "start": 0
}'

Return data sample:

{
    "count": 1,
    "records": [
        {
            "date_time": 20211026,
            "new_user": 13061,
            "new_user_gap": "-0.4522",
            "cost": 45901.0955949819,
            "install": 23845,
            "install_price": "1.924978",
            "roi_1": "0.2386",
            "roi_2": "0.2968",
            "roi_3": "0.3228",
            "roi_4": "0.3409",
            "roi_5": "0.355",
            "roi_6": "0.3672",
            "roi_7": "0.3753",
            "roi_8": "0.3808",
            "roi_9": "0.3855",
            "roi_10": "0.3889",
            "roi_11": "0.393",
            "roi_12": "0.3974",
            "roi_13": "0.4011",
            "roi_14": "0.4045",
            "roi_15": "0.4077",
            "roi_16": "0.4097",
            "roi_17": "0.4121",
            "roi_18": "0.4141",
            "roi_19": "0.4169",
            "roi_20": "0.4189",
            "roi_21": "0.4211",
            "roi_22": "0.4226",
            "roi_23": "0.4244",
            "roi_24": "0.426",
            "roi_25": "0.4284",
            "roi_26": "0.4302",
            "roi_27": "0.4324",
            "roi_28": "0.4339",
            "roi_29": "0.4355",
            "roi_30": "0.4373",
            "roi_31": "0.4394",
            "roi_32": "0.4409",
            "roi_33": "0.4421",
            "roi_34": "0.4436",
            "roi_35": "0.4446",
            "roi_36": "0.4457",
            "roi_37": "0.4465",
            "roi_38": "0.4474",
            "roi_39": "0.4482",
            "roi_40": "0.4495",
            "roi_41": "0.4506",
            "roi_42": "0.4514",
            "roi_43": "0.452",
            "roi_44": "0.4528",
            "roi_45": "0.4535",
            "roi_46": "0.4542",
            "roi_47": "0.4552",
            "roi_48": "0.4559",
            "roi_49": "0.4564",
            "roi_50": "0.4569",
            "roi_51": "0.4575",
            "roi_52": "0.4578",
            "roi_53": "0.4587",
            "roi_54": "0.4594",
            "roi_55": "0.4599",
            "roi_56": "0.4604",
            "roi_57": "0.461",
            "roi_58": "0.4615",
            "roi_59": "0.4619",
            "roi_60": "0.4623"
        }
    ]
}
 
Previous
Impression & New Users 1-60 Days Report
Next
Roi Ltv Report
Last modified: 2025-08-20Powered by