Inspect deviceエンドポイントを使うことで、デバイス情報が確認できます。アプリに関連したデバイスおよびリンク情報を返すには、そのアプリ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"}