A partir del 8 de septiembre de 2025, cada elemento de la línea nuevo deberá declarar si publicará anuncios políticos de la Unión Europea (UE). Las cargas de la API de Display & Video 360 y del SDF que no proporcionen declaraciones fallarán. Consulta nuestra página de bajas para obtener más detalles sobre cómo actualizar tu integración y realizar esta declaración.
Una asignación entre una lista de ubicaciones y una opción de segmentación relevante. Actualmente, las opciones de segmentación por región geográfica son la única opción admitida para las asignaciones.
Solo salida. El ID único de la ubicación asignada. El ID solo es único dentro de una lista de ubicaciones. Es posible que se reutilice en otros contextos.
targetingOptionId
string
Obligatorio. Indica el ID de la opción de segmentación asignada a la lista de ubicaciones. Debe ser del tipo TARGETING_TYPE_GEO_REGION.
[null,null,["Última actualización: 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. |"]]