Method: inventorySources.get

  • Display & Video 360 API v3 has sunset; use v4 instead.

  • This content details how to get an inventory source using the v3 API, despite its sunset status.

  • The method requires specific path and query parameters, including the inventory source ID and partner ID.

  • The request body should be empty and a successful response returns an InventorySource instance.

  • Access requires the https://www.googleapis.com/auth/display-video authorization scope.

Gets an inventory source.

HTTP request

GET https://displayvideo.googleapis.com/v3/inventorySources/{inventorySourceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
inventorySourceId

string (int64 format)

Required. The ID of the inventory source to fetch.

Query parameters

Parameters
partnerId

string (int64 format)

Required. The ID of the DV360 partner to which the fetched inventory source is permissioned.

advertiserId

string (int64 format)

Optional. The ID of the DV360 advertiser to which the fetched inventory source is permissioned.

If the user only has access to the advertiser and not the parent partner, use this field to specify the relevant advertiser.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.