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

ParameterData typeInDescription
required_filters*StringQueryA comma separated list of filters. See the Required filters table below for a list of values.
sectionEnum<String>QueryThe section you want to filter items by. See the Section table below for a list of values.
[required_filters]__containsStringQueryEnter a search term to look for a full or partial match in the object’s id and name fields.

Required filters

FilterDescription
appsReturns a list of your apps.
apps_networkReturns a list of your apps and their associated store IDs.
overview_metricsReturns a list of overview metrics.
skad_metricsReturns a list of metrics relating to SKAdNetwork.
cohort_maturityReturns a list of metrics relating to the maturity of a cohort. Example: mature, immature.
cohort_metricsReturns a list of metrics relating to your cohorts.
event_metricsReturns a list of metrics relating to your events. All metrics are duplicated per event.
cost_metricsReturns a list of metrics relating to cost.
etl_metricsReturns a list of metrics relating to ETL (extract, transform, load) between Adjust and another system.
dimensionsReturns a list of dimensions.
countriesReturns a list of countries.
currenciesReturns a list of currencies.
os_namesReturns a list of operating system names.
networksReturns a list of networks.
partnersReturns a list of partners.
ad_revenue_sourcesReturns a list of ad revenue sources.
iap_revenue_modeReturns a list of ad revenue modes.
attribution_typeReturns a list of attribution types. Examples: all, click, impression.
attribution_sourceReturns a list of attribution sources.
attribution_statusReturns a list of attribution statuses.
ad_spend_modeReturns a list of cost modes. Examples: attribution, network, mixed.
ad_spend_modeReturns a list of ad spend modes. Examples: attribution, network, mixed.
utc_offsetThe offset (in hours) from UTC. Defaults to 0 (UTC).
attributesReturns a list of attributes.
indexReturns a list of key metrics that relate to all apps.
period_over_periodReturns a list of time periods used for data comparison.
cohort_metric_namesReturns a list of readable names for cohort metrics.
full_cohort_periodsReturns a list of time periods related to cohorts.
store_typeReturns a list of app stores.
skad_time_adjustmentReturns a list of valid SKAdNetwork activity windows.

Sections

SectionDescription
conversionMetrics relating to click and impression conversions.
fraudMetrics relating to fraud prevention.
costMetrics relating to cost.
revenueMetrics relating to app revenue.
retentionMetrics relating to cohort-based user retention.
eventsMetrics relating to events.
conversion_eventsMetrics relating to SKAdNetwork conversion events.
installsMetrics relating to app installs and reinstalls.
conversion_valuesMetrics relating to SKAdNetwork conversion values.

Responses

This endpoint returns the following responses:

ResponseMessageNotes
200SuccessReturns report information
204No contentReturned if the response object is empty
400Bad requestReturned if your request is malformed or contains unsupported parameters
401UnauthorizedReturned if your credentials are incorrect or absent
403ForbiddenReturned if you try to access information you don’t have permission to view
429Too many requestsReturned if you exceed 50 simultaneous requests
503Service unavailableReturned if the server can’t be reached
504Gateway timeoutReturned if the query takes too long to return a response

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

ParameterData typeDescription
idStringThe ID of the filter item. Use this to filter your API calls.
nameStringThe readable name of the filter item.
short_nameStringThe shortened name of the filter item.
sectionStringThe section the filter item is associated with.
formattingStringThe data format of the filter item. Example: money, decimal, string.

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