The shop code [store_code]
attribute is used to specify the unique alphanumeric identifier of a local shop. For vehicle ads, this attribute allows repeated fields, meaning you can submit multiple values. For local inventory ads, this attribute doesn't allow multiple values.
When to use
Required for products in local inventory ads, free local listings and vehicle ads.
Format
Type | Text (string) |
Text or tab-delimited example | Shop123 |
XML example | <g:store_code>Shop123</g:store_code> |
Minimum requirements
You must meet these requirements in order to show your product in Merchant Center. If you don't follow these requirements, your product will be disapproved. If your product isn't approved, you'll receive a notification in the Diagnostics page in your Merchant Center account.
- This attribute is case-sensitive and must match the shop codes that you submit in your Business Profiles.
- For vehicle ads, if using a shop feed, your shop code
[store_code]
attribute must match the code in your shop feed.
Note: Any combination of letters and/or numbers can be set as your shop code.
Examples
Feed | Field | Description | Type | Example |
Inventory | store_code |
The shop code of the shop in which this item is available | alphanumeric | shop1 |
Vehicle ads primary feed | store_code |
The shop code of the dealership that has this vehicle | alphanumeric | dealer2 |