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

Was this helpful?

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