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

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

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

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

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

<details>

<summary>示例配置</summary>

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

我们有三个要求：

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

**创建处置代码**

1. 从顶部导航栏中选择 ![](/files/1cbb667ec4878308f24ec4acd13cbf03ede0bdfe) **\[用户资料] → 设置**.
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:

```
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>
```

The question should be specific, self-contained, and written in natural language.
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.
