Uploads media. Upload is supported on the URI /upload/media/{resourceName=**}?upload_type=media.
Note: Upload requests will not be successful without including upload_type=media
query string.
HTTP request
- Upload URI, for media upload requests:
POST https://displayvideo.googleapis.com/upload/media/{resourceName=**}
- Metadata URI, for metadata-only requests:
POST https://displayvideo.googleapis.com/media/{resourceName=**}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
resourceName |
Name of the media that is being downloaded. See |
Request body
The request body contains an instance of Media
.
Response body
If successful, the response body contains data with the following structure:
Media resource.
JSON representation | |
---|---|
{ "resourceName": string } |
Fields | |
---|---|
resourceName |
Name of the media resource. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/display-video
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.