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