> 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).

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

| 如果你想……          | 使用此方法……                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 无需编程，提交一次性的手动文件 | ​[电子邮件](/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/submit-conversion-data/submit-conversion-data-via-ftp-or-email.md#before-you-start) 批量处理，或 [通过 FTP 上传文件](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals#upload-file-to-system-ftp-server)                                                                                                                                                                                                                            |
| 设置自动化转换报告       | ​[转化](https://integrations.impact.com/brand-api-reference/reference/conversions/conversions) / [操作](https://integrations.impact.com/brand-api-reference/reference/actions) API， [通过 FTP 推送文件](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals#upload-file-to-system-ftp-server)，或 [通过 FTP 拉取文件](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/submit-batch-modifications-and-reversals#pull-file-from-your-own-ftp-server) |

### 需要注意的事项：

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

{% stepper %}
{% step %}

#### 步骤 1：准备您的数据文件

1. 确定与您的使用场景相关的模板文件。
   * 请参见 [批量修改与撤销参考](/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）或文本编辑器（如 Notepad）中。
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/电子邮件批处理过程中常用字段列表，请参见 [批量修改与撤销参考](/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 %}
impact.com 允许每次操作最多进行 1,000 次修改。如果之后您还需要进行更多修改， [联系支持](https://app.impact.com/support/portal.ihtml).

1. 在顶部导航栏中，选择 ![](/files/7e98afd4e334c165e5d5781599a29836d600e210) **\[用户资料] → 设置**.
2. 在右侧栏中，位于 *跟踪*，选择 [**事件类型**](https://app.impact.com/secure/advertiser/tracking-settings/actiontracker/view-actiontracker-flow.ihtml).
3. 选择 **名称** 的事件类型，您希望对其提交批量修改。
4. 在 *退货处理*，选择 ![](/files/ae87ea28f541bc1749d482fcfdb423e5cb4965f8) **\[编辑]**.
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="/files/3a7b8023ca15b3bacf4f5352752ce14998b315b6" alt="" width="446"><figcaption></figcaption></figure></div>

</details>
{% endstep %}

{% step %}

#### 步骤 3：查看您的文件提交

将您的 .CSV 或 .XML 文件发送到 impact.com 后，您可以返回查看其状态，了解是否已处理。

1. 在顶部导航栏中，选择 ![](/files/7e98afd4e334c165e5d5781599a29836d600e210) **\[用户资料] → 设置**.
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。                                                                                                                                                                    |
| `无更改`                                 | 未对该操作进行任何更改。请确保将最终金额输入到 *金额* 列（例如，如果您想撤销操作，请输入 0）。                                                                                                                                        |
| `无效处置`                                | <p>您提供的原因代码无效。请使用标准原因代码之一 <a href="/pages/73d86cbc9340800ac1deebeed7bcb40645fc4f96">原因代码</a>.</p><p>或者，您可以设置一个 <a href="/pages/e3e08d2a70b519195027fa14e3f87e1da5adbaee">自定义处置代码</a>.</p> |
| `已锁定`                                 | 操作锁定期已经过去。该操作不再可进行修改或撤销。                                                                                                                                                                  |
| `ActionTrackerld:ActionTrackerld 值无效` | 这应对应于 [事件类型 ID](/brand/zh/what-would-you-like-to-learn-about/platform-features/event-types/how-do-i-find-my-event-type-ids.md) 已输入。                                                       |
| `未找到操作`                               | 该 `OID` 您提供的内容不正确。请提供一个正确的 `OID`.                                                                                                                                                         |
| `已撤销`                                 | 该操作已被撤销。                                                                                                                                                                                  |
| `已批准`                                 | 该操作已被批准。                                                                                                                                                                                  |

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