Class CustomchannelsResource.InsertRequest
Add a new custom channel to the host AdSense account.
Inheritance
CustomchannelsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.AdSenseHost.v4_1
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class CustomchannelsResource.InsertRequest : AdSenseHostBaseServiceRequest<CustomChannel>, IClientServiceRequest<CustomChannel>, IClientServiceRequest
Constructors
InsertRequest(IClientService, CustomChannel, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, CustomChannel body, string adClientId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CustomChannel | body | |
string | adClientId |
Properties
AdClientId
Ad client to which the new custom channel will be added.
Declaration
[RequestParameter("adClientId", RequestParameterType.Path)]
public virtual string AdClientId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSenseHost.v4_1.Data.CustomChannel>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSenseHost.v4_1.Data.CustomChannel>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSenseHost.v4_1.Data.CustomChannel>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSenseHost.v4_1.Data.CustomChannel>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()