Notification

此帮助中心会显示适用于 Merchant Center Next 的文章。详细了解升级,并查看常见问题解答

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

Excluded item group ID [item_group_id_exclusion]

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 data source AB12345
XML data source <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 data source, 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, check 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
17619163276948938030
true
搜索支持中心
true
true
true
true
true
71525
false
false