ContractService

Service to manage YouTube Shopping Affiliate Program contracts.

CreateContract

rpc CreateContract(CreateContractRequest) returns (Contract)

Creates a new contract.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

GetContract

rpc GetContract(GetContractRequest) returns (Contract)

Retrieves the specified contract.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

ListContracts

rpc ListContracts(ListContractsRequest) returns (ListContractsResponse)

Lists the contracts for a given account.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

UpdateContract

rpc UpdateContract(UpdateContractRequest) returns (Contract)

Updates a given contract.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.