> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v23** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/SharedCriterion).

A criterion belonging to a shared set.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v23/resources/shared_criterion.proto)

| Fields ||
|---|---|
| ## `criterion` Union field. The criterion. Exactly one must be set. `criterion` can be only one of the following: ||
| ### `brand` | `BrandInfo` Immutable. Brand. |
| ### `keyword` | `KeywordInfo` Immutable. Keyword. |
| ### `mobile_app_category` | `MobileAppCategoryInfo` Immutable. Mobile App Category. |
| ### `mobile_application` | `MobileApplicationInfo` Immutable. Mobile application. |
| ### `placement` | `PlacementInfo` Immutable. Placement. |
| ### `vertical_ads_item_group_rule` | `VerticalAdsItemGroupRuleInfo` Immutable. Vertical ads item group rule. |
| ### `webpage` | `WebpageInfo` Immutable. Webpage. |
| ### `youtube_channel` | `YouTubeChannelInfo` Immutable. YouTube Channel. |
| ### `youtube_video` | `YouTubeVideoInfo` Immutable. YouTube Video. |
| ## `criterion_id` | `int64` Output only. The ID of the criterion. This field is ignored for mutates. |
| ## `negative` | `bool` Immutable. If true, the criterion is excluded. If false, the criterion is targeted. |
| ## `resource_name` | `string` Immutable. The resource name of the shared criterion. Shared set resource names have the form: `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` |
| ## `shared_set` | `string` Immutable. The shared set to which the shared criterion belongs. |
| ## `type` | `CriterionType` Output only. The type of the criterion. |