Notification

I Hjælp kan du finde indhold om både Merchant Center Next og den klassiske version af Merchant Center. Se efter logoet øverst i hver artikel for at sikre, at artiklen omhandler den version af Merchant Center, du bruger. 

Den side, du har anmodet om, er ikke tilgængelig på dit sprog i øjeblikket. Du kan vælge et andet sprog nederst på siden eller få en øjeblikkelig oversætte af en hvilken som helst webside til et valgfrit sprog ved hjælp af Google Chromes indbyggede oversættelsesfunktion.

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

Var disse oplysninger nyttige?

Hvordan kan vi forbedre siden?
true
Search
Clear search
Close search
Main menu
5218809901991492038
true
Søg i Hjælp
true
true
true
true
true
71525
false
false