Notification

V tomto centru nápovědy najdete obsah týkající se služby Merchant Center Next i pro klasické prostředí služby Merchant Center. Abyste se ujistili, že užíváte článek související s verzí Merchant Center, která se vás týká, vyhledejte v horní části každého článku logo služby.

Požadovaná stránka aktuálně není k dispozici ve vašem jazyce. V dolní části stránky však můžete vybrat jiný jazyk, případně pomocí funkce překladu integrované v prohlížeči Google Chrome jakoukoli stránku okamžitě přeložit do vybraného jazyka.

Google product category exclusion [google_product_category_exclusion]

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

Use the Google product category exclusion [google_product_category_exclusion] attribute to exclude from your promotion all items in your feed that belong to a specific Google product category.

When to use

Optional Optional for all promotions.

Format

Follow these formatting guidelines to make sure we understand the data you're submitting.

Type

Unicode characters (Recommended: ASCII only)

Repeated field

Yes

File format

Example entry

Text feeds

2271

or

Apparel & Accessories > Clothing > Dresses

XML feeds

<g:google_product_category_exclusion>2271

</g:google_product_category_exclusion>

or

<g:google_product_category_exclusion>Apparel &amp; Accessories &gt; Apparel &gt; Dresses</g:google_product_category_exclusion>

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

Best practices

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

  • If your promotion’s product applicability [product_applicability] attribute is set to specific_products, setting this Google product category exclusion attribute will exclude all items with the same product category in your products feed from your promotion.
  • Do not set this attribute if there are any eligible items within the category. If that is the case, you will need to manually map the promotion ID [promotion_id] to the eligible items in your products feed, or use the product ID for promotion [item_id] attribute (see above) to map the eligible items in your promotions feed (for up to 20 items). For additional mapping details, visit the Choose products for your promotion article in our promotions implementation guide.

Examples

Promotion data for a sale that marks 30% off of everything, except clothing and accessories

Attribute

Value

Promotion ID [promotion_id]

black_friday_thirty_percent_off_sale

Promotion title [long_title]

Black Friday 30% Off Sale

Google product category exclusion [google_product_category_exclusion]

Clothing & Accessories

Pomohly vám tyto informace?

Jak bychom článek mohli vylepšit?
true
Search
Clear search
Close search
Main menu
8469507855966665027
true
Prohledat Centrum nápovědy
true
true
true
true
true
71525
false
false