Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
SharedSet
Stay organized with collections
Save and categorize content based on your preferences.
SharedSets are used for sharing criterion exclusions across multiple campaigns.
codeProto definition
| Fields |
id
|
int64
Output only. The ID of this shared set. Read only.
|
member_count
|
int64
Output only. The number of shared criteria within this shared set. Read only.
|
name
|
string
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.
|
reference_count
|
int64
Output only. The number of campaigns associated with this shared set. Read only.
|
resource_name
|
string
Immutable. The resource name of the shared set. Shared set resource names have the form: customers/{customer_id}/sharedSets/{shared_set_id}
|
status
|
SharedSetStatus
Output only. The status of this shared set. Read only.
|
type
|
SharedSetType
Immutable. The type of this shared set: each shared set holds only a single kind of resource. Required. Immutable.
|
vertical_ads_item_vertical_type
|
VerticalAdsItemVerticalType
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.
|
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-01-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-22 UTC."],[],[]]