> 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/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals.md).

# 提交批量修改和撤销

当合作伙伴促成转化（例如销售），且该操作的锁定期尚未结束时，您可以提交修改或撤销来更正错误的操作数据。这样可确保锁定期结束时正确向合作伙伴付款。

客户退货、结账时出错或商品缺货时，通常需要修改或撤销操作。

您可以通过 API 批量提交修改和撤销，也可以按照本文所述通过 FTP/电子邮件提交。FTP/电子邮件提交所需的模板取决于您是在订单级还是商品级进行跟踪，因为两者需要不同的字段。如果不确定该使用哪个文件，请咨询您的 CSM 或 [联系支持团队](https://app.impact.com/support/portal.ihtml).

### 哪种提交方式适合您？

| 如果您想要……          | 使用此方法……                                                                                                                                                                                                                                                                      |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 无需编写代码，手动提交一次性文件 | ​[电子邮件](#step-2-submit-your-data-file) 批量处理，或 [通过 FTP 上传文件](#step-2-submit-your-data-file)​                                                                                                                                                                                  |
| 设置自动转化报告         | ​[转化](https://integrations.impact.com/brand-api-reference/reference/conversions/conversions) / [操作](https://integrations.impact.com/brand-api-reference/reference/actions) API、 [通过 FTP 推送文件](#step-2-submit-your-data-file)，或 [通过 FTP 拉取文件​](#step-2-submit-your-data-file) |

### 请注意以下事项：

* **使用受支持的文件格式** — 提交文件必须为 .CSV 或 .XML 格式。
* **不要添加新的数据点** — 您不能为交易添加新字段，只能更新现有字段。
* **了解去重处理方式** — 多个操作共用相同的 *Oid/OrderId*时，impact.com 会将更新应用于最新的 *ActionId*。若要覆盖此设置，请指定所需的 *ActionId*.
* **正确使用&#x20;*****Amount*****&#x20;进行撤销** — 要撤销某项操作，可以将 *Amount = 0*。但是，如果原始 *Amount = 0*，将其保留为 0 会被登记为修改，而不会撤销该操作。

{% stepper %}
{% step %}

#### 第 1 步：准备数据文件

1. 根据您的使用场景，找到相应的模板文件。
   * 请参阅 [批量修改与撤销参考](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/batch-modifications-and-reversals-reference.md) 获取包含示例数据的模板文件。
2. 将模板内容粘贴到电子表格应用（例如 Microsoft Excel）或文本编辑器（例如记事本）中。
3. 在标题行下方，开始添加修改后的操作数据。

   * 如果使用文本编辑器，请用逗号分隔各个数据点。
   * 如果使用电子表格编辑器，请将每个数据点填入单独的单元格。

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>注意：</strong> 请确保将电子表格单元格设为“纯文本”或“文本”格式，以免数值意外丢失。</p></div>
4. 使用易于识别的名称保存文件，例如： `Batch_Mods/Reversals_2025_02_12.csv`
   * 有关 FTP/电子邮件批量处理中常用字段的列表，请参阅 [批量修改与撤销参考](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/batch-modifications-and-reversals-reference.md)。或者，请参阅我们的 [操作与转化字段参考](https://integrations.impact.com/brand-api-reference/reference/action-and-conversion-field-references) 查看支持字段的完整列表。
     {% endstep %}

{% step %}

#### 第 2 步：提交数据文件

impact.com 每项操作最多允许进行 1,000 次修改。如果之后还需要进行更多修改， [请联系支持团队](https://app.impact.com/support/portal.ihtml).

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media\&token=f84c5b17-fae4-4a30-990a-9de5e57a150b) **\[用户个人资料] → 设置**.
2. 在右侧栏的 *跟踪*下，选择 [**事件类型**](https://app.impact.com/secure/advertiser/tracking-settings/actiontracker/view-actiontracker-flow.ihtml).
3. 选择 **名称** 对应的事件类型，以提交批量修改。
4. 在 *退货处理*旁边，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fkka3dqJOx8ZhiX82RDLt%2FEdit_light.svg?alt=media\&token=f454405c-ebd8-49af-90db-22efc27476bf) **\[编辑]**.
5. 选择 **自动处理退货（高级）**，然后选择 **批量上传**.
6. 选择以下一种与 FTP 或电子邮件相关的方法来提交文件：

<details>

<summary>将文件上传到系统 FTP 服务器</summary>

{% hint style="info" %}
建议拆分 FTP/SFTP 文件，以确保每个文件中的条目数不超过 10,000 条。
{% endhint %}

1. 选择 **将文件上传到系统 FTP 服务器。**
2. 选择 **通过电子邮件发送 FTP 用户名和密码** 并 **保存**.
3. 通过电子邮件收到 FTP 凭据后，请使用 FTP 客户端通过以下信息连接到 impact.com：

   |         | FTP                            | SFTP                            |
   | ------- | ------------------------------ | ------------------------------- |
   | **服务器** | batch.impact.com               | sftp\://batch.impact.com        |
   | **端口**  | 21                             | 22                              |
   | **用户名** | （您的 impact.com FTP 用户名，区分大小写。） | （您的 impact.com SFTP 用户名，区分大小写。） |
   | **密码**  | （您的 impact.com FTP 密码，区分大小写。）  | （您的 impact.com SFTP 密码，区分大小写。）  |
4. 连接后，将文件上传到服务器的主目录。
   * 如果您尚未收到 FTP 凭据邮件，请联系创建 impact.com 账户的人员。或者， [请联系支持团队](https://app.impact.com/support/portal.ihtml).

</details>

<details>

<summary>从您自己的 FTP 服务器提取文件</summary>

{% hint style="info" %}
建议拆分 FTP/SFTP 文件，以确保每个文件中的条目数不超过 10,000 条。
{% endhint %}

1. 选择 **从您自己的 FTP 服务器提取文件**.
2. 输入 **服务器 URL**, **端口**和 **目录** 路径，即批量修改文件在您的 FTP 服务器上的存储路径。输入 **用户名** 和 **密码** ，impact.com 将使用这些信息连接到您的 FTP 服务器。
3. 选择 **保存** 并继续。
4. 将文件上传到您之前指定的 *目录* 中。
   * impact.com 每 24 小时尝试连接到您的 FTP 服务器并下载文件，因此文件上传后最多可能需要 24 小时才能处理。

</details>

<details>

<summary>将文件通过电子邮件发送到系统 SMTP 服务器</summary>

1. 选择 **将文件通过电子邮件发送到系统 SMTP 服务器。**
2. 系统会在您选择的方法下方提供一个唯一的电子邮件地址。请复制此电子邮件地址。
3. 使用任意电子邮件客户端，向该唯一地址发送电子邮件，并将批量修改文件作为附件。
   * 在 *收件人：* 字段中仅填写该事件类型对应的专属电子邮件地址。如果需要将此文件发送给其他人，请将他们添加到 *抄送：* 字段中。
4. 主题和邮件正文可以留空。
   * 以下是电子邮件地址示例（您的地址会略有不同）：

<div data-with-frame="true"><figure><img src="https://1651675991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpVKEIcehMut8QKRmaUZu%2Fuploads%2F4KrGuAmvXvwqwYUxauT0%2FScreenshot%202026-10-07%20at%2023.37.54.png?alt=media&amp;token=5835d762-9ad4-41c3-9715-d79be84c5af9" alt="" width="563"><figcaption></figcaption></figure></div>

</details>
{% endstep %}

{% step %}

#### 第 3 步：查看文件提交情况

将 .CSV 或 .XML 文件发送至 impact.com 后，您可以稍后查看其状态，确认文件是否已处理。

1. 在顶部导航栏中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-b527686787b925f477dff4feb9be3a63f51250a7%2Fdcf31aa89710c2f91d880b79ce8d8c18489cd8cad334e5cd91dd7ee0372a44fd.svg?alt=media) **\[用户个人资料] → 设置**.
2. 在左侧栏中，滚动到 *技术* 部分，然后选择 [**文件提交**](https://app.impact.com/secure/advertiser/accountSettings/techintegration/ftp-file-submissions-flow.ihtml).
3. 使用此表查看 impact.com 收到的近期文件提交记录，包括当前处理状态。
   * 提交的文件会在提交后 10–15 分钟内显示，而常规报告更新可能需要 2 小时以上。
   * 查看文件提交记录时，您可能会遇到以下问题；您可以采取相应措施进行排查。

<details>

<summary>提交问题排查参考</summary>

| 问题                                                 | 应采取的措施                                                                                                                                                                                                                                                                                                                                                                                                                            |
| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 记录数列显示为 0                                          | 请确保文件扩展名为 .CSV 或 .XML。                                                                                                                                                                                                                                                                                                                                                                                                            |
| `NO_CHANGE`                                        | 操作未发生任何更改。请确保在 *金额* 列中输入最终金额（例如，要撤销操作，请输入 0）。                                                                                                                                                                                                                                                                                                                                                                                     |
| `BAD_DISPOSITION`                                  | <p>您提供的原因代码无效。请使用标准 <a href="https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/batch-modifications-and-reversals-reference.md">原因代码</a>.</p><p>或者，您也可以设置 <a href="https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/manage-disposition-codes.md">自定义处置代码</a>.</p> |
| `ALREADY_LOCKED`                                   | 操作锁定期限已过。该操作无法再修改或撤销。                                                                                                                                                                                                                                                                                                                                                                                                             |
| `ActionTrackerld:ActionTrackerld value is invalid` | 此值应与您输入的 [事件类型 ID](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/event-types/how-do-i-find-my-event-type-ids.md) 相对应。                                                                                                                                                                                                                                                                     |
| `ACTION_NOT_FOUND`                                 | 您提供的 `OID` 不正确。请提供正确的 `OID`.                                                                                                                                                                                                                                                                                                                                                                                                      |
| `ALREADY_REVERSED`                                 | 该操作已撤销。                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `ALREADY_APPROVED`                                 | 该操作已获批准。                                                                                                                                                                                                                                                                                                                                                                                                                          |

</details>
{% endstep %}
{% endstepper %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
