Starting September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our deprecations page for more details on how to update your integration to make this declaration.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v2 has been sunset and replaced with an upload functionality for media.\u003c/p\u003e\n"],["\u003cp\u003eMedia can be uploaded through the \u003ccode\u003e/upload/media/{resourceName=**}?upload_type=media\u003c/code\u003e URI using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a Media object, and a successful response will return a Media object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required using OAuth scopes for either Display & Video or DoubleClick Bid Manager.\u003c/p\u003e\n"]]],[],null,["# Method: media.upload\n\n| Display \\& Video 360 API v2 has 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\nUploads media. Upload is supported on the URI `/upload/media/{resourceName=**}?upload_type=media.`\n\n**Note** : Upload requests will not be successful without including `upload_type=media` query string.\n\n### HTTP request\n\n- Upload URI, for media upload requests: \n `POST https://displayvideo.googleapis.com/upload/media/{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 contains an instance of [Media](/display-video/api/reference/rest/v2/Media).\n\n### Response body\n\nIf successful, the response body contains an instance of [Media](/display-video/api/reference/rest/v2/Media).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/display-video`\n- `https://www.googleapis.com/auth/doubleclickbidmanager`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]