Use the shop applicability [store_applicability]
attribute to indicate whether your promotion is applicable to all shops or only specific shops.
When to use
Required for all promotions.
Type | Unicode characters (recommended: ASCII only) |
Repeated field | No |
File format | Example entry |
Text feeds | Valid values:all_stores |
XML feeds | <g:store_applicability>all_stores</g:store_applicability> <g:store_applicability>specific_stores</g:store_applicability> |
To format your data for Content API, see the Content API for Shopping resource.
Minimum requirements
These are the requirements that 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.
- If you submit the value '
specific_stores
', you must also use either the shop codes inclusion[store_codes_inclusion]
attribute or the shop codes exclusion[store_codes_exclusion]
attribute. - If you submit the value '
all_stores
', the shop codes inclusion and shop codes exclusion (see below) attributes will be ignored.
Examples
Promotion data for a shopwide Fourth of July sale |
|
Attribute |
Value |
Promotion ID |
|
Promotion title |
Fourth of July sale |
Shop applicability |
|
Promotion data for a promotion that only applies to one shop. |
|
Attribute |
Value |
Promotion ID |
|
Promotion title |
15% off sale |
Shop applicability |
|
Shop codes inclusion |
|