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.
Es una asignación entre una lista de ubicaciones y una opción de segmentación relevante. Actualmente, las opciones de segmentación geográfica son la única opción admitida para la asignación.
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.
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003eDisplay & Video 360 API v2 is no longer available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAssignedLocation\u003c/code\u003e resource represents an assignment between a location list and a targeting option, currently supporting only geo region targeting.\u003c/p\u003e\n"],["\u003cp\u003eAssigned locations are managed through methods like \u003ccode\u003ebulkEdit\u003c/code\u003e, \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, and \u003ccode\u003elist\u003c/code\u003e within location lists, specifically for regional targeting.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAssignedLocation\u003c/code\u003e objects have a unique ID, a targeting option ID, and can only be modified in regional location lists.\u003c/p\u003e\n"]]],[],null,["# REST Resource: advertisers.locationLists.assignedLocations\n\n| Display \\& Video 360 API v2 has 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. Assigned locations can only be modified in [TARGETING_LOCATION_TYPE_REGIONAL](/display-video/api/reference/rest/v2/advertisers.locationLists#TargetingLocationType.ENUM_VALUES.TARGETING_LOCATION_TYPE_REGIONAL) location lists. When creating or deleting assigned locations, this value must be of type [TARGETING_TYPE_GEO_REGION](/display-video/api/reference/rest/v2/TargetingType#ENUM_VALUES.TARGETING_TYPE_GEO_REGION). |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| ### [bulkEdit](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/bulkEdit) | Bulk edits multiple assignments between locations and a single location list. |\n| ### [create](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/create) | Creates an assignment between a location and a location list. |\n| ### [delete](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/delete) | Deletes the assignment between a location and a location list. |\n| ### [list](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/list) | Lists locations assigned to a location list. |"]]