À 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é.
Il s'agit d'une attribution entre une liste de zones géographiques et une option de ciblage pertinente. Actuellement, les options de ciblage par zones géographiques sont la seule option acceptée pour l'attribution.
Uniquement en sortie. Identifiant unique de l'établissement attribué. L'ID est unique dans une liste d'établissements. Il peut être réutilisé dans d'autres contextes.
targetingOptionId
string
Obligatoire. ID de l'option de ciblage attribuée à la liste d'emplacements. Doit être de type TARGETING_TYPE_GEO_REGION.
Répertorie les lieux attribués à une liste d'emplacements.
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\u003eDisplay & Video 360 API v1 is no longer supported.\u003c/p\u003e\n"],["\u003cp\u003eAssignedLocation resources manage assignments between location lists and targeting options (currently limited to geo region targeting).\u003c/p\u003e\n"],["\u003cp\u003eYou can create, delete, list, and bulk edit assigned locations using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eAssignedLocations are represented by their name, assigned location ID, and targeting option ID.\u003c/p\u003e\n"]]],[],null,["# REST Resource: advertisers.locationLists.assignedLocations\n\n| Display \\& Video 360 API v1 has been sunset.\n- [Resource: AssignedLocation](#AssignedLocation)\n - [JSON representation](#AssignedLocation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AssignedLocation\n--------------------------\n\nAn assignment between a location list and a relevant targeting option. Currently, geo region targeting options are the only supported option for assignment.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"assignedLocationId\": string, \"targetingOptionId\": string } ``` |\n\n| Fields ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the assigned location. |\n| `assignedLocationId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts. |\n| `targetingOptionId` | `string` Required. The ID of the targeting option assigned to the location list. Must be of type [TARGETING_TYPE_GEO_REGION](/display-video/api/reference/rest/v1/TargetingType#ENUM_VALUES.TARGETING_TYPE_GEO_REGION). |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| ### [bulkEdit](/display-video/api/reference/rest/v1/advertisers.locationLists.assignedLocations/bulkEdit) | Bulk edits multiple assignments between locations and a single location list. |\n| ### [create](/display-video/api/reference/rest/v1/advertisers.locationLists.assignedLocations/create) | Creates an assignment between a location and a location list. |\n| ### [delete](/display-video/api/reference/rest/v1/advertisers.locationLists.assignedLocations/delete) | Deletes the assignment between a location and a location list. |\n| ### [list](/display-video/api/reference/rest/v1/advertisers.locationLists.assignedLocations/list) | Lists locations assigned to a location list. |"]]