label

  • 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.

A label.

Attributed resources
customer

Fields from the above resources may be selected along with this resource in your SELECT and WHERE clauses. These fields will not segment metrics in your SELECT clause.

label.id

Field descriptionID of the label. Read only.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

label.name

Field descriptionThe name of the label. This field is required and should not be empty when creating a new label. The length of this string should be between 1 and 80, inclusive.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

label.resource_name

Field descriptionName of the resource. Label resource names have the form: customers/{customer_id}/labels/{label_id}
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

label.status

Field descriptionStatus of the label. Read only.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.searchads360.v0.enums.LabelStatusEnum.LabelStatus
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

label.text_label.background_color

Field descriptionBackground color of the label in HEX format. This string must match the regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The background color may not be visible for manager accounts.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

label.text_label.description

Field descriptionA short description of the label. The length must be no more than 200 characters.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse