使用查询设备终端来查看设备信息。提供您的应用 ID 和设备的广告 ID,返回与应用相关的设备和链接信息。
GET https://api.adjust.com/device_service/api/v1/inspect_device
调取设备信息
以 JSON 对象的形式返回设备信息。
参数 | 数据类型 | 位置 | 描述 |
---|---|---|---|
app_token * | String | 查询 | 应用的 12 位数标识符 |
advertising_id * | String | 查询 | 设备的唯一广告 ID。请查看下方广告 ID。 |
idfa
(iOS 设备)gps_adid
(Google 广告 ID)android_id
(Android ID)fire_adid
(Amazon Fire ID)win_adid
(Windows 广告 ID)
{ "Adid": "string", "AdvertisingId": "string", "Tracker": "string", "TrackerName": "string", "ClickTime": "date-time", "InstallTime": "date-time", "LastSessionTime": "date-time", "LastEventTimes": { "string": "date-time", "string": "date-time", "string": "date-time", "string": "date-time" }, "State": "string"}
示例
$ curl \--header "Authorization: Bearer ask43jskdp2tg2hg87" \-L -X GET "https://api.adjust.com/device_service/api/v1/inspect_device?advertising_id=1234-5678-9012-3456&app_token=gwzpeepw8uf8"
{ "Adid": "acf8534f2f052395e617a38730682ccc", "AdvertisingId": "1234-5678-9012-3456", "Tracker": "abc123", "TrackerName": "Organic", "ClickTime": "0001-01-01T00:00:00Z", "InstallTime": "2015-08-19T03:42:03Z", "LastSessionTime": "2017-07-29T17:29:17Z", "LastEventTimes": { "a1a1a1": "2017-07-29T17:29:55Z", "b2b2b2": "2017-07-29T17:29:21Z", "c3c3c3": "2017-07-29T17:29:38Z", "4d4d4d": "2017-07-29T17:29:58Z" }, "State": "installed"}