adjust-icon

Filters data endpoint

The Filters Data endpoint enables you to retrieve a list of valid metrics. You can use these metrics to filter calls to other endpoints in the Report Service API suite.

A full list of metrics is available in the Datascape metrics glossary.

Before you begin

To use this endpoint, you need an Adjust API token. Follow the instructions in the authentication guide to get your token.

Endpoint

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

GET request

Return a list of filter items. Use the id field of the returned objects to filter other API calls.

Parameters

Required filters

Sections

Responses

This endpoint returns the following responses:

Success response

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

Parameters

Example

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