La nueva API de informes de Search Ads 360 ya está disponible. Únete al grupo de Google
searchads-api-announcements para mantenerte al tanto de las próximas mejoras y lanzamientos.
campaña_etiqueta
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-08-29 (UTC)
[null,null,["Última actualización: 2025-08-29 (UTC)"],[[["\u003cp\u003eRepresents the relationship between a campaign and a label.\u003c/p\u003e\n"],["\u003cp\u003eAllows for the selection of fields from related resources (campaign, customer, label) in queries.\u003c/p\u003e\n"],["\u003cp\u003eFields from related resources will not segment metrics when selected.\u003c/p\u003e\n"],["\u003cp\u003eIncludes fields for identifying the campaign, label, customer owner, and resource name.\u003c/p\u003e\n"],["\u003cp\u003eEnables filtering and selection of fields for analysis and reporting.\u003c/p\u003e\n"]]],["This describes the `campaign_label` resource, which links a campaign to a label. Key information includes: the `campaign` and `label` resource names, the `owner_customer_id`, and the `resource_name` itself (formatted as `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}`). These fields are selectable and filterable attributes. The fields will not segment metrics. Associated resources are campaign, customer and label.\n"],null,["# campaign_label\n\nRepresents a relationship between a campaign and a label.\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_label.campaign ----------------------- || |-------------------|----------------------------------------------| | Field description | The campaign to which the label is attached. | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |\n| | campaign_label.label -------------------- || |-------------------|-------------------------------------| | Field description | The 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_label.owner_customer_id -------------------------------- || |-------------------|----------------------------------------------| | Field description | The ID of the Customer which owns the label. | | Category | `ATTRIBUTE` | | Data Type | `INT64` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | True | | Repeated | False | |\n| | campaign_label.resource_name ---------------------------- || |-------------------|--------------------------------------------------------------------------------------------------------------------------------------| | Field description | Name of the resource. Campaign label resource names have the form: `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` | | Category | `ATTRIBUTE` | | Data Type | `RESOURCE_NAME` | | Type URL | `N/A` | | Filterable | True | | Selectable | True | | Sortable | False | | Repeated | False | |"]]