Show / Hide Table of Contents

Class CustomchannelsResource

The "customchannels" collection of methods.

Inheritance
object
CustomchannelsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AdSenseHost.v4_1
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class CustomchannelsResource

Constructors

CustomchannelsResource(IClientService)

Constructs a new resource.

Declaration
public CustomchannelsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string, string)

Delete a specific custom channel from the host AdSense account.

Declaration
public virtual CustomchannelsResource.DeleteRequest Delete(string adClientId, string customChannelId)
Parameters
Type Name Description
string adClientId

Ad client from which to delete the custom channel.

string customChannelId

Custom channel to delete.

Returns
Type Description
CustomchannelsResource.DeleteRequest

Get(string, string)

Get a specific custom channel from the host AdSense account.

Declaration
public virtual CustomchannelsResource.GetRequest Get(string adClientId, string customChannelId)
Parameters
Type Name Description
string adClientId

Ad client from which to get the custom channel.

string customChannelId

Custom channel to get.

Returns
Type Description
CustomchannelsResource.GetRequest

Insert(CustomChannel, string)

Add a new custom channel to the host AdSense account.

Declaration
public virtual CustomchannelsResource.InsertRequest Insert(CustomChannel body, string adClientId)
Parameters
Type Name Description
CustomChannel body

The body of the request.

string adClientId

Ad client to which the new custom channel will be added.

Returns
Type Description
CustomchannelsResource.InsertRequest

List(string)

List all host custom channels in this AdSense account.

Declaration
public virtual CustomchannelsResource.ListRequest List(string adClientId)
Parameters
Type Name Description
string adClientId

Ad client for which to list custom channels.

Returns
Type Description
CustomchannelsResource.ListRequest

Patch(CustomChannel, string, string)

Update a custom channel in the host AdSense account. This method supports patch semantics.

Declaration
public virtual CustomchannelsResource.PatchRequest Patch(CustomChannel body, string adClientId, string customChannelId)
Parameters
Type Name Description
CustomChannel body

The body of the request.

string adClientId

Ad client in which the custom channel will be updated.

string customChannelId

Custom channel to get.

Returns
Type Description
CustomchannelsResource.PatchRequest

Update(CustomChannel, string)

Update a custom channel in the host AdSense account.

Declaration
public virtual CustomchannelsResource.UpdateRequest Update(CustomChannel body, string adClientId)
Parameters
Type Name Description
CustomChannel body

The body of the request.

string adClientId

Ad client in which the custom channel will be updated.

Returns
Type Description
CustomchannelsResource.UpdateRequest
In this article
Back to top Generated by DocFX