Method: media.download

  • Display & Video 360 API v3 has sunset and users should transition to v4.

  • Downloading media requires the alt=media query string in the request.

  • The download request uses a GET method to https://displayvideo.googleapis.com/download/{resourceName=**}.

  • The response body for a successful download contains an instance of Media.

  • Downloading media requires the https://www.googleapis.com/auth/display-video OAuth scope.

Downloads media. Download is supported on the URI /download/{resourceName=**}?alt=media.

Note: Download requests will not be successful without including alt=media query string.

HTTP request

GET https://displayvideo.googleapis.com/download/{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 must be empty.

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.