Show / Hide Table of Contents

Class AdunitsResource.ListRequest

List all ad units in the specified ad client for this AdSense account.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<AdUnits>
AdSenseBaseServiceRequest<AdUnits>
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)

Constructs a new List request.

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

Properties

AdClientId

Ad client for which to list ad units.

Declaration
[RequestParameter("adClientId", RequestParameterType.Path)]
public virtual string AdClientId { 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