Method: inventoryItems.get

  • Retrieves a single inventory item using its unique ID within a specified project and user profile.

  • Utilizes an HTTP GET request with path parameters for profile ID, project ID, and inventory item ID.

  • Requires an empty request body and returns the inventory item details in the response if successful.

  • Needs authorization with the https://www.googleapis.com/auth/dfatrafficking scope.

Gets one inventory item by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}

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.

id

string (int64 format)

Inventory item ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of InventoryItem.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking