Report fields
Aggregated reports return metrics summed by dimensions over a period of days. Each method is described in the Reporting & Events API reference.
Common parameters
Section titled “Common parameters”| Parameter | Type | Description |
|---|---|---|
filter[date_from] | string | First day, YYYY-MM-DD, in tz. |
filter[date_to] | string | Last day, YYYY-MM-DD, in tz, included. |
tz | string | IANA time zone of the days and hours (Europe/Berlin); UTC by default. |
filter[applications] | int[] | Applications; all applications of the key by default. Exactly one for an agency key. |
filter[partners] | int[] | Partners; 0 is organic. |
dimensions | string[] | Dimensions of the rows, in the order of nesting: ["date","partner_id"]. The available ones per report — GET /v1/enums. |
filter | object | Filter by dimension values: {"country":["DE","FR"],"event":["Purchase"]}. Keys are dimensions of the report. |
list_fields | string[] | Custom report only: metrics to compute. |
format | string | tree (default), plain, csv2, params. Some reports have their own set, see each method. |
to_currency | string | Currency of the money metrics, USD by default. format=params lists the available ones in currencies. |
build_by_period | string | install — cohort: everything of the installs of the period, by first_open_time; all — each metric by its own time field. The default depends on the report. |
filter[environment] | string | production, sandbox or all, see below. |
only | string | With format=params: currencies returns only {"currencies":[...]}. |
The time field each metric is counted by: Time.
Formats
Section titled “Formats”tree—{"currency": "USD", "tree": {...}, "headers": [...]}. A node of the tree:dimensions(values of the dimensions of this level),metrics,calc(ratios),data(lists),nodes(the next level). The root holds the totals.headerslists the columns:field,name,type,object_field(where the value lies in a node:metrics.installs).plain—{"plane": [[...], ...]}: the same rows flattened; the value-all-is the total over a dimension.csv2— the same asplain, as a CSV file with a header row.params— values of the dimensions and fields seen in the period, for building filters:{"dimensions_values": {...}, "fields_values": {...}, "currencies": [...]}.
Metrics
Section titled “Metrics”The answer lists its metrics in headers. The main ones:
| Metric | Meaning |
|---|---|
impressions, clicks | impressions and clicks of the tracking links |
installs, reinstalls | installs and reinstalls |
sessions, sessions_duration_ms | sessions and their total length, ms |
events | in-app events |
conversions | conversions sent to partners |
uninstalls | uninstalls |
revenue | revenue of the in-app events |
ad_revenue | revenue of the ads shown in the app |
cost | payouts to partners for conversions |
ad_cost | spend in the ad networks |
roi, roas | ROI = (revenue + ad revenue) / (cost + ad cost); ROAS = revenue / ad cost |
For an agency key revenue is the payout to the agency, the client’s revenue (revenue_original, revenue_gross, refund, refund_gross), cost and cost_original are not returned, ad_revenue and ad_cost are returned; see Partner API.
Dimensions
Section titled “Dimensions”GET /v1/enums returns the dimensions of each report (reports.<report>.dimensions_available). The same names are the keys of filter. The method needs no API key.
filter[environment]
Section titled “filter[environment]”sandbox — data of test devices (the dev list of the application or the sandbox flag of add_event), production — everything else, all — no filter. The default and the data the filter applies to differ by report:
| Report | Default | Applies to |
|---|---|---|
custom | production | everything but clicks, impressions, trafficbacks and ad cost |
overview | all | everything but clicks, impressions, trafficbacks and ad cost |
ad_revenue | production | ad revenue |
subscriptions_v2 | production | subscriptions; not ad cost |
events, engagement, activity_events, activity_kpi | all | installs, sessions, events, conversions |
retention | all | installs and sessions |
conversions | all | installs, events, conversions; not clicks and impressions |
ecom_events | all | events |
google_ads/ad_group | all | accepted but in effect ignored: ad cost has no environment; installs are filtered only when the period has no Google cost data |
audience, apple_search_ads/ad_group, skadnetwork | — | ignored |
Clicks, impressions, trafficbacks and ad cost have no environment: they are counted in full whatever the filter.