> 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/tracking/set-up-tracking/manage-disposition-codes.md).

# 管理处理结果代码

<a href="https://pxa.impact.com/student/activity/1117597?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=tra-350&#x26;utm_campaign=help-center" class="button primary">参加 PXA 课程</a>

一个 *处置代码* 是一个自定义代码，用于在操作状态初始化时，或在操作状态更新时对其进行更新。

在大多数情况下，处置代码用于定义操作发生变更（即修改、批准或撤销）时的自定义原因。在存在开放式锁定或较长操作审批窗口的场景中，处置代码可以提高对合作伙伴的透明度，使其能够看到待处理操作的报告状态更新。

在向 impact.com 提交转化，或提交操作更新（修改和撤销）时，会使用处置代码。

#### **创建处置代码**

1. 在顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在 *项目* 右侧的列中，找到 *跟踪* 部分并选择 **事件类型**.
3. 找到你想要添加处置代码的事件类型，选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[菜单] → 处置代码**.
4. 在 *处置代码* 页面右上角，选择 **添加处置代码**.
5. 根据你的需求配置处置代码：
   * **处置代码：** 选择使用标准代码还是创建你自己的代码。处置代码区分大小写——使用时，你必须提交此处提供的确切值。
   * **处置名称：** 为此处置代码提供一个名称，该名称将显示在该事件类型的“处置代码”页面上。
   * **状态转换：** 选择此处置将应用于该操作的报告状态——合作伙伴将能够看到这一点。
   * **操作变更：** 选择应用此处置代码时该操作将发生什么。
6. 选择 **保存** 以创建该代码。

#### **删除处置代码**

1. 在顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在 *项目* 右侧的列中，找到 *跟踪* 部分并选择 **事件类型**.
3. 找到你想要添加处置代码的事件类型，选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[菜单] → 处置代码**.
4. 在 *处置代码* 页面中，找到你想要删除的处置代码。
5. 在 *操作* 列下选择 ![](/files/0d8f59fc04ae8ae212757b90433e2a454cdfdbe6) **\[下拉菜单] → 删除**.
6. 在警告弹窗中，选择 **我已了解，继续**.

#### **编辑处置代码**

1. 在顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在 *项目* 列（右侧）中，找到 *跟踪* 部分并选择 **事件类型**.
3. 找到你想要添加处置代码的事件类型，选择 ![](/files/48274f9251fd79e93a99aad7b4393690b07a61c9) **\[菜单] → 处置代码**.
4. 在 *处置代码* 页面中，找到你想要编辑的处置代码。
5. 在 *操作* 列下选择 ![](/files/0d8f59fc04ae8ae212757b90433e2a454cdfdbe6) **\[下拉菜单] → 编辑**.
6. 进行编辑，然后选择 **保存**.

<details>

<summary>示例配置</summary>

在此示例中，我们将为一个标准在线销售/CPA 事件类型配置一个处置代码，该事件类型通过 CSV 文件接收修改和撤销。

我们有三个要求：

* 我们希望有一个自定义处置代码，用于表示因商品退货而修改了某个操作的情况。
* 当我们使用此代码修改一个操作时，我们希望通知合作伙伴，原因是订单中的某件商品被退回了。
* 该操作状态将在 impact.com 中显示为“已修改”。

**创建处置代码**

1. 在顶部导航栏中，选择 ![](/files/34cff7cafbbfcd416778a35b63cb058c27bcda8b) **\[用户资料] → 设置**.
2. 在 *项目* 列（右侧）中，找到 *跟踪* 部分并选择 **事件类型**.
3. 在事件类型列表中，我们需要找到要修改的事件类型。在这个示例中，我们将修改我们唯一的 *销售* 事件类型创建计划条款。
4. 在“操作”列下，选择 ![](/files/0d8f59fc04ae8ae212757b90433e2a454cdfdbe6) **\[下拉菜单] → 处置代码**.
5. 在 *处置代码* 页面右上角选择 **添加处置代码**.
6. 从这里开始，我们根据需求配置处置代码。
7. 选择 **保存**。现在，此处置代码可以用作 `原因` 在修改操作时使用（无论是 [通过 CSV 文件](/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/batch-modifications-and-reversals-overview.md) 或 [通过 API](/brand/zh/what-would-you-like-to-learn-about/platform-features/submit-and-modify-conversion-data/batch-modify-conversion-data/batch-process-reversals-via-api-web-services-overview.md)，具体取决于我们的事件类型配置）。

</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/tracking/set-up-tracking/manage-disposition-codes.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.
