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