> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/product-promotions/upload-product-promotion-files.md).

# 上传产品促销文件

该 *商品促销* 功能可让您与合作伙伴分享特别优惠和促销活动。这些优惠会显示在合作伙伴商品信息流、商品 API 以及 impact.com’s 商品市场中，其中 *特别优惠* 标签会直接显示在搜索结果中的商品卡片上。

{% hint style="warning" %}
**重要：** 在开始之前，您需要拥有一个有效的商品目录。有关创建首次商品上传的帮助，请参见 [添加商品目录](/brand/zh/what-would-you-like-to-learn-about/platform-features/product-catalogs/add-product-catalogs-as-a-brand.md).
{% endhint %}

#### 上传促销文件

{% tabs %}
{% tab title="直接上传" %}

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 内容 → 商品 → 商品促销**.
2. 在右上角，选择 **上传促销文件**.
3. 输入您的 **促销文件名称**.
4. 选择 ![](/files/ab9a3d8dd653502900038f5f352bd3f23c771f2c) **\[单选按钮]** **直接上传** 方式。
5. 选择文件 **格式**.
   * impact.com 仅支持 *Google Merchant Center（TXT 格式）* 即 `.txt` 和 *Google Merchant Center（CSV 格式）* 即 `.csv` 文件。
   * 更多信息请参阅下方的 [*商品促销信息流字段参考*](#para-idm73509110741608) 下方可了解更多关于这些字段的信息。
6. 选择 **选择文件**.
   * 从您的电脑中找到要上传的文件。
7. 选择您首选的 **语言** 和 **保存**.
   {% endtab %}

{% tab title="从 URL 拉取" %}
此选项支持从 FTP/SFTP 服务器或 HTTP/HTTPS URL 拉取文件，以确保促销数据为最新。

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 内容 → 商品 → 商品促销**.
2. 在右上角，选择 **上传促销文件**.
3. 输入您的 **促销文件名称**.
4. 选择 ![](/files/ab9a3d8dd653502900038f5f352bd3f23c771f2c) **\[单选按钮]** **从 URL 拉取** 上传方式。
5. 选择文件 **格式**.
   * impact.com 仅支持 *Google Merchant Center（TXT 格式）* 即 `.txt` 和 *Google Merchant Center（CSV 格式）* 即 `.csv` 文件。
   * 更多信息请参阅下方的 [*商品促销信息流字段参考*](#para-idm73509110741608) 下方可了解更多关于这些字段的信息。
6. 输入 **名称** 您的文件 *上传文件名称*.
   * [查看此模板](https://docs.google.com/spreadsheets/d/1OUr9Hoc2DRnS3KnyXwAetcgtho76ftej/edit?usp=sharing\&ouid=106843525620835185016\&rtpof=true\&sd=true) 以获取上传促销活动时的指导。
7. 输入 **拉取 URL** 指向促销数据文件所在目录的 URL。
   * 该 URL 可以是 FTP 或 HTTPS URL。例如， `ftp://ftp.acme.com` 或 `https://acme.com/anvil_promotions/anvil.txt`
8. 选择 **抓取频率** 影响.com 将抓取文件的频率：
   * 每天
   * 每 8 小时
   * 每 4 小时
   * 每 2 小时
9. 选择 **抓取时间** impact.com 将抓取文件的时间。
   * 显示的选项为 GMT -05:00 美国东部时间。
10. 选择您的 **时区**.
11. 选择您首选的 **语言** 和 **保存**.
    {% endtab %}
    {% endtabs %}

<details>

<summary>商品促销信息流字段参考</summary>

| 预期字段                             | 必填？ | 说明                         | 格式                                                                                                                                                                                                                                                                                                                                                                                                                       |
| -------------------------------- | --- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ID `[promotion_id]`              | 是   | 每个促销活动的唯一 ID。              | 此 ID 为数字格式，不应包含空格或符号，例如， `103330482`.                                                                                                                                                                                                                                                                                                                                                                                    |
| 适用性 `[product_applicability]`    | 是   | 此属性指定该促销适用于所有商品还是仅适用于特定商品。 | <p>支持的值：</p><p>• <code>all\_products</code></p><p>• <code>specific\_products</code></p><p><strong>注意：</strong> impact.com 只能将您的 <a href="https://support.google.com/merchants/answer/2906014?hl=en">Google 促销信息流文件</a> 中的促销与您的 <a href="/pages/75eef92bfd91d38a6ed526df7e85819b0b71bfa8">产品目录</a> 中特定商品进行映射，前提是您的商品信息流包含 <code>promotion\_id</code>。换句话说，如果您的商品信息流不包含促销 ID，您就不能使用 <code>specific\_products</code> 值。</p> |
| 说明 `[long_title]`                | 是   | 每个促销活动的完整标题。               | 标题的最大长度为 60 个字符。例如， `购买即赠免费杯子`.                                                                                                                                                                                                                                                                                                                                                                                          |
| 生效 `[promotion_effective_dates]` | 是   | 促销活动的时间段。                  | <p>• 如果您选择添加现有模板， <strong>开始</strong> 和 <strong>结束</strong> 日期之间以斜杠（/）分隔。</p><p>• 日期格式为（YYYY-MM-DD），后接字母 ‘T’、促销开始或结束的时间，以及促销时区表达。</p><p>• 示例： <code>2009-07-19T03:00:00+00:00/2009-07-26T21:00:00+00:00</code></p>                                                                                                                                                                                                       |
| 显示 `[promotion_display_dates]`   | 否   | 此属性指定促销上线的日期和时间范围。         | 该 **开始** 和 **结束** 日期之间以斜杠（/）分隔，例如， `2009-07-19T03:00:00+00:00/2009-07-26T21:00:00+00:00`.                                                                                                                                                                                                                                                                                                                                |
| 渠道 `[redemption_channel]`        | 是   | 此属性表示促销在线上或店内有效。           | <p>支持的值：</p><p>• <code>online</code></p><p>• <code>in\_store</code></p>                                                                                                                                                                                                                                                                                                                                                  |
| 优惠代码类型 `[offer_type]`            | 是   | 此属性表示客户兑换优惠是否需要优惠码。        | <p>支持的值：</p><p>• <code>no\_code</code></p><p>• <code>generic\_code</code></p><p><strong>重要：</strong> 如果此属性的值为 <code>generic\_code</code>，然后 <code>generic\_redemption\_code</code> 是必需的。</p>                                                                                                                                                                                                                             |
| 优惠代码 `[generic_redemption_code]` | 否   | 此属性指定可用于在线兑换促销的代码。         | 最大长度为 20 个字符，例如， `EXTRA20`.                                                                                                                                                                                                                                                                                                                                                                                              |
| 目标 `[promotion_destination]`     | 否   | 此属性指定每个促销的格式。              | <p>支持的值：</p><p>• <code>Shopping\_ads</code></p><p>• <code>Buy\_on\_Google\_listings</code></p><p>• <code>Free\_listings</code></p><p>要将您的促销提交到一个或多个目标，请将每个目标值作为单独的列提交。</p>                                                                                                                                                                                                                                               |

</details>

#### 排查错误和警告消息

<details>

<summary>查看错误和警告</summary>

在 *商品促销* 界面中，在 *Health* 列下，选择 *错误* 或 *警告* 以查看有关错误的更多信息，如错误类型或错误消息。请参见 [管理您的商品促销文件](/brand/zh/what-would-you-like-to-learn-about/platform-features/product-promotions/manage-your-product-promotion-files.md) 以了解更多关于您的促销文件 *Health* 的信息。

</details>

<details>

<summary>搜索和筛选错误</summary>

您可以点击文件 *错误* 和 *警告* 并使用搜索字段和筛选器对所有已上传促销文件的错误进行排序。

*错误类型* 筛选器包括：

* 全部
* 警告
* 错误
* Duplicate

</details>

<details>

<summary>错误和警告消息</summary>

| 错误消息                    | 说明                     |
| ----------------------- | ---------------------- |
| 缺少必填字段：{Required field} | 上传文件中缺少一个或多个必填字段。      |
| 由于有效期已过，记录已跳过           | 该促销的有效结束日期已过，因此该记录被跳过。 |

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/product-promotions/upload-product-promotion-files.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
