REST Resource: advertisers.locationLists

资源:LocationList

用于定位的地理位置列表。

JSON 表示法
{
  "name": string,
  "locationListId": string,
  "displayName": string,
  "locationType": enum (TargetingLocationType),
  "advertiserId": string
}
字段
name

string

仅供输出。营业地点列表的资源名称。

locationListId

string (int64 format)

仅供输出。地理位置列表的唯一 ID。由系统分配。

displayName

string

必需。营业地点列表的显示名称。必须采用 UTF-8 编码,大小上限为 240 个字节。

locationType

enum (TargetingLocationType)

必需。不可变。地理位置的类型。列表中的所有营业地点均属于此类型。

advertiserId

string (int64 format)

必需。不可变。地理位置列表所属广告客户的唯一 ID。

TargetingLocationType

定位地理位置的类型。

枚举
TARGETING_LOCATION_TYPE_UNSPECIFIED 未指定类型或类型未知时的默认值。
TARGETING_LOCATION_TYPE_PROXIMITY 邻近区域地理位置的类型。
TARGETING_LOCATION_TYPE_REGIONAL 区域地理位置的类型。

方法

create

创建新的地理位置列表。

get

获取位置列表。

list

根据指定广告客户 ID 列出地理位置列表。

patch

更新地理位置列表。