Method: media.upload

  • Media uploads require using the specific URI /upload/media/{resourceName=**}?upload_type=media .

  • The resourceName path parameter is a string identifying the media being uploaded.

  • The request body should contain an instance of Media .

  • A successful response will also contain an instance of Media .

  • The upload process requires the https://www.googleapis.com/auth/display-video OAuth scope.

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=**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resourceName

string

Name of the media that is being downloaded. See ReadRequest.resource_name .

Request body

The request body contains an instance of Media .

Response body

If successful, the response body contains an instance of Media .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview .

Design a Mobile Site
View Site in Mobile | Classic
Share by: