Skip to main content

How to Import and Export Google Shopping Metafields in Shopify

Import and export Google Shopping metafields like custom labels, brand, and condition using Altera.

Updated today

Goal: Import and export Google Shopping metafields (custom labels, brand, condition, and more) so you can manage your Google Merchant Center product data in bulk through spreadsheets.

Prerequisites:

  • You have Altera installed on your Shopify store

Understanding Google Shopping Metafields

The Google & YouTube channel app stores product data in the mm-google-shopping metafield namespace. These metafields map directly to Google Merchant Center feed attributes like custom labels, brand, condition, and product category.

In Altera, you work with these metafields using the standard metafield column format:

Metafield: mm-google-shopping.{key} [single_line_text_field]

Here are the most commonly used Google Shopping metafields:

Column Header

Google Shopping Attribute

Metafield: mm-google-shopping.custom_label_0 [single_line_text_field]

Custom Label 0

Metafield: mm-google-shopping.custom_label_1 [single_line_text_field]

Custom Label 1

Metafield: mm-google-shopping.custom_label_2 [single_line_text_field]

Custom Label 2

Metafield: mm-google-shopping.custom_label_3 [single_line_text_field]

Custom Label 3

Metafield: mm-google-shopping.custom_label_4 [single_line_text_field]

Custom Label 4

Metafield: mm-google-shopping.google_product_category [single_line_text_field]

Google Product Category

Metafield: mm-google-shopping.brand [single_line_text_field]

Brand

Metafield: mm-google-shopping.condition [single_line_text_field]

Condition

Metafield: mm-google-shopping.gender [single_line_text_field]

Gender

Metafield: mm-google-shopping.age_group [single_line_text_field]

Age Group

Metafield: mm-google-shopping.color [single_line_text_field]

Color

Metafield: mm-google-shopping.size [single_line_text_field]

Size

Metafield: mm-google-shopping.material [single_line_text_field]

Material

Exporting Google Shopping Metafields

Follow these steps to export your existing Google Shopping metafield data.

Step 1 - Create a new export

In your Shopify admin, go to Apps and open Altera. Click New export.

Step 2 - Select products and fields

Select Products as the data type. Then select the General and Metafields field groups.

Step 3 - Filter to Google Shopping metafields only

Click the filter icon next to the Metafields field group. Add a filter condition with the following settings:

  • Column: Namespace

  • Relation: Equals

  • Value: mm-google-shopping

This ensures your export only includes Google Shopping metafields rather than every metafield on your products.

Step 4 - Start the export

Click Start export. Your exported file will contain the product ID, handle, and all Google Shopping metafields that have values on your products.

Importing Google Shopping Metafields

Follow these steps to bulk-update Google Shopping metafields from a spreadsheet.

Step 1 - Prepare your spreadsheet

Create a CSV or Excel file with at least one identifier column (ID or Handle) and the Google Shopping metafield columns you want to update. Use the exact column headers from the table above.

Step 2 - Upload and import

In Altera, click Upload file on the home page and select your spreadsheet. Review the import preview and click Run import.

Example Spreadsheet

Handle

Command

Metafield: mm-google-shopping.custom_label_0 [single_line_text_field]

Metafield: mm-google-shopping.brand [single_line_text_field]

Metafield: mm-google-shopping.condition [single_line_text_field]

blue-t-shirt

MERGE

Summer Sale

Acme Clothing

new

red-sneakers

MERGE

Clearance

Acme Footwear

new

Outcome

After exporting, you have a spreadsheet with your current Google Shopping metafield values filtered to just the mm-google-shopping namespace. After importing, your product metafields are updated in Shopify and will sync to Google Merchant Center through the Google & YouTube channel.

Next Steps

Did this answer your question?