Skip to content

Update Tracking URL

PS: You need to use Token to change the status, for more details, please check Token

Through this interface, you could update click url and impression url under offer.

Request address

https://ss-api.mintegral.com/api/open/v1/tracking

Request method

PUT

Request example

json
PUT /api/open/v1/tracking
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
{
  "offer_id"18490,
  "tracking_method""REYUN",
  "impression_url""https://uri6.com/tkio/aIBFJ3a?campuuid={uuid}&clickid={click_id}&ip={ip}&ua={ua}&subchannel={affiliate_id}&idfa={device_id}&imei={imei}&androidid={@info.args.androidid@}&muid={@info.args.imei_md5@}&impression=true",
  "click_url""https://uri6.com/tkio/aIBFJ3a?campuuid={uuid}&clickid={click_id}&ip={ip}&ua={ua}&subchannel={affiliate_id}&idfa={device_id}&imei={imei}&androidid={@info.args.androidid@}&muid={@info.args.imei_md5@}",
  "support_server_click": "YES"
}

Request Parameter

FieldsTypeExplanationsDefault ValueExamples
offer_idintOffer ID123
tracking_methodstringTracking method. eg. "Appsflyer", "Adjust". Enum value in [EUNM - Tracking Method]"APPSFLYER"
click_urlstringClick attribution tracking URL"https://app.appsflyer.com/"
impression_url OptionalstringView-through attribution tracking URL"https://impression.appsflyer.com/
support_server_click OptionalstringThis indicates whether this offer is allowed to receive click data from Mintegral server.YES,NO

Response

FieldsTypeExplanations
codeint200 code, is success. Others, are fail.
msgstringIf success, return to "success". If fail, return to detailed wrong info.
datajsonIf success, return tracking data of offer. If fail, return to detailed wrong info.
offer_idintOffer ID
tracking_methodstringTracking method
impression_urlstringView-through attribution tracking URL
click_urlstringClick attribution tracking URL
click_url_statusstringStatus of click url, Enum value:
PENDDING => Click URL is waiting a test or click url has not passed and continue testing
PASS => Click URL is available
NOT_EXIST => Click URL is null

Response Example

json
{
  "msg": "success",
  "code": 200,
  "data": {
    "offer_id": 18490,
    "tracking_method": "REYUN",
    "impression_url": "https://uri6.com/tkio/aIBFJ3a?campuuid={uuid}&clickid={click_id}&ip={ip}&ua={ua}&subchannel={affiliate_id}&idfa={device_id}&imei={imei}&androidid={@info.args.androidid@}&muid={@info.args.imei_md5@}&impression=true",
    "click_url": "https://uri6.com/tkio/aIBFJ3a?campuuid={uuid}&clickid={click_id}&ip={ip}&ua={ua}&subchannel={affiliate_id}&idfa={device_id}&imei={imei}&androidid={@info.args.androidid@}&muid={@info.args.imei_md5@}",
    "click_url_status": "PENDDING"
  }
}