This document is applicable to applications that connect to the AdPower platform and return user data through H5 connection.
Name | Examples |
---|---|
Icon(size 100*100, size within 200K) |
![]() |
Name | Teenpatti Plus |
App_token(provided by the game developer) | loaful.com(website domain) |
Promotion link | https://loaful.com/#/pages/login/index?gaid={gaid} |
Event name | Event token | Event value |
---|---|---|
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.
The platform and the game party use the parameter gps_adid as the unique user identifier. The platform party transmits it to the game party through the game party's promotion link. The game party obtains the parameter gps_adid and binds it to the game user ID. (For example, the promotion link: https://loaful.com/#/pages/login/index?gaid={gaid})
event callback URL:
https://api.adpower.cn/v1/offer/postback?gps_adid={gaid}&event={event}&revenue={revenue}&app_token={app_token}
Parameter | Description |
---|---|
app_token | Token value (provided by the game developer) |
gps_adid | User unique identifier(Provided by the platform, and sent back to the platform by the game party) |
event | Event token (refer to the event token in the basic description) |
revenue | Callback revenue (user completes the event, the app developer sends it back to the AdPower platform) |