Class CustomchannelsResource
The "customchannels" collection of methods.
Inherited Members
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 |
---|---|---|
IClient |
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 |
---|---|
Customchannels |
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 |
---|---|
Customchannels |
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 |
---|---|---|
Custom |
body | The body of the request. |
string | adClientId | Ad client to which the new custom channel will be added. |
Returns
Type | Description |
---|---|
Customchannels |
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 |
---|---|
Customchannels |
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 |
---|---|---|
Custom |
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 |
---|---|
Customchannels |
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 |
---|---|---|
Custom |
body | The body of the request. |
string | adClientId | Ad client in which the custom channel will be updated. |
Returns
Type | Description |
---|---|
Customchannels |