AI-generated Key Takeaways
-
Display & Video 360 API v2 has sunset.
-
The AssignedLocation resource represents an assignment between a location list and a relevant targeting option, currently only supporting geo region targeting options.
-
AssignedLocation objects have fields for name, assignedLocationId, and targetingOptionId, with
assignedLocationId
andname
being output only. -
The
targetingOptionId
field is required and must be of typeTARGETING_TYPE_GEO_REGION
for creating or deleting assigned locations in regional location lists. -
Methods available for AssignedLocation include
bulkEdit
,create
,delete
, andlist
.
Resource: AssignedLocation
An assignment between a location list and a relevant targeting option. Currently, geo region targeting options are the only supported option for assignment.
JSON representation |
---|
{ "name": string, "assignedLocationId": string, "targetingOptionId": string } |
Fields | |
---|---|
name |
Output only. The resource name of the assigned location. |
assignedLocationId |
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. |
targetingOptionId |
Required. The ID of the targeting option assigned to the location list. Assigned locations can only be modified in |
Methods |
|
---|---|
|
Bulk edits multiple assignments between locations and a single location list. |
|
Creates an assignment between a location and a location list. |
|
Deletes the assignment between a location and a location list. |
|
Lists locations assigned to a location list. |