Class PlacementGroupsResource.ListRequest
Retrieves a list of placement groups, possibly filtered. This method supports paging.
Inheritance
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class PlacementGroupsResource.ListRequest : DfareportingBaseServiceRequest<PlacementGroupsListResponse>, IClientServiceRequest<PlacementGroupsListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, long)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long profileId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| long | profileId |
Properties
ActiveStatus
Select only placements with these active statuses.
Declaration
[RequestParameter("activeStatus", RequestParameterType.Query)]
public virtual PlacementGroupsResource.ListRequest.ActiveStatusEnum? ActiveStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| PlacementGroupsResource.ListRequest.ActiveStatusEnum? |
Remarks
Use this property to set a single value for the parameter, or ActiveStatusList to set multiple values. Do not set both properties.
ActiveStatusList
Select only placements with these active statuses.
Declaration
[RequestParameter("activeStatus", RequestParameterType.Query)]
public virtual Repeatable<PlacementGroupsResource.ListRequest.ActiveStatusEnum> ActiveStatusList { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<PlacementGroupsResource.ListRequest.ActiveStatusEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and ActiveStatus.
AdvertiserIds
Select only placement groups that belong to these advertisers.
Declaration
[RequestParameter("advertiserIds", RequestParameterType.Query)]
public virtual Repeatable<string> AdvertiserIds { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
CampaignIds
Select only placement groups that belong to these campaigns.
Declaration
[RequestParameter("campaignIds", RequestParameterType.Query)]
public virtual Repeatable<string> CampaignIds { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
ContentCategoryIds
Select only placement groups that are associated with these content categories.
Declaration
[RequestParameter("contentCategoryIds", RequestParameterType.Query)]
public virtual Repeatable<string> ContentCategoryIds { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
DirectorySiteIds
Select only placement groups that are associated with these directory sites.
Declaration
[RequestParameter("directorySiteIds", RequestParameterType.Query)]
public virtual Repeatable<string> DirectorySiteIds { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Ids
Select only placement groups with these IDs.
Declaration
[RequestParameter("ids", RequestParameterType.Query)]
public virtual Repeatable<string> Ids { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
MaxEndDate
Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd".
Declaration
[RequestParameter("maxEndDate", RequestParameterType.Query)]
public virtual string MaxEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxResults
Maximum number of results to return.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MaxStartDate
Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd".
Declaration
[RequestParameter("maxStartDate", RequestParameterType.Query)]
public virtual string MaxStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MinEndDate
Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd".
Declaration
[RequestParameter("minEndDate", RequestParameterType.Query)]
public virtual string MinEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MinStartDate
Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd".
Declaration
[RequestParameter("minStartDate", RequestParameterType.Query)]
public virtual string MinStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageToken
Value of the nextPageToken from the previous result page.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlacementGroupType
Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.
Declaration
[RequestParameter("placementGroupType", RequestParameterType.Query)]
public virtual PlacementGroupsResource.ListRequest.PlacementGroupTypeEnum? PlacementGroupType { get; set; }
Property Value
| Type | Description |
|---|---|
| PlacementGroupsResource.ListRequest.PlacementGroupTypeEnum? |
PlacementStrategyIds
Select only placement groups that are associated with these placement strategies.
Declaration
[RequestParameter("placementStrategyIds", RequestParameterType.Query)]
public virtual Repeatable<string> PlacementStrategyIds { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
PricingTypes
Select only placement groups with these pricing types.
Declaration
[RequestParameter("pricingTypes", RequestParameterType.Query)]
public virtual PlacementGroupsResource.ListRequest.PricingTypesEnum? PricingTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| PlacementGroupsResource.ListRequest.PricingTypesEnum? |
Remarks
Use this property to set a single value for the parameter, or PricingTypesList to set multiple values. Do not set both properties.
PricingTypesList
Select only placement groups with these pricing types.
Declaration
[RequestParameter("pricingTypes", RequestParameterType.Query)]
public virtual Repeatable<PlacementGroupsResource.ListRequest.PricingTypesEnum> PricingTypesList { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<PlacementGroupsResource.ListRequest.PricingTypesEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and PricingTypes.
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
| Type | Description |
|---|---|
| long |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
SearchString
Allows searching for placement groups by name or ID. Wildcards () are allowed. For example, "placement2015" will return placement groups with names like "placement group June 2015", "placement group May 2015", or simply "placements 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placementgroup" will match placement groups with name "my placementgroup", "placementgroup 2015", or simply "placementgroup".
Declaration
[RequestParameter("searchString", RequestParameterType.Query)]
public virtual string SearchString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SiteIds
Select only placement groups that are associated with these sites.
Declaration
[RequestParameter("siteIds", RequestParameterType.Query)]
public virtual Repeatable<string> SiteIds { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
SortField
Field by which to sort the list.
Declaration
[RequestParameter("sortField", RequestParameterType.Query)]
public virtual PlacementGroupsResource.ListRequest.SortFieldEnum? SortField { get; set; }
Property Value
| Type | Description |
|---|---|
| PlacementGroupsResource.ListRequest.SortFieldEnum? |
SortOrder
Order of sorted results.
Declaration
[RequestParameter("sortOrder", RequestParameterType.Query)]
public virtual PlacementGroupsResource.ListRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| PlacementGroupsResource.ListRequest.SortOrderEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()