This attribute specifies if a promotion applies to all products, or only to specific products.
On this page
When to use
Required for all promotions.
Format
Follow these formatting guidelines to make sure Google understands the data you submit.
Supported values |
|
---|---|
Repeated field | No |
File format | Example value |
---|---|
Text data source | all_products |
XML data source | <g:product_applicability>all_products</g:product_applicability> |
To format your data for Content API, check the Content API for Shopping resource.
Minimum requirements
These are the requirements that you must meet to show your product in Merchant Center. If you don't follow these requirements, your product is disapproved and you get a notification in your Merchant Center account.
- If the value is
specific_products
, you must use product filter attributes or map a promotion ID[promotion_id]
to applicable products in your products data source. These specific products are continuously tested for the duration of the promotion. - If the value is
all_products
, you do not need to use product filter attributes or a promotion ID[promotion_id]
in the products data source. The promotion validity is tested against all of the items in your products data source.
Examples
A promotion that offers 10% off on everything for Black Friday
Attribute | Value |
Promotion ID [promotion_id] |
black_friday_sale |
Promotion title [long_title] |
10% Off Everything for Black Friday |
Percentage discount amount [percent_off] |
10 |
Products eligible for promotion [product_applicability] |
all_products |