class PartnersChannels extends Resource (View source)

The "channels" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $channels = $displayvideoService->partners_channels;

Methods

create(string $partnerId, Channel $postBody, array $optParams = [])

Creates a new channel. Returns the newly created channel if successful.

get(string $partnerId, string $channelId, array $optParams = [])

Gets a channel for a partner or advertiser. (channels.get)

listPartnersChannels(string $partnerId, array $optParams = [])

Lists channels for a partner or advertiser. (channels.listPartnersChannels)

patch(string $partnerId, string $channelId, Channel $postBody, array $optParams = [])

Updates a channel. Returns the updated channel if successful.

Details

Channel create(string $partnerId, Channel $postBody, array $optParams = [])

Creates a new channel. Returns the newly created channel if successful.

(channels.create)

Parameters

string $partnerId

The ID of the partner that owns the created channel.

Channel $postBody
array $optParams

Optional parameters.

Return Value

Channel

Exceptions

Exception

Channel get(string $partnerId, string $channelId, array $optParams = [])

Gets a channel for a partner or advertiser. (channels.get)

Parameters

string $partnerId

The ID of the partner that owns the fetched channel.

string $channelId

Required. The ID of the channel to fetch.

array $optParams

Optional parameters.

Return Value

Channel

Exceptions

Exception

ListChannelsResponse listPartnersChannels(string $partnerId, array $optParams = [])

Lists channels for a partner or advertiser. (channels.listPartnersChannels)

Parameters

string $partnerId

The ID of the partner that owns the channels.

array $optParams

Optional parameters.

Return Value

ListChannelsResponse

Exceptions

Exception

Channel patch(string $partnerId, string $channelId, Channel $postBody, array $optParams = [])

Updates a channel. Returns the updated channel if successful.

(channels.patch)

Parameters

string $partnerId

The ID of the partner that owns the created channel.

string $channelId

Output only. The unique ID of the channel. Assigned by the system.

Channel $postBody
array $optParams

Optional parameters.

Return Value

Channel

Exceptions

Exception