A partir de 8 de setembro de 2025, todos os novos itens de linha precisarão declarar se vão veicular anúncios políticos da União Europeia (UE). As APIs do Display & Video 360 e os uploads de SDF que não fornecem declarações vão falhar. Consulte nossa página de suspensões de uso para mais detalhes sobre como atualizar sua integração e fazer essa declaração.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003eDownload media via the \u003ccode\u003e/download/{resourceName=**}?alt=media\u003c/code\u003e URI, ensuring to include \u003ccode\u003ealt=media\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses the \u003ccode\u003eGET\u003c/code\u003e method and requires an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a \u003ccode\u003eMedia\u003c/code\u003e object containing the downloaded content.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresourceName\u003c/code\u003e path parameter specifies the name of the media to be downloaded.\u003c/p\u003e\n"]]],["The core function is media downloading via the URI `/download/{resourceName=**}?alt=media`. A `GET` request is sent to `https://displayvideo.googleapis.com/download/{resourceName=**}`, requiring the `alt=media` query string. The `resourceName` path parameter specifies the media to download, with an empty request body. A successful response returns a `Media` instance. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope. The process uses gRPC Transcoding.\n"],null,["# Method: media.download\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\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/v3/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](/identity/protocols/OAuth2)."]]