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 |
區域地理位置的類型。 |
方法 |
|
建立新的地點清單。 |
|
取得位置清單。 |
|
根據指定廣告主 ID 列出位置清單。 |
|
更新位置清單。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-07 (世界標準時間)。
[null,null,["上次更新時間:2024-11-07 (世界標準時間)。"],[[["LocationList is a resource used for targeting and is a list of locations."],["Each LocationList has a name, ID, display name, location type, and advertiser ID."],["There are three types of targeting location types: unspecified, proximity, and regional."],["You can manage LocationLists through methods like creating, getting, listing, and updating them."]]],["Location lists, used for targeting, are identified by a unique ID and contain a display name, location type (proximity or regional), and the associated advertiser ID. The location type is immutable. Available actions include creating, retrieving (get), listing, and updating (patch) location lists. Each list contains location data with attributes like `name`, `displayName`, `locationType`, and `advertiserId` which is necessary when creating one.\n"]]