С 8 сентября 2025 года в каждой новой позиции необходимо будет указывать, будет ли она показывать политическую рекламу Европейского союза (ЕС). Загрузки через Display & Video 360 API и SDF без таких указаний будут отклонены. Подробнее о том, как обновить интеграцию и указать это указание, см. на странице «Устаревшие функции».
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v1 has been sunset and media can now be downloaded using the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eDownloads require the use of the \u003ccode\u003e/download/{resourceName=**}?alt=media\u003c/code\u003e URI and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful downloads will return a Media object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for downloading media requires the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["The content outlines the process for downloading media using the Display & Video 360 API, noting that v1 has been sunset. Downloads occur via a `GET` request to `/download/{resourceName=**}?alt=media`, requiring the `alt=media` query string. The `resourceName` path parameter specifies the media. The request body must be empty, and a successful response contains a `Media` instance. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"],null,["# Method: media.download\n\n| Display \\& Video 360 API v1 has been sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDownloads media. Download is supported on the URI `/download/{resourceName=**}?alt=media.`\n\n**Note** : Download requests will not be successful without including `alt=media` query string.\n\n### HTTP request\n\n`GET https://displayvideo.googleapis.com/download/{resourceName=**}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|---------------------------------------------------------------------------------------|\n| `resourceName` | `string` Name of the media that is being downloaded. See `ReadRequest.resource_name`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Media](/display-video/api/reference/rest/v1/Media).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]