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) |
| Limits | 1–64 characters |
| Repeated field |
Yes (vehicle ads) |
| Text or tab-delimited example | Store123 |
| XML example | <g:store_code>Store123</g:store_code> |
Minimum requirements
You must meet these requirements in order to show your product in Merchant Centre. 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 Centre 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.
Examples
Local inventory ads and free local listings
For your local inventory product offer, submit the shop code [store_code] associated with the Google Business Profile or shop feed-based shop with the product in your Product sources > Supplemental sources > Local inventory data source.
Learn how to upload your local inventory data to Merchant Centre.
|
|
… other attributes … |
|
|
|
… |
|
Vehicle ads
For your in-store fulfilment vehicle offer, submit the shop code [store_code] associated with the Google Business Profile or shop feed-based dealership hosting your vehicle in your Product sources > Vehicle data source.
|
|
… other attributes … |
|
|
|
… |
|