Предыдущий Search Ads 360 Reporting API выведен из эксплуатации. Теперь вы можете создавать свои отчеты с помощью нового Search Ads 360 Reporting API .
Обратите внимание, что методы get и getByCustomerId в Search Ads 360 Conversion API устарели в третьем квартале 2025 года. Чтобы продолжить доступ к данным о конверсиях, необходимо создать отчет с использованием ресурса конверсии с помощью нового Search Ads 360 Reporting API. Подробнее см. здесь.
Остальные функции API конверсий Search Ads 360 будут по-прежнему поддерживаться.
Reports: getFile
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Загружает файл отчета в кодировке UTF-8. Попробуйте сейчас .
Запрос
HTTP-запрос
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId/files/reportFragment
Параметры
Имя параметра | Ценить | Описание |
---|
Параметры пути |
reportFragment | integer | Индекс фрагмента отчета для загрузки. |
reportId | string | Идентификатор отчета. |
Авторизация
Этот запрос требует авторизации со следующей областью действия:
Объем |
---|
https://www.googleapis.com/auth/doubleclicksearch |
Дополнительную информацию см. на странице аутентификации и авторизации .
Тело запроса
Не предоставляйте тело запроса с помощью этого метода.
Ответ
В случае успеха этот метод возвращает пустое тело ответа.
Попробуйте!
Используйте API-интерфейс ниже, чтобы вызвать этот метод для реальных данных и просмотреть ответ. Альтернативно попробуйте автономный Проводник .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-08 UTC.
[null,null,["Последнее обновление: 2024-11-08 UTC."],[[["\u003cp\u003eDownloads a UTF-8 encoded report file based on the provided report ID and fragment index.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclicksearch\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUses a simple GET request with reportId and reportFragment as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eReturns an empty response body upon successful download of the report fragment.\u003c/p\u003e\n"],["\u003cp\u003eOffers interactive exploration using APIs Explorer or a standalone version for testing with live data.\u003c/p\u003e\n"]]],["This content describes how to download a report file via a GET request to a specific URL. The request requires authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope. You must specify the `reportId` (string) and `reportFragment` (integer) as path parameters. The report file, encoded in UTF-8, is downloaded without the need for a request body. A successful request returns an empty response body.\n"],null,["# Reports: getFile\n\n| **Note:** Requires [authorization](#auth).\n\nDownloads a report file encoded in UTF-8.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId/files/reportFragment\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|------------------|-----------|-----------------------------------------------|\n| **Path parameters** |||\n| `reportFragment` | `integer` | The index of the report fragment to download. |\n| `reportId` | `string` | ID of the report. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/doubleclicksearch` |\n\nFor more information, see the [authentication and authorization](/search-ads/v2/authorizing) page.\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/doubleclicksearch/v2/doubleclicksearch.reports.getFile)."]]