Shop code [store_code]

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 Required for products in local inventory ads, free local listings and vehicle ads.

Format

Type Text (string)
Limits 1–64 characters
Repeated field

No (local inventory ads, free local listings)

Yes (vehicle ads)
Text or tab-delimited example Store123
XML example <g:store_code>Store123</g:store_code>

How to find your shop code

  1. Go to the 'Products and shop' section in your Merchant Center account.

  2. Select Products.
  3. From the products list, select a product and navigate to its 'Product details' page.
  4. Locate the 'Shops' table; shop codes will be visible for that shop if you've actually uploaded the related inventory data for the relevant shop.

You can also find shop codes in Business Manager or Business Profile directly on Google.

Learn how to add and manage Business Profile shop codes for bulk uploads.

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

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 Center.

id

... other attributes ...

store_code

produc1

...

store1

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.

id

... other attributes ...

store_code

vehicle1

...

dealer1

  • Link_template with shop code: If applicable, ensure that your link template [link_template] attribute includes the shop 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 that your vehicle data source is set to target 'Vehicle ads' only, as other destinations like 'Shopping ads' or 'Free listings' have different attribute requirements that can cause disapprovals if shop code [store_code] is used in the wrong context.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
14230655890028081120
true
Search Help Centre
false
true
true
true
true
true
71525
false
false
true
false
false