Reports: get
Опросы статуса запроса отчета. Попробуйте сейчас .
В ответе указывается статус отчета:
- Если отчет готов к загрузке, ответ содержит
isReportReady: true
. Ответ также содержит такую информацию, как количество файлов отчетов. - Если над отчетом еще ведется работа, ответ содержит
isReportReady: false
. - Если DoubleClick Search не может завершить отчет, ответ содержит код ошибки 410 Gone и одну из причин, описанных в разделе «Коды ответов» .
Запрос
HTTP-запрос
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId
Параметры
Имя параметра | Ценить | Описание |
---|
Параметры пути |
reportId | string | Идентификатор опрашиваемого запроса отчета. |
Авторизация
Этот запрос требует авторизации со следующей областью действия:
Объем |
---|
https://www.googleapis.com/auth/doubleclicksearch |
Дополнительную информацию см. на странице аутентификации и авторизации .
Тело запроса
Не предоставляйте тело запроса с помощью этого метода.
Ответ
В случае успеха этот метод возвращает ресурс Reports в теле ответа.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-08 UTC.
[null,null,["Последнее обновление: 2024-11-08 UTC."],[[["Polls for the status of a report request to determine if it's ready for download, still processing, or if an error occurred."],["The response includes an `isReportReady` flag indicating the report status and, if ready, provides details like the number of report files."],["Uses a GET request to the specified endpoint, including the report ID as a path parameter, to retrieve the report status."],["Requires authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope for access."],["A successful response returns a Reports resource containing information about the requested report."]]],["This outlines polling a report request's status via a GET request to `https://www.googleapis.com/doubleclicksearch/v2/reports/reportId`, requiring authorization. The `reportId` path parameter identifies the report. A successful response indicates `isReportReady: true` if ready, including file information, or `isReportReady: false` if in progress. A 410 Gone error code signifies report failure. The method returns a Reports resource and doesn't use a request body.\n"]]