Method: inventoryItems.list

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

string (int64 format)

User profile ID associated with this request.

projectId

string (int64 format)

Project ID for order documents.

Query parameters

Parameters
ids[]

string (int64 format)

Select only inventory items with these IDs.

maxResults

integer

Maximum number of results to return.

inPlan

boolean

Select only inventory items that are in plan.

orderId[]

string (int64 format)

Select only inventory items that belong to specified orders.

type

enum (Type)

Select only inventory items with this type.

pageToken

string

Value of the

nextPageToken

from the previous result page.

siteId[]

string (int64 format)

Select only inventory items that are associated with these sites.

sortField

enum (SortField)

Field by which to sort the list.

sortOrder

enum (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 (InventoryItem)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#inventoryItemsListResponse"

.

nextPageToken

string

Pagination token to be used for the next list operation.

inventoryItems[]

object (InventoryItem)

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