Notification

在本帮助中心中,您可以找到有关 Merchant Center Next 和传统版 Merchant Center 体验的内容。查看每篇文章顶部的徽标,确保您参阅的文章适用于您所使用的 Merchant Center 版本。

您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

Excluded item group ID [item_group_id_exclusion]

A custom icon for Merchant Center Classic and Merchant Center Next.

Use the excluded item group ID [item_group_id_exclusion] attribute when you have items that you do not want included in the promotion. Products in the group identified by this attribute will not be included in your promotion.


On this page


When to use

Optional Optional for all promotions.


Format

Follow these formatting guidelines to make sure Google understands the data you submit.

Type Unicode characters (Recommended: ASCII only)
Repeated field No
File format Example entry
Text feeds AB12345
XML feeds <g:item_group_id_exclusion>AB12345</g:item_group_id_exclusion>

Repeated fields

Text

To submit multiple item group IDs that you would like to exclude, submit the attribute multiple times, once for each item group ID (recommended). For example:

Promotion data for an April Fool’s BOGO Lamp Sale
Attribute Value
Promotion title [long_title] April Fool’s Buy-One-Get-One Lamp Sale
Excluded item group ID [item_group_id_exclusion] big_lamps
Excluded item group ID [item_group_id_exclusion] floor_lamps
Excluded item group ID [item_group_id_exclusion] desk_lamps

You can also separate each item group ID with a comma ( , ):

Attribute Value
Excluded item group ID [item_group_id_exclusion] big_lamps, floor_lamps, desk_lamps

XML

To submit multiple item group IDs to exclude for an XML feed, include a separate attribute for each excluded destination:

  • <g:item_group_id_exclusion>big_lamps</g:item_group_id_exclusion>
  • <g:item_group_id_exclusion>floor_lamps</g:item_group_id_exclusion>
  • <g:item_group_id_exclusion>desk_lamps</g:item_group_id_exclusion>

To format your data for Content API, see the Content API for Shopping resource.


Minimum requirements

These are the requirements you'll need to meet to show your promotion. If you don't follow these requirements, we'll disapprove your promotion and let you know in your Merchant Center account.

  • The product filter attributes only apply when the products eligible for promotion product applicability [product_applicability] attribute is set to specific_products.

Best practices

These best practices can help you go beyond the basic requirements to optimize your product data for performance.

  • When the same attribute is used more than once, the product must match at least one of the attributes for the filter to apply.
  • When there are multiple filters, only the products that pass all filters are selected for the promotion. If a filter excludes a product and another filter includes the same product, the product will be excluded from the promotion.

Examples

A promotion that offers a discount on children’s clothes

Attribute Value
Promotion ID [promotion_id] childrens_clothing_sale
Promotion title [long_title] Children’s Clothing Sale
Excluded item group ID [item_group_ID_exclusion] adult_clothes

该内容对您有帮助吗?

您有什么改进建议?
true
Search
Clear search
Close search
Main menu
8846108870435927877
true
搜索支持中心
true
true
true
true
true
71525
false
false