Class CustomchannelsResource.AdunitsResource.ListRequest
List all ad units in the specified custom channel.
public class CustomchannelsResource.AdunitsResource.ListRequest : AdSenseBaseServiceRequest<AdUnits>
- Inheritance
-
CustomchannelsResource.AdunitsResource.ListRequest
- Inherited Members
Constructors
ListRequest(IClientService, string, string)
Constructs a new List request.
public ListRequest(IClientService service, string adClientId, string customChannelId)
Parameters
Properties
AdClientId
Ad client which contains the custom channel.
public virtual string AdClientId { get; }
Property Value
CustomChannelId
Custom channel for which to list ad units.
public virtual string CustomChannelId { get; }
Property Value
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
IncludeInactive
Whether to include inactive ad units. Default: true.
public virtual bool? IncludeInactive { get; set; }
Property Value
- bool?
MaxResults
The maximum number of ad units to include in the response, used for paging.
public virtual int? MaxResults { get; set; }
Property Value
- int?
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
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.
public virtual string PageToken { get; set; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
Methods
InitParameters()
Initializes List parameter list.
protected override void InitParameters()