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 项的 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 中。