Class PartnersResource.ChannelsResource
The "channels" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class PartnersResource.ChannelsResource
Constructors
ChannelsResource(IClientService)
Constructs a new resource.
Declaration
public ChannelsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Sites
Gets the Sites resource.
Declaration
public virtual PartnersResource.ChannelsResource.SitesResource Sites { get; }
Property Value
Type | Description |
---|---|
PartnersResource.ChannelsResource.SitesResource |
Methods
Create(Channel, long)
Creates a new channel. Returns the newly created channel if successful.
Declaration
public virtual PartnersResource.ChannelsResource.CreateRequest Create(Channel body, long partnerId)
Parameters
Type | Name | Description |
---|---|---|
Channel | body | The body of the request. |
long | partnerId | The ID of the partner that owns the created channel. |
Returns
Type | Description |
---|---|
PartnersResource.ChannelsResource.CreateRequest |
Get(long, long)
Gets a channel for a partner or advertiser.
Declaration
public virtual PartnersResource.ChannelsResource.GetRequest Get(long partnerId, long channelId)
Parameters
Type | Name | Description |
---|---|---|
long | partnerId | The ID of the partner that owns the fetched channel. |
long | channelId | Required. The ID of the channel to fetch. |
Returns
Type | Description |
---|---|
PartnersResource.ChannelsResource.GetRequest |
List(long)
Lists channels for a partner or advertiser.
Declaration
public virtual PartnersResource.ChannelsResource.ListRequest List(long partnerId)
Parameters
Type | Name | Description |
---|---|---|
long | partnerId | The ID of the partner that owns the channels. |
Returns
Type | Description |
---|---|
PartnersResource.ChannelsResource.ListRequest |
Patch(Channel, long, long)
Updates a channel. Returns the updated channel if successful.
Declaration
public virtual PartnersResource.ChannelsResource.PatchRequest Patch(Channel body, long partnerId, long channelId)
Parameters
Type | Name | Description |
---|---|---|
Channel | body | The body of the request. |
long | partnerId | The ID of the partner that owns the created channel. |
long | channelId | Output only. The unique ID of the channel. Assigned by the system. |
Returns
Type | Description |
---|---|
PartnersResource.ChannelsResource.PatchRequest |