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

更新位置清單。