报告终端

借助报告服务提供的 API,您可以获得不同来源的聚合数据,包括 KPI 服务可交付数据、KPI 服务同期群、SKAdNetwork 和广告支出。

该报告终端可以在同一报告中结合多种服务数据。可请求按天、应用及广告渠道等查看安装、收入、广告支出以及 SKAdNetwork 数据。

操作前须知

要使用该终端,您需要 Adjust API 识别码。请按照说明设置并管理 Adjust API 验证

API 的用户权限与 Adjust 账户中的用户权限一致。

终端

https://automate.adjust.com/reports-service/report

GET 请求

GET 方法以 JSON 格式返回来自报告服务的过滤数据。

过滤器

维度 (Dimension)

指标

响应

终端返回以下响应:

响应描述注意事项
200Success返回报告信息
204No content响应对象为空时
400Bad request请求格式错误或包含不受支持的参数
401Unauthorized您的凭证不正确或缺失
403Forbidden您没有访问此信息的权限
429Too many requests同时发送超过 50 个请求
503Service unavailable无法连接服务器
504Gateway timeout查询返回响应时间过长

成功响应

{
   "rows":[
      {
         "attr_dependency":{
            
         },
         "app":"App Name",
         "partner_name":"AppLovin",
         "campaign":"Campaign Name (Campaign ID)",
         "campaign_id_network":"Campaign ID",
         "campaign_network":"Campaign Name",
         "installs":"64",
         "cost":"1000"
      }
   ],
   "totals":{
      "installs":64,
      "cost":1000
   },
   "warnings":[
      
   ]
}

参数

示例

curl \
--header 'Authorization: Bearer <adjust_api_token>' \
--location --request GET 'https://automate.adjust.com/reports-service/report?cost_mode=network&app_token__in={app_token1},{app_token2}&date_period=2021-05-01:2021-05-02&dimensions=app,partner_name,campaign,campaign_id_network,campaign_network&metrics=installs,network_installs,network_cost,network_ecpi' \
{
    "rows": [
        {
            "attr_dependency": {
                "campaign_id_network": "unknown",
                "partner_id": "-300",
                "partner": "Organic"
            },
            "app": "Test app",
            "partner_name": "Organic",
            "campaign": "unknown",
            "campaign_id_network": "unknown",
            "campaign_network": "unknown",
            "installs": "10",
            "network_installs": "0",
            "network_cost": "0.0",
"network_ecpi": "0.0"
}
    ],
    "totals": {
        "installs": 10.0,
        "network_installs": 0.0,
        "network_cost": 0.0,
        "network_ecpi": 0.0
    },
    "warnings": [],
    "pagination": null
}