SharedCriterion
Stay organized with collections
Save and categorize content based on your preferences.
A criterion belonging to a shared set.
Fields |
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}
|
type
|
CriterionType
Output only. The type of the criterion.
|
shared_set
|
string
Immutable. The shared set to which the shared criterion belongs.
|
criterion_id
|
int64
Output only. The ID of the criterion. This field is ignored for mutates.
|
criterion
Union field criterion . The criterion. criterion . The criterion.Exactly one must be set. criterion can be only one of the following: criterion can be only one of the following: |
keyword
|
KeywordInfo
Immutable. Keyword.
|
youtube_video
|
YouTubeVideoInfo
Immutable. YouTube Video.
|
youtube_channel
|
YouTubeChannelInfo
Immutable. YouTube Channel.
|
placement
|
PlacementInfo
Immutable. Placement.
|
mobile_app_category
|
MobileAppCategoryInfo
Immutable. Mobile App Category.
|
mobile_application
|
MobileApplicationInfo
Immutable. Mobile application.
|
brand
|
BrandInfo
Immutable. Brand.
|
webpage
|
WebpageInfo
Immutable. Webpage.
|
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 2025-08-07 UTC.
[null,null,["Last updated 2025-08-07 UTC."],[],[],null,["# SharedCriterion\n\nA criterion belonging to a shared set.\n\n| Fields ||\n|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `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}` |\n| ### `type` | [CriterionType](/google-ads/api/reference/rpc/v21/CriterionTypeEnum.CriterionType) Output only. The type of the criterion. |\n| ### `shared_set` | `string` Immutable. The shared set to which the shared criterion belongs. |\n| ### `criterion_id` | `int64` Output only. The ID of the criterion. This field is ignored for mutates. |\n| ### `criterion` Union field `criterion`. The criterion. `criterion`. The criterion. Exactly one must be set. `criterion` can be only one of the following: `criterion` can be only one of the following: ||\n| ### `keyword` | [KeywordInfo](/google-ads/api/reference/rpc/v21/KeywordInfo) Immutable. Keyword. |\n| ### `youtube_video` | [YouTubeVideoInfo](/google-ads/api/reference/rpc/v21/YouTubeVideoInfo) Immutable. YouTube Video. |\n| ### `youtube_channel` | [YouTubeChannelInfo](/google-ads/api/reference/rpc/v21/YouTubeChannelInfo) Immutable. YouTube Channel. |\n| ### `placement` | [PlacementInfo](/google-ads/api/reference/rpc/v21/PlacementInfo) Immutable. Placement. |\n| ### `mobile_app_category` | [MobileAppCategoryInfo](/google-ads/api/reference/rpc/v21/MobileAppCategoryInfo) Immutable. Mobile App Category. |\n| ### `mobile_application` | [MobileApplicationInfo](/google-ads/api/reference/rpc/v21/MobileApplicationInfo) Immutable. Mobile application. |\n| ### `brand` | [BrandInfo](/google-ads/api/reference/rpc/v21/BrandInfo) Immutable. Brand. |\n| ### `webpage` | [WebpageInfo](/google-ads/api/reference/rpc/v21/WebpageInfo) Immutable. Webpage. |"]]