Show / Hide Table of Contents

Class PlacementsResource.ListRequest

Retrieves a list of placements, possibly filtered. This method supports paging.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<PlacementsListResponse>
DfareportingBaseServiceRequest<PlacementsListResponse>
PlacementsResource.ListRequest
Implements
Google.Apis.Requests.IClientServiceRequest<PlacementsListResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DfareportingBaseServiceRequest<PlacementsListResponse>.Xgafv
DfareportingBaseServiceRequest<PlacementsListResponse>.AccessToken
DfareportingBaseServiceRequest<PlacementsListResponse>.Alt
DfareportingBaseServiceRequest<PlacementsListResponse>.Callback
DfareportingBaseServiceRequest<PlacementsListResponse>.Fields
DfareportingBaseServiceRequest<PlacementsListResponse>.Key
DfareportingBaseServiceRequest<PlacementsListResponse>.OauthToken
DfareportingBaseServiceRequest<PlacementsListResponse>.PrettyPrint
DfareportingBaseServiceRequest<PlacementsListResponse>.QuotaUser
DfareportingBaseServiceRequest<PlacementsListResponse>.UploadType
DfareportingBaseServiceRequest<PlacementsListResponse>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class ListRequest : DfareportingBaseServiceRequest<PlacementsListResponse>, IClientServiceRequest<PlacementsListResponse>, 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 placements 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 placements 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>

Compatibilities

Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.

Declaration
[RequestParameter("compatibilities", RequestParameterType.Query)]
public virtual PlacementsResource.ListRequest.CompatibilitiesEnum? Compatibilities { get; set; }
Property Value
Type Description
System.Nullable<PlacementsResource.ListRequest.CompatibilitiesEnum>
Remarks

Use this property to set a single value for the parameter, or CompatibilitiesList to set multiple values. Do not set both properties.

CompatibilitiesList

Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.

Declaration
[RequestParameter("compatibilities", RequestParameterType.Query)]
public virtual Repeatable<PlacementsResource.ListRequest.CompatibilitiesEnum> CompatibilitiesList { get; set; }
Property Value
Type Description
Google.Apis.Util.Repeatable<PlacementsResource.ListRequest.CompatibilitiesEnum>
Remarks

Use this property to set one or more values for the parameter. Do not set both this property and Compatibilities.

ContentCategoryIds

Select only placements 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 placements 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>

GroupIds

Select only placements that belong to these placement groups.

Declaration
[RequestParameter("groupIds", RequestParameterType.Query)]
public virtual Repeatable<string> GroupIds { 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.HttpMethod

Ids

Select only placements 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.MethodName

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

PaymentSource

Select only placements with this payment source.

Declaration
[RequestParameter("paymentSource", RequestParameterType.Query)]
public virtual PlacementsResource.ListRequest.PaymentSourceEnum? PaymentSource { get; set; }
Property Value
Type Description
System.Nullable<PlacementsResource.ListRequest.PaymentSourceEnum>

PlacementStrategyIds

Select only placements 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 placements with these pricing types.

Declaration
[RequestParameter("pricingTypes", RequestParameterType.Query)]
public virtual PlacementsResource.ListRequest.PricingTypesEnum? PricingTypes { get; set; }
Property Value
Type Description
System.Nullable<PlacementsResource.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 placements with these pricing types.

Declaration
[RequestParameter("pricingTypes", RequestParameterType.Query)]
public virtual Repeatable<PlacementsResource.ListRequest.PricingTypesEnum> PricingTypesList { get; set; }
Property Value
Type Description
Google.Apis.Util.Repeatable<PlacementsResource.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.RestPath

SearchString

Allows searching for placements by name or ID. Wildcards () are allowed. For example, "placement2015" will return placements with names like "placement June 2015", "placement 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 "placement" will match placements with name "my placement", "placement 2015", or simply "placement" .

Declaration
[RequestParameter("searchString", RequestParameterType.Query)]
public virtual string SearchString { get; set; }
Property Value
Type Description
System.String

SiteIds

Select only placements 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>

SizeIds

Select only placements that are associated with these sizes.

Declaration
[RequestParameter("sizeIds", RequestParameterType.Query)]
public virtual Repeatable<string> SizeIds { 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 PlacementsResource.ListRequest.SortFieldEnum? SortField { get; set; }
Property Value
Type Description
System.Nullable<PlacementsResource.ListRequest.SortFieldEnum>

SortOrder

Order of sorted results.

Declaration
[RequestParameter("sortOrder", RequestParameterType.Query)]
public virtual PlacementsResource.ListRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type Description
System.Nullable<PlacementsResource.ListRequest.SortOrderEnum>

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dfareporting.v3_4.DfareportingBaseServiceRequest<Google.Apis.Dfareporting.v3_4.Data.PlacementsListResponse>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top