À partir du 8 septembre 2025, chaque nouvelle ligne devra indiquer si elle diffusera ou non des annonces à caractère politique dans l'Union européenne (UE). Les importations de fichiers SDF et les appels à l'API Display & Video 360 qui ne fournissent pas de déclarations échoueront. Pour savoir comment mettre à jour votre intégration afin d'effectuer cette déclaration, consultez notre page sur les abandons de compatibilité.
Uniquement en sortie. Identifiant unique de la source d'inventaire attribuée. L'ID n'est unique que dans un groupe de sources d'inventaire donné. Il peut être réutilisé dans d'autres contextes.
inventorySourceId
string
Obligatoire. ID de l'entité de source d'inventaire ciblée.
Répertorie les sources d'inventaire attribuées à un groupe de sources d'inventaire.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 2025/07/25 (UTC)."],[[["\u003cp\u003eAn AssignedInventorySource resource represents the connection between a targetable inventory source and an inventory source group.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields like name, assignedInventorySourceId, and inventorySourceId which provide identifying and relational information.\u003c/p\u003e\n"],["\u003cp\u003eKey methods allow for bulk editing, creating, deleting, and listing assignments between inventory sources and inventory source groups, offering flexibility in managing these relationships.\u003c/p\u003e\n"]]],["The content details the `AssignedInventorySource`, which links a targetable inventory source to an inventory source group. It includes a JSON representation with fields: `name` (resource name), `assignedInventorySourceId` (unique ID), and `inventorySourceId` (targeted inventory source ID). Four methods are available: `bulkEdit` (multiple assignments), `create` (new assignment), `delete` (remove assignment), and `list` (view assigned sources). The core actions involve managing assignments between inventory sources and groups.\n"],null,["# REST Resource: inventorySourceGroups.assignedInventorySources\n\n| Display \\& Video 360 API 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- [Resource: AssignedInventorySource](#AssignedInventorySource)\n - [JSON representation](#AssignedInventorySource.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AssignedInventorySource\n---------------------------------\n\nAn assignment between a targetable inventory source and an inventory source group.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"assignedInventorySourceId\": string, \"inventorySourceId\": string } ``` |\n\n| Fields ||\n|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the assigned inventory source. |\n| `assignedInventorySourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts. |\n| `inventorySourceId` | `string` Required. The ID of the inventory source entity being targeted. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| ### [bulkEdit](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/bulkEdit) | Bulk edits multiple assignments between inventory sources and a single inventory source group. |\n| ### [create](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/create) | Creates an assignment between an inventory source and an inventory source group. |\n| ### [delete](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/delete) | Deletes the assignment between an inventory source and an inventory source group. |\n| ### [list](/display-video/api/reference/rest/v3/inventorySourceGroups.assignedInventorySources/list) | Lists inventory sources assigned to an inventory source group. |"]]