Display Ads General Metrics
Legacy endpoint
This endpoint is part of the legacy Revenue APIs, which retire on December 1, 2026, the same date as the legacy Revenue Statistics dashboard. Use the Revenue APIs instead.
Opportunities: Chances to show an ad.
Impressions: Ads displayed.
- Method: GET
- Endpoint:
{{base_url}}/revenue/display-ads-general-metrics
Name
Type
Description
app_idRequiredstring
The app ID you want to query.
days_backRequiredstring
The timeframe for which the statistics are fetched.
Allowed values:
Last 30 Days, Last 90 Days, Last 180 Days, Last 365 DaysName
In
Type
Description
Authorizationheader
N/A
200
Display Ads General Metrics
| Field | Type |
|---|---|
rows.sum_impressions | integer |
rows.updated_at | string |
rows.sum_opportunities | integer |
rows.revenue_date | string |
columns.friendly_name | string |
columns.type | string |
columns.name | string |
Request
{{base_url}}/revenue/display-ads-general-metrics?app_id=%7B%7Bapp_id%7D%7D&days_back=Last%2030%20DaysResponse
{
"rows": [
{
"sum_impressions": "integer",
"updated_at": "string",
"sum_opportunities": "integer",
"revenue_date": "date"
}
],
"columns": [
{
"friendly_name": "string",
"type": "string",
"name": "string"
}
]
}