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 that Google understands the data that you submit.
Supported values |
|
---|---|
Repeated field | No |
File format | Example value |
---|---|
Text feeds | all_products |
XML feeds | <g:product_applicability>all_products</g:product_applicability>
|
To format your data for Content API, see 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 receive 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 feed. These specific products are tested continuously 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 feed. The promotion validity is tested against all of the items in your products feed.
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 |