SharedCriterion

属于共享集的条件。

JSON 表示法
{
  "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)
  }
  // End of list of possible types for union field criterion.
}
字段
resourceName

string

不可变。共享条件的资源名称。共享集资源名称采用以下形式:

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

type

enum (CriterionType)

仅供输出。标准的类型。

sharedSet

string

不可变。共享条件所属的共享集。

criterionId

string (int64 format)

仅供输出。条件的 ID。

对于变更,此字段会被忽略。

联合字段 criterion。条件。

只能设置一个。criterion 只能是下列其中一项:

keyword

object (KeywordInfo)

不可变。关键字。

youtubeVideo

object (YouTubeVideoInfo)

不可变。YouTube 视频。

youtubeChannel

object (YouTubeChannelInfo)

不可变。YouTube 频道。

placement

object (PlacementInfo)

不可变。展示位置。

mobileAppCategory

object (MobileAppCategoryInfo)

不可变。移动应用类别。

mobileApplication

object (MobileApplicationInfo)

不可变。移动应用。