AI-generated Key Takeaways
-
AssignedLocation represents the assignment of a location list to a targeting option, specifically geo region targeting options.
-
Each AssignedLocation has a unique assignedLocationId within its location list and includes the targetingOptionId it's linked to.
-
Available methods for AssignedLocation include bulk editing, creating, deleting, and listing assignments between locations and location lists.
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. Must be of type |
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. |