Class AccountsResource.MediationGroupsResource.ListRequest
List mediation groups under the specified AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
Inheritance
Inherited Members
Namespace: Google.Apis.AdMob.v1beta
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class AccountsResource.MediationGroupsResource.ListRequest : AdMobBaseServiceRequest<ListMediationGroupsResponse>, IClientServiceRequest<ListMediationGroupsResponse>, 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 fields to filter by are: -
"AD_SOURCE_IDS" - "AD_UNIT_IDS" - "APP_IDS" - "DISPLAY_NAME" - "FORMAT" - "MEDIATION_GROUP_ID" -
"PLATFORM" - "STATE" - "TARGETED_REGION_CODES" Possible filter functions are: - IN
: Used to filter
fields that represent a singleton including "MEDIATION_GROUP_ID", "DISPLAY_NAME", "STATE",
"PLATFORM", and "FORMAT". - CONTAINS_ANY
: Used to filter fields that represent a collection
including "AD_SOURCE_IDS", "AD_UNIT_IDS", "APP_IDS", and "TARGETED_REGION_CODES". The filter
functions can be added together using AND
. OR
functionality is not supported. Example: filter:
IN(DISPLAY_NAME, "Test Group 1", "Test Group 2") AND IN(PLATFORM, "ANDROID") AND
CONTAINS_ANY(AD_SOURCE_IDS, "5450213213286189855")
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 mediation groups to return. If unspecified or 0, at most 10,000 mediation groups will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The value returned by the last ListMediationGroupsResponse
; indicates that this is a continuation
of a prior ListMediationGroups
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 mediation groups 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()