> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.adnabu.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 如何在Google购物Feed中创建元字段并同步到Google Merchant Center？

## 在 Google Shopping Feed 应用中创建元字段并将其同步到商家中心涉及三个简单步骤：定义元字段、在 feed 应用中添加元字段，然后在 Shopify 中为元字段添加值
### 步骤 1：创建元字段定义

* 进入 Shopify 设置 > 自定义数据。
选择元字段是用于**产品**还是**变体**。

![](https://storage.crisp.chat/users/helpdesk/website/87f7644782da2800/1b39c053-718e-425a-9d3d-24b0d6_1azirgw.png)

* 选择产品并点击“添加定义”
* 提供名称、命名空间和关键字。命名空间和关键字将被系统用于识别此定义。在本文中，我们将以**GTIN**作为元字段示例。
添加描述并根据所需格式选择**数据类型**。选择正确的数据类型对于元字段的正常运行非常**重要**。[参考表格](https://help.adnabu.com/what-type-of-values-are-expected-for-specific-attributes)以获取每个属性的适当数据类型。

![](https://storage.crisp.chat/users/helpdesk/website/c30d79ee0445c000/52d94616-91f2-49ca-a782-03db56_1ua471w.png)

* 保存后，您的元字段定义将被创建。

**快速提示：** 如果属性适用于所有产品变体，则建议创建产品元字段。对于特定变体的唯一属性，选择变体元字段。例如，颜色将被分类为产品元字段。

### 步骤 2：在 Google Shopping Feed 应用中创建元字段

转到设置 > 元字段，然后点击添加元字段。

![](https://storage.crisp.chat/users/helpdesk/website/31b5abec8e398e00/9e6825d8-91d3-4820-99d4-ce854e_a6zkw7.png)

* 根据您的元字段定义选择适当的资源。
* 输入元字段的**关键字**和**命名空间**。在此示例中，命名空间将是产品，关键字将是 gtin。
* 从下拉菜单中选择要与 Google Merchant Center 同步的特定**属性**。在本例中，所选属性将是 GTIN。
单击提交以添加元字段。

![](https://storage.crisp.chat/users/helpdesk/website/797ceeaeaf8a0000/b5972117-c0ff-421b-8650-4aec08_jcj8es.png)

### 步骤 3：为元字段添加值

* 进入 Shopify 中的产品编辑页面。
* 滚动到底部的元字段部分。
* 在您创建的元字段中输入适当的数据。
* 确保数据格式符合 Google 的要求。请参考此表格以获取每个属性的适当格式。
保存产品并返回到 Google Shopping Feed 应用。

![](https://storage.crisp.chat/users/helpdesk/website/1b666bc371a3c200/a4e06837-7b3d-40e9-8df0-cc7608_6wnlmi.png)

* 更新 feed 以将您的属性同步到商家中心。您也可以访问商家中心检查属性是否已正确同步。