标签
标签。
可以选择以上资源中的字段以及此名称
SELECT 和 WHERE 子句中使用的资源。这些字段不会细分
使用 SELECT
子句。
label.id |
字段说明 | 标签的 ID。只读。 |
类别 | ATTRIBUTE |
数据类型 | INT64 |
输入网址 | N/A |
可过滤 | 正确 |
可选择 | 正确 |
Sortable | 正确 |
重复 | 错误 |
|
label.name |
字段说明 | 标签的名称。此字段为必填字段,在创建新标签时不应为空。此字符串的长度应介于 1 到 80 之间(包括 1 和 80)。 |
类别 | ATTRIBUTE |
数据类型 | STRING |
输入网址 | N/A |
可过滤 | 正确 |
可选择 | 正确 |
Sortable | 正确 |
重复 | 错误 |
|
label.resource_name |
字段说明 | 资源的名称。标签资源名称采用以下格式:customers/{customer_id}/labels/{label_id} |
类别 | ATTRIBUTE |
数据类型 | RESOURCE_NAME |
输入网址 | N/A |
可过滤 | 正确 |
可选择 | 正确 |
Sortable | 错误 |
重复 | 错误 |
|
label.status |
字段说明 | 标签的状态。只读。 |
类别 | ATTRIBUTE |
数据类型 |
ENUM
ENABLED REMOVED UNKNOWN UNSPECIFIED
|
输入网址 | google.ads.searchads360.v0.enums.LabelStatusEnum.LabelStatus |
可过滤 | 正确 |
可选择 | 正确 |
Sortable | 正确 |
重复 | 错误 |
|
label.text_label.background_color |
字段说明 | 十六进制格式的标签的背景颜色。此字符串必须与正则表达式“^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$”匹配。注意:经理账号可能无法看到背景颜色。 |
类别 | ATTRIBUTE |
数据类型 | STRING |
输入网址 | N/A |
可过滤 | 正确 |
可选择 | 正确 |
Sortable | 正确 |
重复 | 错误 |
|
label.text_label.description |
字段说明 | 标签的简短说明。长度不得超过 200 个字符。 |
类别 | ATTRIBUTE |
数据类型 | STRING |
输入网址 | N/A |
可过滤 | 正确 |
可选择 | 正确 |
Sortable | 正确 |
重复 | 错误 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-07-31。
[null,null,["最后更新时间 (UTC):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"]]