Retrieves a list of inventory items, possibly filtered. This method supports paging.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/inventoryItems
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
profileId |
User profile ID associated with this request. |
projectId |
Project ID for order documents. |
Query parameters
Parameters | |
---|---|
ids[] |
Select only inventory items with these IDs. |
maxResults |
Maximum number of results to return. |
inPlan |
Select only inventory items that are in plan. |
orderId[] |
Select only inventory items that belong to specified orders. |
type |
Select only inventory items with this type. |
pageToken |
Value of the
from the previous result page. |
siteId[] |
Select only inventory items that are associated with these sites. |
sortField |
Field by which to sort the list. |
sortOrder |
Order of sorted results. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Inventory item accountPermissionGroups.list Response
JSON representation | |
---|---|
{
"kind": string,
"nextPageToken": string,
"inventoryItems": [
{
object ( |
Fields | |
---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
nextPageToken |
Pagination token to be used for the next list operation. |
inventoryItems[] |
Inventory item collection |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking
Type
Enums | |
---|---|
PLANNING_PLACEMENT_TYPE_REGULAR |
|
PLANNING_PLACEMENT_TYPE_CREDIT |
SortField
Enums | |
---|---|
ID |
|
NAME |
SortOrder
Enums | |
---|---|
ASCENDING |
|
DESCENDING |