Notification

在本帮助中心中,您可以找到有关 Merchant Center Next 和传统版 Merchant Center 体验的内容。查看每篇文章顶部的徽标,确保您参阅的文章适用于您所使用的 Merchant Center 版本。

您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

About attributes with repeated fields

A custom icon for Merchant Center Next articles

If you’re looking for information about attributes with repeated fields in the classic Merchant Center experience, click here.

When submitting your product data, you can submit multiple values for some attributes. For example, you can submit multiple values for the additional image link [additional_image_link] attribute in order to submit multiple images of your product.

This article explains how this process works for each supported format.


Before you begin

Make sure you know the requirements for each attribute and whether or not the attribute accepts repeated fields. Learn more about the product data specification.

You can submit product data in many different ways. Before reading this article, make sure you understand how you submit your data. Learn how to upload your products to Merchant Center.


How it works

Sometimes you may want to submit multiple values for an attribute. For example, to submit shipping costs for multiple areas using the shipping [shipping] attribute, you need to submit a different value for each area.

Exactly how this process works is different depending on the format of your product data.

Text data source: Google Sheets

If you submit your product data through Google Sheets, you have 2 options: separate each value with a comma or create multiple columns (one for each value). Here's what those options look like.

Option 1: Separate each value with a comma in Google Sheets

Add each value to the same cell, but separate them with a comma (,) and do not add a space. For example, this is how to submit 3 values for the product type [product_type] attribute:

  N O P
1

...

product_type ...
2 ... Home,Garden & Kitchen, Dishware ...
3 ... ... ...

For an attribute with sub-attributes, separate each sub-attribute with a colon, but still separate each overall value with a comma (and do not add a space). For example, this is how to submit 3 values for the shipping [shipping] attribute:

  N O P
1 ... shipping ...
2 ... US:80302:Same Day:30.00 USD,US:94002-95460:Overnight:16.00 USD,US:900*-901*:Ground:2.30 USD ...
3 ... ... ...

If you submit a URL that contains a comma, make sure that comma is encoded (as %2C). For example, this is how to submit 2 image URLs (that contain commas) for the additional image link [additional_image_link]:

  I J K
1 ... additional_image_link ...
2 ... http://example.com/image2%2C3.jpg,http://example.com/image2%2C4.jpg ...
3 ... ... ...

Option 2: Create multiple columns in Google Sheets

Create multiple columns for the attribute and add 1 value to each column. For example, this is how to submit 3 values for the product type [product_type] attribute:

  N O P Q R
1 ... product_type product_type product_type ...
2 ... Home Garden & Kitchen Dishware ...
3 ... ... ... ... ...

For an attribute with sub-attributes, separate each sub-attribute with a colon and add each overall value to its own column. For example, this is how to submit 3 values for the shipping [shipping] attribute:

  N O P Q R
1 ... shipping shipping shipping ...
2 ... US:80302:Same Day:30.00 USD

US:94002-95460:Overnight:16.00 USD

US:900*-901*:Ground:2.30 USD ...
3 ... ... ... ... ...

Text data source: Tab-delimited

If you submit your product data through a tab-delimited product data source, you have 2 options: separate each value with a comma or create multiple columns (one for each value). Here's what those options look like.

Option 1: Separate each value with a comma with a tab-delimited product data source

This option does not work with Excel and some other spreadsheet programs, as they automatically add additional quotation marks. If you're using Excel (or another spreadsheet program that is not Google Sheets), we recommend that you use the other option (create multiple columns with a tab-delimited product data source) described below.

Add each value to the same cell, but separate them with a comma (,) and do not add a space. For example, this is how to submit 3 values for the product type [product_type] attribute:

  N O P
1 ... product_type ...
2 ... Home, Garden & Kitchen, Dishware ...
3 ... ... ...

For an attribute with sub-attributes, separate each sub-attribute with a colon, but still separate each overall value with a comma. For example, this is how to submit 3 values for the shipping [shipping]attribute:

  N O P
1 ... shipping ...
2 ... US:80302:Same Day:30.00 USD,US:94002-95460:Overnight:16.00 USD,US:900*-901*:Ground:2.30 USD ...
3 ... ... ...

If you're submitting a URL that contains a comma, make sure that comma is encoded (as %2C). For example, this is how to submit 2 image URLs (that contain commas) for the additional image link [additional_image_link] attribute:

  I J K
1 ... additional_image_link ...
2 ... http://example.com/image2%2C3.jpg,http://example.com/image2%2C4.jpg ...
3 ... ... ...

Option 2: Create multiple columns with a tab-delimited product data source

Create multiple columns for the attribute and add 1 value to each column. For example, this is how to submit 3 values for the product type [product_type] attribute:

  N O P Q R
1 ... product_type product_type product_type ...
2 ... Home Garden & Kitchen Dishware ...
3 ... ... ... ... ...

For an attribute with sub-attributes, separate each sub-attribute with a colon and add each overall value to its own column. For example, this is how to submit 3 values for the shipping [shipping] attribute:

  N O P Q R
1 ... shipping shipping shipping ...
2 ... US:80302:Same Day:30.00 USD

US:94002-95460:Overnight:16.00 USD

US:900*-901*:Ground:2.30 USD ...
3 ... ... ... ... ...

XML data source

If you submit your product data through an XML file format, specify multiple values by submitting the attribute multiple times.

For example, this is how to submit 3 values for the shipping [shipping] attribute:

<g:shipping>
  <g:country>US</g:country>
  <g:region>MA</g:region>
  <g:service>Same Day</g:service>
  <g:price>30.00 USD</g:price>
</g:shipping>
<g:shipping>
  <g:country>US</g:country>
  <g:region>900*-901*</g:region>
  <g:service>Overnight</g:service>
  <g:price>16.00 USD</g:price>
</g:shipping>
<g:shipping>
  <g:country>US</g:country>
  <g:region>CA</g:region>
  <g:service>Ground</g:service>
  <g:price>2.30 USD</g:price>
</g:shipping>

该内容对您有帮助吗?

您有什么改进建议?
Search
Clear search
Close search
Main menu
10542470224723113887
true
搜索支持中心
true
true
true
true
true
71525
false
false