Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

SharedCriterion

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