Notification

In this Help Centre, you can find content for both Merchant Center Next and the classic Merchant Center experience. Look for the logo at the top of each article to make sure that you're using the article for the Merchant Center version that applies to you. 

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 to be 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 that Google understands the data that 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 that 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 to go beyond the basic requirements to optimise 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 one 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

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Main menu
2911389555524838090
true
Search Help Centre
true
true
true
true
true
71525
false
false