標籤
標籤。
可以一併選取上述資源中的欄位和這個項目
加入 SELECT 與 WHERE 子句中。這些欄位不會區隔
SELECT
子句中的指標
label.id |
欄位說明 | 標籤的 ID。唯讀。 |
類別 | ATTRIBUTE |
資料類型 | INT64 |
輸入網址 | N/A |
是否可篩選 | 是 |
可選取 | 是 |
可排序 | 是 |
重複 | 否 |
|
label.name |
欄位說明 | 標籤名稱。這是必填欄位,請勿在建立新標籤時留空。此字串長度必須介於 1 到 80 (含) 個字元之間。 |
類別 | ATTRIBUTE |
資料類型 | STRING |
輸入網址 | N/A |
是否可篩選 | 是 |
可選取 | 是 |
可排序 | 是 |
重複 | 否 |
|
label.resource_name |
欄位說明 | 資源名稱。標籤資源名稱的格式為:customers/{customer_id}/labels/{label_id} |
類別 | ATTRIBUTE |
資料類型 | RESOURCE_NAME |
輸入網址 | N/A |
是否可篩選 | 是 |
可選取 | 是 |
可排序 | 否 |
重複 | 否 |
|
label.status |
欄位說明 | 標籤的狀態。唯讀。 |
類別 | ATTRIBUTE |
資料類型 |
ENUM
ENABLED REMOVED UNKNOWN UNSPECIFIED
|
輸入網址 | google.ads.searchads360.v0.enums.LabelStatusEnum.LabelStatus |
是否可篩選 | 是 |
可選取 | 是 |
可排序 | 是 |
重複 | 否 |
|
label.text_label.background_color |
欄位說明 | 標籤的背景顏色 (十六進位格式)。這個字串必須符合規則運算式 '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'。注意:管理員帳戶可能不會顯示背景顏色。 |
類別 | ATTRIBUTE |
資料類型 | STRING |
輸入網址 | N/A |
是否可篩選 | 是 |
可選取 | 是 |
可排序 | 是 |
重複 | 否 |
|
label.text_label.description |
欄位說明 | 標籤的簡短說明。長度不可超過 200 個半形字元。 |
類別 | ATTRIBUTE |
資料類型 | STRING |
輸入網址 | N/A |
是否可篩選 | 是 |
可選取 | 是 |
可排序 | 是 |
重複 | 否 |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-07-31 (世界標準時間)。
[null,null,["上次更新時間:2024-07-31 (世界標準時間)。"],[[["The Label resource allows you to define and apply labels to different entities within your Search Ads 360 account, such as campaigns, ad groups, and keywords, for organizational purposes."],["You can retrieve information about labels, including their ID, name, status, and associated color and description if defined as a text label, using the fields outlined in the table."],["These fields can be used for filtering and sorting data in your queries, enabling you to segment and analyze data based on label assignments without affecting the aggregation of metrics."],["Note that the background color for text labels might not be visible in manager accounts."]]],["The provided content describes the attributes of a \"label\" resource, which can be used in queries with the `customer` resource. Key label attributes include: `id` (read-only), `name` (required on creation, 1-80 characters), `resource_name` (specific format), `status` (read-only), `background_color` (HEX format), and `description` (max 200 characters). Each attribute has associated details such as data type, filtering, and sorting capabilities. Fields from the `customer` resource can be used in `SELECT` and `WHERE` clauses, but will not segment the metrics.\n"]]