---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.1
alternate:
  - https://yandex.ru/dev/adfox/doc/en/statistics/methods/report-request.md
  - https://yandex.ru/dev/adfox/doc/ru/statistics/methods/report-request.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/adfox/doc/en/llms.txt

# Request to generate a report

No more than 3 reports can be processed at the same time.

## Getting reports {#predefined-reports}

To generate a report, make a request:

```httpget
https://adfox.yandex.com/api/report/<level>?name=<report_name>&<arguments>
```

#### Request parameters

#|
|| **Parameter** | **Description** ||
|| 
`level` 
| [The level of detail](*level).
 ||
|| 
`report_name` 
| The report name (used in the request). You can find it using the [list](https://yandex.ru/dev/adfox/doc/en/statistics/methods/reports-list.md) method.
 ||
|| 
`arguments` | Arguments that are [required](https://yandex.ru/dev/adfox/doc/en/statistics/methods/report-arguments.md) to generate this report, with values. You can find the full list of arguments in [Arguments for building a report](https://yandex.ru/dev/adfox/doc/en/statistics/how-to.md#arguments). ||
|#

To build a report on multiple objects, pass the list of IDs as a JSON array. Example request for a campaign:

```httpget
https://adfox.yandex.com/api/report/campaign?name=days&dateFrom=2022-04-28&dateTo=2022-04-29&campaignId=[1891306,1891313,1891312,1860311]
```

#### Response format

The request returns the `taskId` task ID to generate a report. The task ID is necessary for [getting the finished report](https://yandex.ru/dev/adfox/doc/en/statistics/methods/get-report.md).

```
{
  "result": {
      "taskId": ()
  },
  "error": <errorCode>
}
```
    
{% note info %}
    
With the received `taskId`, you can receive data within an hour.
    
{% endnote %}

[*level]: Available levels of detail:

- `owner`: A general report.
- `supercampaign`: At the supercampaign level.
- `campaign`: At the campaign level.
- `banner`: At the banner level.
- `site`: At the site level.
- `section`: At the section level.
- `place`: At the placement level.