SharedCriterion

A criterion belonging to a shared set.

JSON representation
{
  "resourceName": string,
  "type": enum (CriterionType),
  "sharedSet": string,
  "criterionId": string,

  // Union field criterion can be only one of the following:
  "keyword": {
    object (KeywordInfo)
  },
  "youtubeVideo": {
    object (YouTubeVideoInfo)
  },
  "youtubeChannel": {
    object (YouTubeChannelInfo)
  },
  "placement": {
    object (PlacementInfo)
  },
  "mobileAppCategory": {
    object (MobileAppCategoryInfo)
  },
  "mobileApplication": {
    object (MobileApplicationInfo)
  },
  "brand": {
    object (BrandInfo)
  }
  // End of list of possible types for union field criterion.
}
Fields
resourceName

string

Immutable. The resource name of the shared criterion. Shared set resource names have the form:

customers/{customerId}/sharedCriteria/{shared_set_id}~{criterionId}

type

enum (CriterionType)

Output only. The type of the criterion.

sharedSet

string

Immutable. The shared set to which the shared criterion belongs.

criterionId

string (int64 format)

Output only. The ID of the criterion.

This field is ignored for mutates.

Union field criterion. The criterion.

Exactly one must be set. criterion can be only one of the following:

keyword

object (KeywordInfo)

Immutable. Keyword.

youtubeVideo

object (YouTubeVideoInfo)

Immutable. YouTube Video.

youtubeChannel

object (YouTubeChannelInfo)

Immutable. YouTube Channel.

placement

object (PlacementInfo)

Immutable. Placement.

mobileAppCategory

object (MobileAppCategoryInfo)

Immutable. Mobile App Category.

mobileApplication

object (MobileApplicationInfo)

Immutable. Mobile application.

brand

object (BrandInfo)

Immutable. Brand.

BrandInfo

Represents a Brand Criterion used for targeting based on commercial knowledge graph.

JSON representation
{
  "entityId": string
}
Fields
entityId

string

The Commercial KG MID for the brand.