adjust-icon

过滤器数据终端

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

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

操作前须知

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

终端

GET https://automate.adjust.com/reports-service/filters_data

GET 请求

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

参数

必要过滤器

Section

响应

终端返回以下响应:

成功响应

{
"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
curl --location --request GET 'https://automate.adjust.com/reports-service/filters_data?required_filters=overview_metrics,cost_metrics&section=cost&overview_metrics__contains=ecpi&cost_metrics__contains=Ad spend' \
--header 'Authorization: Bearer {API_TOKEN}'
响应
{
"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"
}
]
}