Class PlacementGroupsResource.ListRequest
Retrieves a list of placement groups, possibly filtered. This method supports paging.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class ListRequest : DfareportingBaseServiceRequest<PlacementGroupsListResponse>, IClientServiceRequest<PlacementGroupsListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, Int64)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long profileId)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
System.Int64 | profileId |
Properties
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 |
---|---|
Google.Apis.Util.Repeatable<System.String> |
Archived
Select only archived placements. Don't set this field to select both archived and non-archived placements.
Declaration
[RequestParameter("archived", RequestParameterType.Query)]
public virtual bool? Archived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
Google.Apis.Util.Repeatable<System.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 |
---|---|
Google.Apis.Util.Repeatable<System.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 |
---|---|
Google.Apis.Util.Repeatable<System.String> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
Google.Apis.Util.Repeatable<System.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 |
---|---|
System.String |
MaxResults
Maximum number of results to return.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
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 |
---|---|
System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Nullable<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 |
---|---|
Google.Apis.Util.Repeatable<System.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 |
---|---|
System.Nullable<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 |
---|---|
Google.Apis.Util.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 |
---|---|
System.Int64 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
Google.Apis.Util.Repeatable<System.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 |
---|---|
System.Nullable<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 |
---|---|
System.Nullable<PlacementGroupsResource.ListRequest.SortOrderEnum> |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()