---
title: "/stats"
method: POST
path: "/stats"
---

# /stats

`POST /stats`

## Headers

- `Authorization` string, required
- `X-Api-Version` string

## Request body

- object
  - `game_id` integer, required — The ID of the Game to pull reporting for
  - `fields` string[], required — Fields set the list of metrics returned. See the full list of supported fields [here](#fields).
  - `groups` string[], required — Groups set the dimensions returned from the report. See the full list of supported groups [here](#groups).
  - `filters` object, required — List of filters to restrict the results
    - `start_triggered_at_date` string, date — Start of the date range to run the report over
    - `end_triggered_at_date` string, date — End of the date range to run the report over
    - `team_ids` integer[]
    - `networks` string[]
    - `campaigns` string[]
    - `ad_groups` string[]
    - `ads` string[]
    - `sub1` string[]
    - `sub2` string[]
    - `sub3` string[]
    - `sub4` string[]
    - `sub5` string[]
    - `countries` string[]
    - `user_ids` string[]
    - `platforms` string[]
    - `touchpoint_types` string[] — Allowed values: `['click', 'impression']`
    - `goal_type_ids` integer[] — List of goal types to restrict results to include
    - `include_unattributed` boolean — Set to True to include a row in the response for unattributed goals.
  - `timezone` string — Timezone to adjust all reported dates/times into. Reference for supported formats [here](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).

## Response `200`

200

- object
  - `results` object[]
    - `campaign` string
    - `campaign_name` string
    - `click_through_rate` number
    - `clicks` integer
    - `clicks_unique` integer
    - `cost_amount` number
    - `cost_currency` string
    - `display_click_through_rate` number
    - `display_clicks` integer
    - `display_cost_amount` number
    - `display_cost_currency` string
    - `display_impressions` integer
    - `game_id` integer
    - `goal_revenue_amount` number
    - `goal_revenue_currency` string
    - `goals` object
      - `1` object
        - `assist` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` number
          - `unique_users` integer
        - `standard` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` integer
          - `unique_users` integer
      - `2` object
        - `assist` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` number
          - `unique_users` integer
        - `standard` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` integer
          - `unique_users` integer
      - `3` object
        - `assist` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` number
          - `unique_users` integer
        - `standard` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` number
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` number
          - `unique_users` integer
      - `4` object
        - `assist` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` number
          - `unique_users` integer
        - `contribution` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` number
          - `unique_users` integer
        - `standard` object
          - `count` integer
          - `goal_rate` number
          - `goal_revenue_amount` integer
          - `goal_revenue_currency` string
          - `name` string
          - `per_user` number
          - `unique_users` integer
    - `impressions` integer
    - `impressions_unique` integer
    - `network` string
    - `network_click_through_rate` unknown
    - `network_clicks` unknown
    - `network_cost_amount` unknown
    - `network_cost_currency` unknown
    - `network_impressions` unknown
    - `network_name` string
    - `team_id` integer
    - `team_name` string

---

[API](https://skmtc.net/gamesight/apis/measurement-api-1.md) · [All operations](https://skmtc.net/gamesight/apis/measurement-api-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gamesight/measurement-api-1/versions/d0464e63fcda/schema)
