В каждой новой позиции необходимо указать, будет ли в ней показываться политическая реклама Европейского союза (ЕС). Загрузка через Display & Video 360 API и SDF без таких указаний невозможна. Подробнее см. на странице «Устаревшие» .
Необязательно. Идентификатор рекламодателя DV360, которому разрешен доступ к выбранному источнику инвентаря.
Если у пользователя есть доступ только к рекламодателю, но не к родительскому партнеру, используйте это поле для указания соответствующего рекламодателя.
Текст запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр InventorySource .
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-09-09 UTC."],[[["\u003cp\u003eRetrieves a specific inventory source using its unique ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the partner ID to which the inventory source is associated.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, you can provide the advertiser ID for more targeted access.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP GET request with path and query parameters for resource identification.\u003c/p\u003e\n"],["\u003cp\u003eIf successful, the response provides detailed information about the inventory source.\u003c/p\u003e\n"]]],["This document details how to retrieve an inventory source using a GET request. The request URL is `https://displayvideo.googleapis.com/v3/inventorySources/{inventorySourceId}`. The `inventorySourceId` path parameter and `partnerId` query parameter are required. An optional `advertiserId` query parameter is available. The request body must be empty. A successful response will include an `InventorySource` instance. This action requires the `https://www.googleapis.com/auth/display-video` authorization scope.\n"],null,["| Display \\& Video 360 API v3 is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets an inventory source.\n\nHTTP request\n\n`GET https://displayvideo.googleapis.com/v3/inventorySources/{inventorySourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the inventory source to fetch. |\n\nQuery parameters\n\n| Parameters ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the DV360 partner to which the fetched inventory source is permissioned. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` 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. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body contains an instance of [InventorySource](/display-video/api/reference/rest/v3/inventorySources#InventorySource).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]