FeedItemSet

表示一组 Feed 项。此集合可供某些 Feed 项功能使用和共享。例如,可以在 CustomerFeed、CampaignFeed 和 AdGroupFeed 的匹配函数中引用该集。

JSON 表示法
{
  "resourceName": string,
  "feed": string,
  "feedItemSetId": string,
  "displayName": string,
  "status": enum (FeedItemSetStatus),

  // Union field dynamic_set_filter can be only one of the following:
  "dynamicLocationSetFilter": {
    object (DynamicLocationSetFilter)
  },
  "dynamicAffiliateLocationSetFilter": {
    object (DynamicAffiliateLocationSetFilter)
  }
  // End of list of possible types for union field dynamic_set_filter.
}
字段
resourceName

string

不可变。Feed 项集的资源名称。Feed 项集资源名称采用如下格式:customers/{customerId}/feedItemSets/{feedId}~{feedItemSetId}

feed

string

不可变。包含 Feed 项的 Feed 的资源名称。不可变。必填。

feedItemSetId

string (int64 format)

仅供输出。集的 ID。

displayName

string

数据集的名称。在账号中必须是唯一的。

status

enum (FeedItemSetStatus)

仅供输出。Feed 项集的状态。此字段为只读字段。

联合字段 dynamic_set_filter。表示针对 Feed 项集中的地理位置的过滤器。仅适用于 FeedItemSet 的父级 Feed 是 LOCATION Feed 的情况。dynamic_set_filter 只能是下列其中一项:
dynamicLocationSetFilter

object (DynamicLocationSetFilter)

针对动态地理位置集设置的过滤条件。此参数仅适用于多组营业地点。

dynamicAffiliateLocationSetFilter

object (DynamicAffiliateLocationSetFilter)

过滤出动态关联商户地址集。此字段通常不适用于 Feed 项集。它仅用于多组关联商户地址。

FeedItemSetStatus

Feed 项集的可能状态。

枚举
UNSPECIFIED 未指定。
UNKNOWN 仅用于返回值。表示此版本中的未知值。
ENABLED Feed 项集已启用。
REMOVED Feed 项集已移除。

DynamicLocationSetFilter

表示针对 Feed 项集中的地理位置的过滤器。仅适用于 FeedItemSet 的父级 Feed 是 LOCATION Feed 的情况。

JSON 表示法
{
  "labels": [
    string
  ],
  "businessNameFilter": {
    object (BusinessNameFilter)
  }
}
字段
labels[]

string

如果设置了多个标签,则只有标有所有标签的 Feed 项会添加到 FeedItemSet 中。

businessNameFilter

object (BusinessNameFilter)

商家名称过滤条件。

BusinessNameFilter

表示针对 FeedItemSet 中营业地点的商家名称过滤条件。

JSON 表示法
{
  "businessName": string,
  "filterType": enum (FeedItemSetStringFilterType)
}
字段
businessName

string

用于过滤的商家名称字符串。

filterType

enum (FeedItemSetStringFilterType)

使用 businessName 进行过滤时要使用的字符串匹配类型。

FeedItemSetStringFilterType

描述 FeedItemSetStringFilter 的可能类型。

枚举
UNSPECIFIED 未指定。
UNKNOWN 此版本中不知道收到的错误代码。
EXACT 动态集过滤条件将使用完全匹配的字符串。

DynamicAffiliateLocationSetFilter

表示针对 FeedItemSet 中的联属营销企业地址的过滤条件。仅当 FeedItemSet 的父级 Feed 是 AFFILIATE_LOCATION Feed 时适用。

JSON 表示法
{
  "chainIds": [
    string
  ]
}
字段
chainIds[]

string (int64 format)

用于按连锁店 ID 过滤关联商户地址。只有属于指定连锁店的关联商户地址才会添加到 FeedItemSet 中。