shared_set
Stay organized with collections
Save and categorize content based on your preferences.
Help me build a query
Proto definition
SharedSets are used for sharing criterion exclusions across multiple
campaigns.
Fields from the preceding resources can be selected along with this
resource in your SELECT and WHERE clauses. These fields do not segment
metrics in your SELECT clause.
Fields from the preceding resources, when selected along with this
resource in your SELECT and WHERE clauses, segment metrics.
Fields, segments, and metrics
This page shows all metrics and segments that can be put in the same SELECT clause as the fields of shared_set.
However, when you specify shared_set in the FROM clause, some metrics and segments
cannot be used.
Use the following filter to show only the fields that can be used when shared_set is specified in the FROM clause.
Is shared_set specified in the FROM clause of your query?
No
Yes, it is
shared_set.id
Field description Output only. The ID of this shared set. Read only.
Category ATTRIBUTE
Data Type INT64
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with
shared_set.member_count
Field description Output only. The number of shared criteria within this shared set. Read
only.
Category ATTRIBUTE
Data Type INT64
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as shared_set.id .
shared_set.name
Field description The name of this shared set. Required.
Shared Sets must have names that are unique among active shared sets of
the same type.
The length of this string should be between 1 and 255 UTF-8 bytes,
inclusive.
Category ATTRIBUTE
Data Type STRING
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as shared_set.id .
shared_set.reference_count
Field description Output only. The number of campaigns associated with this shared set. Read
only.
Category ATTRIBUTE
Data Type INT64
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as shared_set.id .
shared_set.resource_name
Field description Immutable. The resource name of the shared set.
Shared set resource names have the form:
customers/{customer_id}/sharedSets/{shared_set_id}
Category ATTRIBUTE
Data Type RESOURCE_NAME
Capabilities Selectable: True Filterable: True Sortable: False Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as shared_set.id .
shared_set.status
Field description Output only. The status of this shared set. Read only.
Category ATTRIBUTE
Data Type ENUM
ENABLED
REMOVED
UNKNOWN
UNSPECIFIED
Type URL google.ads.googleads.v26.enums.SharedSetStatusEnum.SharedSetStatus
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as shared_set.id .
shared_set.type
Field description Immutable. The type of this shared set: each shared set holds only a single
kind of resource. Required. Immutable.
Category ATTRIBUTE
Data Type ENUM
ACCOUNT_LEVEL_NEGATIVE_KEYWORDS
BRANDS
NEGATIVE_KEYWORDS
NEGATIVE_PLACEMENTS
RETAIL_FILTER
UNKNOWN
UNSPECIFIED
VERTICAL_ADS_ITEM_GROUP_RULE_LIST
WEBPAGES
Type URL google.ads.googleads.v26.enums.SharedSetTypeEnum.SharedSetType
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as shared_set.id .
shared_set.vertical_ads_item_vertical_type
Field description Immutable. Shared sets of type VERTICAL_ADS_ITEM_GROUP_RULE_LIST are
associated with a particular vertical (e.g. hotels, things to do, flights,
etc.). This field is required for shared sets of type
VERTICAL_ADS_ITEM_GROUP_RULE_LIST.
Category ATTRIBUTE
Data Type ENUM
EVENTS
FLIGHTS
HOTELS
RENTAL_CARS
THINGS_TO_DO
UNKNOWN
UNSPECIFIED
VACATION_RENTALS
Type URL google.ads.googleads.v26.enums.VerticalAdsItemVerticalTypeEnum.VerticalAdsItemVerticalType
Capabilities Selectable: True Filterable: True Sortable: True Repeated: False
Selectable with The following fields and resources can be selected with this field:
Same as shared_set.id .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-17 UTC.
[null,null,["Last updated 2026-11-17 UTC."],[],[]]