Menu

Third-Party Report Upload API

1. Upload Third-Party Revenue Report

1.1 Request URL

https://api.toponad.net/v1/report/upload

1.2 Request method

POST

1.3 Request params

params type required notes
network_id Int Y

Taku Third-Party Platform Account ID List
1. api: Can be obtained from the Network API
2. Backend: Obtained as shown in the figure below

report_currency String Y Report currency unit, enumeration value: USD, CNY
area String N

Country short code, must be transmitted to CSJ accounts:

CN: China Mainland

JP: Japan 

file String Y Base64-encoded data files from third-party sources, with a file size not exceeding 5MB. Supported platforms include CSJ, Tencent Ads, Baidu Union Ads, Kuaishou Ads, and custom ad platforms. The corresponding file types are as follows:  
CSJ: 8-, 10-, 11-, or 12-column XLSX files
Tencent Ads: CSV files with 15 columns
Baidu Union Ads: CSV files with 12 columns, or XLSX files with 12 columns
Kuaishou Ads: CSV files with 12 columns
Custom ad platforms: XLSX files with 6 columns
file_type Int N

File extension type

0: XLSX files (default)

1: CSV files

1.4 Return data

HTTP response code of 200 indicates that the upload was successful. Other response codes indicate that the upload failed.

1.5 Sample

Request sample:

curl --location --request POST 'https://api.toponad.net/v1/report/upload' \
--header 'X-Up-Key: 877f8ae9c6e9ca82c0==5b5fff594c373axxx' \
--header 'X-Up-Signature: CE12B506DBCD868C2C6F09E08C139CBC' \
--header 'X-Up-Timestamp: 1626161553000' \
--header 'Content-Type: application/json' \
--data-raw '{
    "file": "UEsDBBQACAgIAGx6EFcAAAAAAA",
    "file_type": 0,
    "network_id": 3609090882,
    "report_currency": "USD"
}'

Previous
A/B Test API
Next
Server-Side Reward Callback Rules API
Last modified: 2025-08-21Powered by