Show / Hide Table of Contents

Class PartnersResource.ChannelsResource

The "channels" collection of methods.

Inheritance
System.Object
PartnersResource.ChannelsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class 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, Int64)

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.

System.Int64 partnerId

The ID of the partner that owns the created channel.

Returns
Type Description
PartnersResource.ChannelsResource.CreateRequest

Get(Int64, Int64)

Gets a channel for a partner or advertiser.

Declaration
public virtual PartnersResource.ChannelsResource.GetRequest Get(long partnerId, long channelId)
Parameters
Type Name Description
System.Int64 partnerId

The ID of the partner that owns the fetched channel.

System.Int64 channelId

Required. The ID of the channel to fetch.

Returns
Type Description
PartnersResource.ChannelsResource.GetRequest

List(Int64)

Lists channels for a partner or advertiser.

Declaration
public virtual PartnersResource.ChannelsResource.ListRequest List(long partnerId)
Parameters
Type Name Description
System.Int64 partnerId

The ID of the partner that owns the channels.

Returns
Type Description
PartnersResource.ChannelsResource.ListRequest

Patch(Channel, Int64, Int64)

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.

System.Int64 partnerId

The ID of the partner that owns the created channel.

System.Int64 channelId

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

Returns
Type Description
PartnersResource.ChannelsResource.PatchRequest
In This Article
Back to top Generated by DocFX