Method: accounts.contracts.get

Retrieves the specified contract.

HTTP request

GET https://merchantapi.googleapis.com/youtube/v1alpha/{name=accounts/*/contracts/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the contract to retrieve. Format: accounts/{account}/contracts/{contract}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.