Report API

 

Request URL

http://sdk.adtimingapi.com/report?type=[json or csv]&encoding=[GBK or UTF-8]&token=[The token obtained from AdTiming UI]&mediation=0&df=[startdate]&dt=[enddate]

Required Parameters

Name Mandatory Type Description
type Yes String Data format: json or csv
encoding Yes String Encoding: GBK or UTF-8
token Yes String Obtain from AdTiming Mediation Dashboard as above
mediation NO INT 0-all;1-admob;2-facebook;3-unity;4-vungle;6-adcolony;7-applovin;8-mopub;9-google_ad;10-tapjoy;11-chartboost;12-tiktok;14-mintegral;100-adtiming
app_id NO String Android Bundle Id from Google Play or Apple Id from App Store
place NO INT Obtain from AdTiming Mediation Dashboard
df Yes Date Start date,like 2019-05-01
dt Yes Date End date,like 2019-05-02

 

Response

Name Typ Description
Date Date Like “2019-05-29”
AppID String Adtiming app id
AppName String APP name
PlacementId String Adtiming app placement id
PlacementName String APP placement name
Country String Like “USA”, "IND", "IDN"
Impression Numeric Impression
Click Numeric Click
Earning Numeric Publisher Revenue
Ecpm Numeric Ecpm=Earning/Impression*1000

 

Example

Retrieves all mediation's data using json format from date 2020-01-05.

Request:

http://sdk.adtimingapi.com/report?type=json&encoding=UTF-8&token=xxxxxxxxxxxxxxxxxxxxxxxxx&df=2020-01-05&dt=2020-01-05

 

Response(Partial):

[

......

{

"Date": "2020-01-05",
"CTR": "14.78",
"AppID": "2216",
"PlacementName": "xxxxxx",
"Earning": "27.8885",
"Country": "BRA",
"Click": "1436",
"Impression": "9714",
"ECPM": "2.8710",
"PlacementId": "5469",
"AppName": "XXXXX"
},
{
"Date": "2020-01-05",
"CTR": "13.83",
"AppID": "2216",
"PlacementName": "xxxxxx",
"Earning": "24.1135",
"Country": "BRA",
"Click": "1235",
"Impression": "8932",
"ECPM": "2.6997",
"PlacementId": "5470",
"AppName": "XXXXX"
},
……

]

 

Was this article helpful?
3 out of 3 found this helpful

Comments

0 comments

Article is closed for comments.