Google Ads API is returning to beta status. Please read our blog post for more details.

shared_criterion

The shared set referenced in the query.
Attributed resources
customer
mobile_app_category_constant
shared_set

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.

shared_criterion.criterion_id

Field descriptionThe ID of the criterion. This field is ignored for mutates.
CategoryATTRIBUTE
Data TypeINT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.keyword.match_type

Field descriptionThe match type of the keyword.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v1.enums.KeywordMatchTypeEnum.KeywordMatchType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.keyword.text

Field descriptionThe text of the keyword (at most 80 characters and 10 words).
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.mobile_app_category.mobile_app_category_constant

Field descriptionThe mobile app category constant resource name.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

shared_criterion.mobile_application.app_id

Field descriptionA string that uniquely identifies a mobile application to Google Ads API. The format of this string is "{platform}-{platform_native_id}", where platform is "1" for iOS apps and "2" for Android apps, and where platform_native_id is the mobile application identifier native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App Store link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For Android, this native identifier is the application's package name (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link https://play.google.com/store/apps/details?id=com.labpixies.colordrips). A well formed app id for Google Ads API would thus be "1-476943146" for iOS and "2-com.labpixies.colordrips" for Android. This field is required and must be set in CREATE operations.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.mobile_application.name

Field descriptionName of this mobile application.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.placement.url

Field descriptionURL of the placement. For example, "http://www.domain.com".
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.resource_name

Field descriptionThe resource name of the shared criterion. Shared set resource names have the form: `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}`
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

shared_criterion.shared_set

Field descriptionThe shared set to which the shared criterion belongs.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

shared_criterion.type

Field descriptionThe type of the criterion.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v1.enums.CriterionTypeEnum.CriterionType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.youtube_channel.channel_id

Field descriptionThe YouTube uploader channel id or the channel code of a YouTube channel.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

shared_criterion.youtube_video.video_id

Field descriptionYouTube video id as it appears on the YouTube watch page.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse