过滤器数据终端

通过过滤器数据终端,您可以调取有效指标列表,用来在报告服务 API 套件中过滤向其他终端的调用。

您可以在我们的Datascape 指标术语表中查看完整指标列表。

操作前须知

要使用该终端,您需要 Adjust API 识别码。请按照验证指南中的说明操作,获得识别码。

终端

https://dash.adjust.com/control-center/reports-service/filters_data

GET 请求

返回过滤器项目列表。请使用返回对象的id字段过滤其他 API 调用。

参数

参数数据类型in描述
required_filters*字符串查询用逗号隔开的过滤器列表。请查看下方 "必要过滤器" 表格,获取值的列表。
sectionEnum查询用来过滤项目的 section。请查看下方 "section" 表格,获取值的列表。
[required_filters]__contains字符串查询输入搜索词条,在对象 idname字段中查找完全或部分匹配的结果。

必要过滤器

Section

响应

终端返回以下响应:

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

成功响应

{
   "required_filters_1": [
      {
         "id": "string",
         "name": "string",
         "short_name": "string",
         "section": "string",
         "formatting": "string"
      }
   ],
   "required_filters_2": [
      {
         "id": "string",
         "name": "string",
         "short_name": "string",
         "section": "string",
         "formatting": "string"
      },
      {
         "id": "string",
         "name": "string",
         "short_name": "string",
         "section": "string",
         "formatting": "string"
      }
   ]
}

参数

示例

cURL

{
    "overview_metrics": [
        {
            "id": "ecpi_all",
            "name": "eCPI (All Installs)",
            "short_name": "eCPI (All)",
            "section": "Cost",
            "formatting": "money"
        },
        {
            "id": "ecpi",
            "name": "eCPI (Paid Installs)",
            "short_name": "eCPI (Paid)",
            "section": "Cost",
            "formatting": "money"
        }
    ],
    "cost_metrics": [
        {
            "id": "network_cost",
            "name": "Ad Spend (Network)",
            "short_name": "",
            "section": "Cost",
            "formatting": "decimal"
        },
        {
            "id": "network_cost_diff",
            "name": "Ad Spend Diff (Network)",
            "short_name": "",
            "section": "Cost",
            "formatting": "decimal"
        }
    ]
}