Class AccountsResource.CampaignsResource.ListRequest
List the campaigns under the specified AdMob account.
Inheritance
Inherited Members
Namespace: Google.Apis.AdMob.v1beta
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class AccountsResource.CampaignsResource.ListRequest : AdMobBaseServiceRequest<ListCampaignsResponse>, IClientServiceRequest<ListCampaignsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
The filter string that uses EBNF grammar
syntax. Possible field to filter by is: -
"CAMPAIGN_GOAL_TYPE" Possible filter function is: - IN
: Used to filter fields that represent a
singleton including "CAMPAIGN_GOAL_TYPE". The filter functions can be added together using AND
.
OR
functionality is not supported. Example: filter: IN(CAMPAIGN_GOAL_TYPE, "NUMBER_OF_CLICKS",
"MEDIATED_ADS")
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of campaigns to return.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The value returned by the last ListCampaignsResponse
; indicates that this is a continuation of a
prior ListGoogleBiddingAdUnits
call, and that the system should return the next page of data.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Resource name of the account to list campaigns for. Example: accounts/pub-9876543210987654
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()