shared_set

SharedSets are used for sharing criterion exclusions across multiple campaigns.

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.

Segmenting resources
campaign
campaign_shared_set

Fields from the above resources, when selected along with this resource in your SELECT and WHERE clauses, will segment metrics.

Fields/Segments/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?

 Resource fields
id
member_count
name
reference_count
resource_name
status
type
 Segments

shared_set.id

Field descriptionOutput only. The ID of this shared set. Read only.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_set.member_count

Field descriptionOutput only. The number of shared criteria within this shared set. Read only.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_set.name

Field descriptionThe 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.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_set.reference_count

Field descriptionOutput only. The number of campaigns associated with this shared set. Read only.
CategoryATTRIBUTE
Data TypeINT64
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_set.resource_name

Field descriptionImmutable. The resource name of the shared set. Shared set resource names have the form: customers/{customer_id}/sharedSets/{shared_set_id}
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

shared_set.status

Field descriptionOutput only. The status of this shared set. Read only.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v16.enums.SharedSetStatusEnum.SharedSetStatus
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_set.type

Field descriptionImmutable. The type of this shared set: each shared set holds only a single kind of resource. Required. Immutable.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v16.enums.SharedSetTypeEnum.SharedSetType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse