Skip to main content

CPM KPI

Returns yesterday's revenue per 1,000 impressions (CPM) compared with the same day last week (SDLW). This is the data behind the CPM tile on the Revenue Statistics page, which shows the gross values. Returns one row. All CPM values are in USD.

The response has both gross and net values.

Request
  • Method: GET
  • Endpoint: https://console.overwolf.com/api/stats/revenue-v2/cpm-yesterday
Query parameters
Name
Type
Description
app_idRequired
string

The UID of an app you have access to.

Additional parameters
Name
In
Type
Description
AuthorizationRequired
header
string

Key <your-console-email>:<your-api-key>. For more information, see the Revenue APIs overview.

Response

The response is a JSON object with a columns array and a rows array. Each row has these fields:

Field Description
yesterday_gross_cpm Gross CPM yesterday: gross revenue per 1,000 impressions, in USD.
sdlw_gross_cpm Gross CPM on the same day last week, in USD.
gross_cpm_change Change in gross CPM from the same day last week to yesterday, as a percentage.
yesterday_net_cpm Net CPM yesterday, in USD.
sdlw_net_cpm Net CPM on the same day last week, in USD.
net_cpm_change Change in net CPM from the same day last week to yesterday, as a percentage.
app_id Your app UID.
updated_at When the data was last updated.
200

CPM KPI

FieldType
columns.namestring
columns.friendly_namestring
columns.typestring
rows.yesterday_gross_cpmnumber
rows.sdlw_gross_cpmnumber
rows.gross_cpm_changenumber
rows.yesterday_net_cpmnumber
rows.sdlw_net_cpmnumber
rows.net_cpm_changenumber
rows.app_idstring
rows.updated_atstring
Request
https://console.overwolf.com/api/stats/revenue-v2/cpm-yesterday?app_id=YOUR_APP_ID
Response
{
  "columns": [
    {
      "name": "yesterday_gross_cpm",
      "friendly_name": "yesterday_gross_cpm",
      "type": "float"
    },
    {
      "name": "sdlw_gross_cpm",
      "friendly_name": "sdlw_gross_cpm",
      "type": "float"
    },
    {
      "name": "gross_cpm_change",
      "friendly_name": "gross_cpm_change",
      "type": "float"
    },
    {
      "name": "yesterday_net_cpm",
      "friendly_name": "yesterday_net_cpm",
      "type": "float"
    },
    {
      "name": "sdlw_net_cpm",
      "friendly_name": "sdlw_net_cpm",
      "type": "float"
    },
    {
      "name": "net_cpm_change",
      "friendly_name": "net_cpm_change",
      "type": "float"
    },
    {
      "name": "app_id",
      "friendly_name": "app_id",
      "type": "string"
    },
    {
      "name": "updated_at",
      "friendly_name": "updated_at",
      "type": "datetime"
    }
  ],
  "rows": [
    {
      "yesterday_gross_cpm": 0,
      "sdlw_gross_cpm": 0,
      "gross_cpm_change": 0,
      "yesterday_net_cpm": 0,
      "sdlw_net_cpm": 0,
      "net_cpm_change": 0,
      "app_id": "YOUR_APP_ID",
      "updated_at": "YYYY-MM-DDTHH:MM:SS"
    }
  ]
}