デバイスエンドポイントの検査

Inspect device endpointを使うことで、デバイス情報が確認できます。アプリに関連したデバイスおよびトラッカー情報を返すには、そのアプリIDとデバイスの広告IDを提供してください。

事前準備

このエンドポイントを使用するには、Adjust APIトークンが必要です。トークンを取得するには、認証ガイドの手順に従ってください。

エンドポイント

https://api.adjust.com/device_service/api/v1/inspect_device

GETリクエスト

デバイス情報をJSONオブジェクトとして返します。

パラメーター

パラメーターデータタイプin説明
app_token*文字列クエリアプリの12桁の識別子。
advertising_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
curl --location --request GET "https://api.adjust.com/device_service/api/v1/inspect_device?advertising_id=1234-5678-9012-3456&app_token=tei4k374ke" \
--header "Authorization: Bearer ask43jskdp2tg2hg87"
{
     "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"
}