AI-generated Key Takeaways
-
AssignedLocation resource represents an assignment between a location list and a targeting option, allowing advertisers to target specific locations.
-
It includes fields like
name
,assignedLocationId
, andtargetingOptionId
to manage the assignments. -
You can manage AssignedLocations using methods like
bulkEdit
,create
,delete
, andlist
to modify and retrieve assignments. -
These methods provide functionality to edit multiple assignments, create new ones, remove existing ones, and retrieve a list of locations assigned to a specific list.
Resource: AssignedLocation
An assignment between a location list and a relevant targeting option.
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. |
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. |