SharedCriterion

  • Shared criterion belongs to a shared set and has a resource name with a specific format.

  • It includes information such as the type of criterion, the shared set it belongs to, and its unique ID.

  • The actual criterion information can be one of several types, including keyword, YouTube video, YouTube channel, placement, mobile app category, mobile application, brand, or webpage.

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.