The store code [store_code]
attribute is used to specify the unique alphanumeric identifier of a local store. 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
Requiredfor 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>
|
How to find your store code
-
Go to the “Products & store”section in your Merchant Center account .
- Select Products.
- From the products list, select a product and navigate to its “Product details” page.
- Locate the “Stores” table, store codes will be visible for that store if you’ve actually uploaded the related inventory data for the relevant store.
You can also find store codes in Business Manager or Business Profile directly on Google.
Learn how to add & manage Business Profile store codes for bulk uploads .
Minimum requirements
You must meet these requirements 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 store codes that you submit in your Business Profiles.
- For vehicle ads, if using a store feed, your store code
[store_code]attribute must match the code in your store feed.
Examples
Local inventory ads and free local listings
For your local inventory product offer, submit the store code [ store_code
] associated with the Google Business Profile or store feed-based store with the product in your Product sources > Supplemental sources > Local inventory data source.
Learn how to upload your local inventory data to Merchant Center .
| |
... other attributes ... |
|
|---|---|---|
| |
... |
|
Vehicle ads
For your in-store fulfillment vehicle offer, submit the store code [store_code] associated with the Google Business Profile or store feed-based dealership hosting your vehicle in your Product sources > Vehicle data source.
| |
... other attributes ... |
|
|---|---|---|
| |
... |
|
-
Link_templatewith Store Code: If applicable, ensure your link template[link_template]attribute includes the store code placeholder, for example, ?store={store_code}, to direct users to the vehicle's specific page on your dealership's site. -
Data Source Targeting: Ensure your vehicle data source is set to target 'Vehicle Ads' only, as other destinations like 'Shopping ads' or 'Free listings' have different attribute requirements which can cause disapprovals if store code
[store_code]is used in the wrong context.

