Class UrlchannelsResource.InsertRequest
Add a new URL channel to the host AdSense account.
Inheritance
UrlchannelsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.AdSenseHost.v4_1
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class UrlchannelsResource.InsertRequest : AdSenseHostBaseServiceRequest<UrlChannel>, IClientServiceRequest<UrlChannel>, IClientServiceRequest
Constructors
InsertRequest(IClientService, UrlChannel, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, UrlChannel body, string adClientId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UrlChannel | body | |
string | adClientId |
Properties
AdClientId
Ad client to which the new URL 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.UrlChannel>.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.UrlChannel>.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.UrlChannel>.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.UrlChannel>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()