adjust-icon

フィルターデータのエンドポイント

フィルターデータのエンドポイントにより、有効な指標のリストを取得できます。これらの指標を使用して、レポートサービスAPIスイートでその他のエンドポイントへのコールをフィルターすることができます。

指標の全リストは、 Datascape指標用語集をご覧ください。

事前準備

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

エンドポイント

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

GETリクエスト

フィルター項目のリストを返します。その他のAPIコールをフィルターするには、返されたオブジェクトのidフィールドを使用してください。

パラメータ

必須のフィルター

セクション

レスポンス

このエンドポイントは、以下のレスポンスを返します:

成功レスポンス

{
"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"
}
]
}