class InventoryItems extends Resource (View source)

The "inventoryItems" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $inventoryItems = $dfareportingService->inventoryItems;

Methods

get(string $profileId, string $projectId, string $id, array $optParams = [])

Gets one inventory item by ID. (inventoryItems.get)

listInventoryItems(string $profileId, string $projectId, array $optParams = [])

Retrieves a list of inventory items, possibly filtered. This method supports paging. (inventoryItems.listInventoryItems)

Details

InventoryItem get(string $profileId, string $projectId, string $id, array $optParams = [])

Gets one inventory item by ID. (inventoryItems.get)

Parameters

string $profileId

User profile ID associated with this request.

string $projectId

Project ID for order documents.

string $id

Inventory item ID.

array $optParams

Optional parameters.

Return Value

InventoryItem

Exceptions

Exception

InventoryItemsListResponse listInventoryItems(string $profileId, string $projectId, array $optParams = [])

Retrieves a list of inventory items, possibly filtered. This method supports paging. (inventoryItems.listInventoryItems)

Parameters

string $profileId

User profile ID associated with this request.

string $projectId

Project ID for order documents.

array $optParams

Optional parameters.

Return Value

InventoryItemsListResponse

Exceptions

Exception