API Báo cáo Search Ads 360 mới hiện đã ra mắt. Tham gia nhóm Google
searchads-api-announcements để luôn được cập nhật về những cải tiến và bản phát hành sắp tới.
campaign_effective_label
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[[["\u003cp\u003eThis resource defines the relationship between a campaign and an effective label, which can be either inherited or directly assigned to the campaign.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecampaign_effective_label\u003c/code\u003e resource provides access to the campaign, label, and owner customer ID associated with the effective label.\u003c/p\u003e\n"],["\u003cp\u003eFields from the campaign, customer, and label resources can be selected along with this resource, but they will not segment metrics.\u003c/p\u003e\n"],["\u003cp\u003eThe resource name for CampaignEffectiveLabel follows the format \u003ccode\u003ecustomers/{customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAvailable fields include the assigned effective label, the associated campaign and the customer who owns the effective label.\u003c/p\u003e\n"]]],["This describes the `campaign_effective_label` resource, which links a campaign to an assigned or inherited label. Key information includes the `campaign` and `label` resource names, which represent the campaign and its effective label respectively. The `owner_customer_id` indicates the customer who owns the label. The `resource_name` field provides the complete identifier for the relationship and fields can be selected and filtered but won't segment metrics.\n"],null,["# campaign_effective_label\n\nRepresents a relationship between a campaign and an effective label. An effective label is a label inherited or directly assigned to this campaign.\n\n| Attributed resources |\n|--------------------------------------------------------------------|\n| [campaign](/search-ads/reporting/api/reference/fields/v0/campaign) |\n| [customer](/search-ads/reporting/api/reference/fields/v0/customer) |\n| [label](/search-ads/reporting/api/reference/fields/v0/label) |\n\nFields from the above resources may be selected along with this\nresource in your SELECT and WHERE clauses. These fields **will not segment**\nmetrics in your `SELECT` clause.\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | campaign_effective_label.campaign --------------------------------- || |-------------------|--------------------------------------------------------| | Field description | The campaign to which the effective label is attached. | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |\n| | campaign_effective_label.label ------------------------------ || |-------------------|-----------------------------------------------| | Field description | The effective label assigned to the campaign. | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |\n| | campaign_effective_label.owner_customer_id ------------------------------------------ || |-------------------|--------------------------------------------------------| | Field description | The ID of the Customer which owns the effective label. | | Category | `ATTRIBUTE` | | Data Type | `INT64` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |\n| | campaign_effective_label.resource_name -------------------------------------- || |-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------| | Field description | Name of the resource. CampaignEffectivelabel resource names have the form: `customers/{customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}` | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |"]]