dfareporting.inventory Items.list
GET {{baseUrl}}/userprofiles/:profileId/projects/:projectId/inventoryItems?ids=<string>&ids=<string>&inPlan=<boolean>&maxResults=<integer>&orderId=<string>&orderId=<string>&pageToken=<string>&siteId=<string>&siteId=<string>&sortField=<string>&sortOrder=<string>&type=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Retrieves a list of inventory items, possibly filtered. This method supports paging.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | Select only inventory items with these IDs. | |
ids | string | Select only inventory items with these IDs. | |
inPlan | string | Select only inventory items that are in plan. | |
maxResults | string | Maximum number of results to return. | |
orderId | string | Select only inventory items that belong to specified orders. | |
orderId | string | Select only inventory items that belong to specified orders. | |
pageToken | string | Value of the nextPageToken from the previous result page. | |
siteId | string | Select only inventory items that are associated with these sites. | |
siteId | string | Select only inventory items that are associated with these sites. | |
sortField | string | Field by which to sort the list. | |
sortOrder | string | Order of sorted results. | |
type | string | Select only inventory items with this type. | |
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
upload_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
RESPONSES
status: OK
{"inventoryItems":[{"accountId":"incididunt","adSlots":[{"comment":"esse nostrud aute labore","compatibility":"IN_STREAM_AUDIO","height":"proident dolore aute consequat","linkedPlacementId":"nisi","name":"quis dolore sed","paymentSourceType":"PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID","primary":true,"width":"ullamco sunt cillum deserunt adipisicing"},{"comment":"nulla laborum non ut tempor","compatibility":"DISPLAY","height":"magna non ullamco","linkedPlacementId":"labore","name":"in","paymentSourceType":"PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID","primary":true,"width":"occaecat in"}],"advertiserId":"esse veniam","contentCategoryId":"ea amet officia","estimatedClickThroughRate":"cillum magna","estimatedConversionRate":"commodo","id":"tempor sint","inPlan":false,"kind":"in ut do proident","lastModifiedInfo":{"time":"in est commodo ullamco"},"name":"proident consectetur","negotiationChannelId":"officia","orderId":"enim irure","placementStrategyId":"laboris ex nisi sint sed","pricing":{"capCostType":"PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY","endDate":"1979-02-09","flights":[{"endDate":"1964-07-28","rateOrCost":"eu commodo amet non","startDate":"1953-02-02","units":"ut"},{"endDate":"1981-01-03","rateOrCost":"deserunt","startDate":"1964-01-31","units":"magna anim"}],"groupType":"PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK","pricingType":"PLANNING_PLACEMENT_PRICING_TYPE_CPM","startDate":"2020-06-02"},"projectId":"proident Excepteur ullamco","rfpId":"Lorem qui Duis eiusmod","siteId":"ipsum nostrud in","subaccountId":"nulla Duis aliqua officia ut","type":"PLANNING_PLACEMENT_TYPE_REGULAR"},{"accountId":"incididunt velit","adSlots":[{"comment":"et Lorem deserunt do","compatibility":"DISPLAY","height":"lab","linkedPlacementId":"laboris qui","name":"occaecat voluptate aute magna","paymentSourceType":"PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID","primary":true,"width":"t"},{"comment":"commodo","compatibility":"IN_STREAM_VIDEO","height":"commodo","linkedPlacementId":"aliqua laboris cupidatat","name":"dolor Excepteur irure dolore tempor","paymentSourceType":"PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID","primary":false,"width":"quis minim eiusmod in"}],"advertiserId":"reprehenderit sit dolor","contentCategoryId":"non eu","estimatedClickThroughRate":"occaecat ea minim quis","estimatedConversionRate":"labore dolor in Lorem est","id":"ut in","inPlan":true,"kind":"sunt cillum Lorem minim esse","lastModifiedInfo":{"time":"in min"},"name":"irure ut","negotiationChannelId":"velit Excepteur deserunt in","orderId":"pariatur cupidatat","placementStrategyId":"sit tempor reprehenderit","pricing":{"capCostType":"PLANNING_PLACEMENT_CAP_COST_TYPE_NONE","endDate":"1985-07-11","flights":[{"endDate":"2019-10-19","rateOrCost":"dolore id","startDate":"1954-07-19","units":"do cupidatat"},{"endDate":"1968-07-31","rateOrCost":"pariatur enim aliquip","startDate":"1992-12-18","units":"Excepteur v"}],"groupType":"PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK","pricingType":"PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW","startDate":"1988-06-29"},"projectId":"et in Ut cillum","rfpId":"aliqua est laboris","siteId":"Excepteur officia nulla sunt","subaccountId":"est quis ea nisi ipsum","type":"PLANNING_PLACEMENT_TYPE_REGULAR"}],"kind":"elit fugiat aute","nextPageToken":"tempor ut"}