AI-generated Key Takeaways
-
A LocationList is a resource used for targeting, containing a list of locations.
-
A LocationList includes fields such as name, locationListId, displayName, locationType, and advertiserId.
-
TargetingLocationType defines the type of targeting location, such as proximity or regional.
-
Available methods for LocationLists include create, get, list, and patch.
Resource: LocationList
A list of locations used for targeting.
| JSON representation |
|---|
{
"name"
:
string
,
"locationListId"
:
string
,
"displayName"
:
string
,
"locationType"
:
enum (
|
| Fields | |
|---|---|
name
|
Output only. The resource name of the location list. |
locationListId
|
Output only. The unique ID of the location list. Assigned by the system. |
displayName
|
Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes. |
locationType
|
Required. Immutable. The type of location. All locations in the list will share this type. |
advertiserId
|
Required. Immutable. The unique ID of the advertiser the location list belongs to. |
TargetingLocationType
Type of a targeting location.
| Enums | |
|---|---|
TARGETING_LOCATION_TYPE_UNSPECIFIED
|
Default value when type is not specified or is unknown. |
TARGETING_LOCATION_TYPE_PROXIMITY
|
The type for proximity geo location. |
TARGETING_LOCATION_TYPE_REGIONAL
|
The type for regional geo location. |
Methods |
|
|---|---|
|
Creates a new location list. |
|
Gets a location list. |
|
Lists location lists based on a given advertiser id. |
|
Updates a location list. |

