帮助中心
|
过滤器数据终端
通过过滤器数据终端,您可以调取有效指标列表,用来在报告服务 API 套件中过滤向其他终端的调用。
您可以在我们的Datascape 指标术语表中查看完整指标列表。
操作前须知
要使用该终端,您需要 Adjust API 识别码。请按照验证指南中的说明操作,获得识别码。
终端
https://dash.adjust.com/control-center/reports-service/filters_data
GET 请求
返回过滤器项目列表。这些项目与您在 Automate 可访问的 KPI 相对应。请使用返回对象的id
字段过滤其他 API 调用。
参数
参数 | 数据类型 | in | 描述 |
---|---|---|---|
required_filters * | 字符串 | 查询 | 用逗号隔开的过滤器列表。请查看下方 "必要过滤器" 表格,获取值的列表。 |
section | Enum | 查询 | 用来过滤项目的 section。请查看下方 "section" 表格,获取值的列表。 |
[required_filters]__contains | 字符串 | 查询 | 输入搜索词条,在对象 id 和name 字段中查找完全或部分匹配的结果。 |
响应
终端返回以下响应:
响应 | 描述 | 注意事项 |
---|---|---|
200 | Success | 返回报告信息 |
204 | No content | 响应对象为空时 |
400 | Bad request | 请求格式错误或包含不受支持的参数 |
401 | Unauthorized | 您的凭证不正确或缺失 |
403 | Forbidden | 您没有访问此信息的权限 |
429 | Too many requests | 同时发送超过 50 个请求 |
503 | Service unavailable | 无法连接服务器 |
504 | Gateway 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"
}
]
}
示例
{
"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"
}
]
}