1.Scope of application

This document is applicable to applications that connect to the AdPower platform and return user data through API connection.

2.APP Information (provided by the app developer)

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

3.Event value (App developer returns event value)

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

1.Docking method

completes the corresponding event, the app developer requests the platform's callback interface to report the user data.

2.Request method:

Request Protocol:HTTPS

Request method: GET / POST

3.Data Format:

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.

4.User unique identifier:

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

1.Callback URL

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}

2.Response Parameter

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)