Show / Hide Table of Contents

Class AccountsResource.CustomchannelsResource.AdunitsResource.ListRequest

List all ad units in the specified custom channel.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<AdUnits>
AdSenseBaseServiceRequest<AdUnits>
AccountsResource.CustomchannelsResource.AdunitsResource.ListRequest
Implements
IClientServiceRequest<AdUnits>
IClientServiceRequest
Inherited Members
AdSenseBaseServiceRequest<AdUnits>.Alt
AdSenseBaseServiceRequest<AdUnits>.Fields
AdSenseBaseServiceRequest<AdUnits>.Key
AdSenseBaseServiceRequest<AdUnits>.OauthToken
AdSenseBaseServiceRequest<AdUnits>.PrettyPrint
AdSenseBaseServiceRequest<AdUnits>.QuotaUser
AdSenseBaseServiceRequest<AdUnits>.UserIp
ClientServiceRequest<AdUnits>.Execute()
ClientServiceRequest<AdUnits>.ExecuteAsStream()
ClientServiceRequest<AdUnits>.ExecuteAsync()
ClientServiceRequest<AdUnits>.ExecuteAsync(CancellationToken)
ClientServiceRequest<AdUnits>.ExecuteAsStreamAsync()
ClientServiceRequest<AdUnits>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<AdUnits>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<AdUnits>.GenerateRequestUri()
ClientServiceRequest<AdUnits>.GetBody()
ClientServiceRequest<AdUnits>.GetDefaultETagAction(String)
ClientServiceRequest<AdUnits>.ETagAction
ClientServiceRequest<AdUnits>.ModifyRequest
ClientServiceRequest<AdUnits>.RequestParameters
ClientServiceRequest<AdUnits>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AdSense.v1_4
Assembly: Google.Apis.AdSense.v1_4.dll
Syntax
public class ListRequest : AdSenseBaseServiceRequest<AdUnits>, IClientServiceRequest<AdUnits>, IClientServiceRequest

Constructors

ListRequest(IClientService, String, String, String)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string accountId, string adClientId, string customChannelId)
Parameters
Type Name Description
IClientService service
System.String accountId
System.String adClientId
System.String customChannelId

Properties

AccountId

Account to which the ad client belongs.

Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type Description
System.String

AdClientId

Ad client which contains the custom channel.

Declaration
[RequestParameter("adClientId", RequestParameterType.Path)]
public virtual string AdClientId { get; }
Property Value
Type Description
System.String

CustomChannelId

Custom channel for which to list ad units.

Declaration
[RequestParameter("customChannelId", RequestParameterType.Path)]
public virtual string CustomChannelId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnits>.HttpMethod

IncludeInactive

Whether to include inactive ad units. Default: true.

Declaration
[RequestParameter("includeInactive", RequestParameterType.Query)]
public virtual bool? IncludeInactive { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

MaxResults

The maximum number of ad units to include in the response, used for paging.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnits>.MethodName

PageToken

A continuation token, used to page through ad units. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnits>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AdSense.v1_4.AdSenseBaseServiceRequest<Google.Apis.AdSense.v1_4.Data.AdUnits>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top