Local product data specification

Share a file with Merchant Center that contains all your product data for local products. Depending on the setup that you choose, your product data in Merchant Center can be kept in sync with your product data file automatically. If you are already providing a file with all your product data, you can use the same file for local inventory ads and free local listings.

In this article


Product data source

To use an existing product data source that has not been enabled for local inventory ads or free local listings, you will need to enable their add-on and opt your product data source to be used for local shoppers. To enable local shoppers:

  1. Sign in to your Merchant Center account.
  2. Click the Settings and tools icon Tools and settings menu icon [Gear] and select Data sources.
  3. Select the product source that you wish to modify.
  4. Click on your setup and edit the usage of product data from this data source to use product data for local and online shops.
Note: If you submit separate product data for both online (Shopping ads and free product listings) and in-store offers, make sure that you don't submit the same products in both data sources.

Google recommends submitting all of your products in a single data file for both local inventory ads and free local listings. For a newly created data source, all applicable data source destinations can be selected during data source creation. For existing data sources, use primary data source settings to opt in to local inventory ads and/or free local listings as additional destinations. If you need to exclude products from either Shopping ads or local inventory ads and free local listings, you may use the excluded destination [excluded_destination] attribute. Learn more about excluded destination

Submit a product data source

File type: You can use either a delimited text file (recommended), XML or API.

Registering a new data source: Follow the standard steps to register a new data source.

Please note that products may take up to two days to appear after submission.

Important: Some attributes in this product data specification contain spaces and underscores. To make sure that you submit attributes with correct characters and spacing, follow the guidelines below for your file type:

Summary of attribute requirements

Attribute Submission requirements

Description [description]

ID [id]

Image link [image_link]

Title [title]
Required for all products that you sell in shops.
GTIN [gtin]

Required for all new products with a GTIN assigned by the manufacturer.

Optional (strongly recommended) for all other products.

Brand [brand]

Required for all new products (except movies, books and musical recording brands).

Optional for all other products.

Condition [condition]

Required if your product is used or refurbished.

Optional for new products.

Energy efficiency class [energy_efficiency_class]

Minimum energy efficiency class [min_energy_efficiency_class]

Maximum energy efficiency class [max_energy_efficiency_class]

Required if your products target any of the EU Member States, the United Kingdom or Switzerland.

Optional if your products don't target any of the EU Member States, the United Kingdom or Switzerland.

Excluded destination [excluded_destination]

Recommended if you're using a single product data source to submit product data for both online and local offers.

Use this attribute to exclude products that are not sold in shops from appearing in your local inventory ads and free local listings.

GTIN [gtin]

MPN [mpn]

Brand [brand]

Optional

If you're using a legacy local products data source to submit product data for local offers, you may use these attributes to match the products that you sell both online and in store across your products data source and your local products data source. To do this, you have two options:

If you're using any unique product identifiers to match, you need to include the condition [condition] attribute in this data source.

Price [price]

Sale price [sale_price]

Sale price effective date [sale_price_effective_date]

Unit pricing measure [unit_pricing_measure]

Unit pricing base measure [unit_pricing_base_measure]

Recommended Price [price], sale price [sale_price] and sale price effective date [sale_price_effective_date] can be submitted in the primary data source if the product price is consistent across shops.

Required: Price [price], sale price [sale_price] and sale price effective date [sale_price_effective_date] are required in the primary data source when using product page with in-store availability.

Required: Unit pricing measure [unit_pricing_measure] and unit pricing base measure [unit_pricing_base_measure] are required when regulated by local laws or regulations.

Collection method [pickup_method]

Collection SLA [pickup_SLA]

If you want to allow people to purchase products online and pick them up in store, you will need to provide these two attributes:

  • Collection method [pickup_method] and collection SLA [pickup_SLA] may also be submitted at the shop level in your local inventory data source.
Important: From 1 September 2024, collection method [pickup_method] is optional to enable click and collect for your offers.

Learn more about pick up today, pick up later for in-store inventory data and pick up later with product data.

Link [link]

Link template[link_template]

Mobile link template [mobile_link_template]

Ads redirect [ads_redirect]

Optional if you want to participate in a merchant-hosted local shop front.

Link [link] is required for product page with in-store availability.

Link for merchant-hosted local shop front [link_template] is required for store-specific product page with in-store availability and price.

Mobile link for merchant-hosted local shop front [mobile_link_template] and ads redirect [ads_redirect] are optional.

Important note (XML only): If you're updating your Merchant Center data source in XML for any of the attributes listed below, you must add the Google Merchant Center namespace declaration. Otherwise, your data source may not be processed correctly.

Required identification attributes

These attributes tell us basic information about your products and are required for all items.

Required energy efficiency class attributes (EU only)

The energy efficiency class [energy_efficiency_class], minimum energy efficiency class [min_energy_efficiency_class] and maximum energy efficiency class [max_energy_efficiency_class] attributes are optional but you may be required to provide this information based on local laws or regulations. For example, if your products target any of the EU Member States, the United Kingdom or Switzerland, consider the legal requirements on this matter defined in the national implementation acts of Regulation (EU) 2017/1369 and any other applicable local law.

Recommended exclusion attributes

Note: The following attributes are recommended if you're using a single primary data source to submit product data for both online and local offers that show in ads and free product listings.

You can use the excluded destination [excluded_destination] attribute to exclude products that are ineligible for a particular destination. Use it to control the different locations where your content can appear. For example, you could use this attribute if you want a product to appear in a Shopping ads campaign, but not in local offers.

When to include: Recommended if you want to prevent your product from participating in certain types of ads and listings.

Supported values:

Note: Some of the names for product destinations have been updated. You may have previously submitted the following values as destinations for your products: Shopping Actions, Surfaces across Google, Local surfaces across Google. These values will still be accepted, but we recommend that you update your products to include the new values for these destinations: free_listings, free_local_listings.

Format

Follow these formatting guidelines to make sure that we understand the data that you're submitting.

Supported values Shopping_ads, Display_ads, Local_inventory_ads, Free_listings, Free_local_listings
Repeated field Yes
File format Example value
Text data sources Display_ads
XML data sources <g:excluded_destination>Display_ads</g:excluded_destination>

Repeated fields

Text

To submit multiple destinations that you would like to exclude, submit the attribute multiple times, once for each destination (recommended). For example:

Product data for an orthopaedic dog bed
Attribute Value
Title [title] XXL orthopaedic dog bed
Excluded destination [excluded_destination] Display_ads
Excluded destination [excluded_destination] Shopping_ads

You can also separate each destination with a comma (,):

Display_ads, Shopping_ads

XML

To submit multiple destinations to exclude for an XML data source, include a separate attribute for each excluded destination:

<g:excluded_destination>Display_ads</g:excluded_destination>

<g:excluded_destination>Shopping_ads</g:excluded_destination>

For more format API information, see the Content API for Shopping

Matching attributes if you are using a legacy local products data source (optional)

Note: The following only applies if you are using a legacy local products data source.

Clothing

Clothing require several additional attributes in the primary data source:

Pricing attributes (optional)

There are also some optional attributes that you can submit if they apply to you:

Click and collect attributes (optional)

You can highlight the click and collect option by adding the following two attributes to your data source. Add these attributes to your primary data source for any items where the values are true in all shops (for example, a customer can pick up the XYZ television in any of your shops nationally).

Store-specific product pages with in-store availability and price attributes (optional)

To use the store-specific product pages with in-store availability and price, add the attributes ads redirect [ads_redirect] and link for merchant-hosted local shop front [link_template] to your primary data source. You can also add the optional attribute mobile link for merchant-hosted local shop front [mobile_link_template] to deliver a merchant-hosted local shop front optimised for mobile devices and measure mobile clicks.

Additional attributes (optional)

Submit additional information about your products in your primary data source for more detailed ads or listings. See the product data specification for all of the possible attributes.

Was this helpful?

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