This document is applicable to applications that connect to the AdPower platform and return user data through API connection.
Name | Examples |
---|---|
APP icon(size 100*100, size within 200K) |
![]() |
APP name | Teenpatti Plus |
APP package name | com.strame.rummy.tp7202 |
APP Token(APP package name) | com.strame.rummy.tp7202 |
APP download url(provide the download link of the apk) | https://d37t727ptfh1ps.cloudfront.net/pkg/ab72002.apk |
Event name | Event token | Event value |
---|---|---|
Install | install | No return value required |
Register | register | No return value required |
First recharge | firstrecharge | User first recharge amount(Confirm currency unit) |
Total recharge | totalrecharge | User total recharge amount(confirmed currency unit) |
Win | win | User total win |
Rounds | rounds | User total rounds |
Times | times | User total times,Unit: Seconds |
Level | level | User level |
Other | other | Custom event values |
completes the corresponding event, the app developer requests the platform's callback interface to report the user data.
Request Protocol:HTTPS
Request method: GET / POST
For GET requests, parameters should be appended to the URL. For POST requests, parameters should be in the form-data format.
The response data is all in JSON data format. To avoid type parsing errors, all data values are in string type.
Both the platform provider and the app developer use the Google Advertising ID as the user unique identifier. Technical documentation for obtaining the Google Advertising ID:
https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info
Install event callback URL:
https://api.adpower.cn/v1/offer/install?gps_adid={gps_adid}&app_token={app_token}
Other event callback URL:
https://api.adpower.cn/v1/offer/postback?gps_adid={gps_adid}&event={event}&revenue={revenue}&app_token={app_token}
Parameter | Description |
---|---|
app_token | App unique identifier(app package name) |
gps_adid | Google Advertising ID (provided by the app developer) |
event | Event token (provided by AdPower platform) |
revenue | Callback revenue (user completes the event, the app developer sends it back to the AdPower platform) |