Show / Hide Table of Contents

Class AccountsResource.AdclientsResource.CustomchannelsResource

The "customchannels" collection of methods.

Inheritance
object
AccountsResource.AdclientsResource.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.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AccountsResource.AdclientsResource.CustomchannelsResource

Constructors

CustomchannelsResource(IClientService)

Constructs a new resource.

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

Methods

Create(CustomChannel, string)

Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by AdSense for Platforms publishers. Contact your account manager if you need to use this method.

Declaration
public virtual AccountsResource.AdclientsResource.CustomchannelsResource.CreateRequest Create(CustomChannel body, string parent)
Parameters
Type Name Description
CustomChannel body

The body of the request.

string parent

Required. The ad client to create a custom channel under. Format: accounts/{account}/adclients/{adclient}

Returns
Type Description
AccountsResource.AdclientsResource.CustomchannelsResource.CreateRequest

Delete(string)

Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by AdSense for Platforms publishers. Contact your account manager if you need to use this method.

Declaration
public virtual AccountsResource.AdclientsResource.CustomchannelsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the custom channel to delete. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}

Returns
Type Description
AccountsResource.AdclientsResource.CustomchannelsResource.DeleteRequest

Get(string)

Gets information about the selected custom channel.

Declaration
public virtual AccountsResource.AdclientsResource.CustomchannelsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}

Returns
Type Description
AccountsResource.AdclientsResource.CustomchannelsResource.GetRequest

List(string)

Lists all the custom channels available in an ad client.

Declaration
public virtual AccountsResource.AdclientsResource.CustomchannelsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The ad client which owns the collection of custom channels. Format: accounts/{account}/adclients/{adclient}

Returns
Type Description
AccountsResource.AdclientsResource.CustomchannelsResource.ListRequest

ListLinkedAdUnits(string)

Lists all the ad units available for a custom channel.

Declaration
public virtual AccountsResource.AdclientsResource.CustomchannelsResource.ListLinkedAdUnitsRequest ListLinkedAdUnits(string parent)
Parameters
Type Name Description
string parent

Required. The custom channel which owns the collection of ad units. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}

Returns
Type Description
AccountsResource.AdclientsResource.CustomchannelsResource.ListLinkedAdUnitsRequest

Patch(CustomChannel, string)

Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by AdSense for Platforms publishers. Contact your account manager if you need to use this method.

Declaration
public virtual AccountsResource.AdclientsResource.CustomchannelsResource.PatchRequest Patch(CustomChannel body, string name)
Parameters
Type Name Description
CustomChannel body

The body of the request.

string name

Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}

Returns
Type Description
AccountsResource.AdclientsResource.CustomchannelsResource.PatchRequest
In this article
Back to top Generated by DocFX