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

A *处置代码* 是一种自定义代码，用于初始化操作的状态，或在操作更新时更新其状态。

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

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

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

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. 在右侧的 *计划* 列中，找到 *跟踪* 部分，然后选择 **事件类型**.
3. 找到要添加处置代码的事件类型，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[菜单] → 处置代码**.
4. 在 *处置代码* 页面右上角，选择 **添加处置代码**.
5. 根据需要配置处置代码：
   * **处置代码：** 选择使用标准代码，或创建自定义代码。处置代码区分大小写；使用时必须提交与此处输入的值完全一致的代码。
   * **处置名称：** 为此处置代码命名。该名称会显示在此事件类型的“处置代码”页面上。
   * **状态转换：** 选择此处置代码应用于操作的报告状态；合作伙伴将能够看到该状态。
   * **操作变更：** 选择应用此处置代码时对操作执行的变更。
6. 选择 **保存** 以创建代码。

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

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. 在右侧的 *计划* 列中，找到 *跟踪* 部分，然后选择 **事件类型**.
3. 找到要添加处置代码的事件类型，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[菜单] → 处置代码**.
4. 在 *处置代码* 页面上，找到要删除的处置代码。
5. 在 *操作* 列中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-df93ac0f80fc5cece7983980a5ce3fbcf19aabce%2F3ef9d737089bc07dbb7e4fd41a97edfbaec261e4f55ab3a1666f3daf957f69c3.svg?alt=media) **\[下拉菜单] → 删除**.
6. 在警告对话框中，选择 **我已了解，继续**.

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

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. 在 *计划* 列（右侧）中，找到 *跟踪* 部分，然后选择 **事件类型**.
3. 找到要添加处置代码的事件类型，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FMLtRUwWz0pujlfmYWOgg%2FMoreVN.svg?alt=media\&token=03a3c355-a347-4207-baf7-c44fadf6d080) **\[菜单] → 处置代码**.
4. 在 *处置代码* 页面上，找到要编辑的处置代码。
5. 在 *操作* 列中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-df93ac0f80fc5cece7983980a5ce3fbcf19aabce%2F3ef9d737089bc07dbb7e4fd41a97edfbaec261e4f55ab3a1666f3daf957f69c3.svg?alt=media) **\[下拉菜单] → 编辑**.
6. 完成编辑后，选择 **保存**.

<details>

<summary>配置示例</summary>

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

我们有三个要求：

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

**创建处置代码**

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. 在 *计划* 列（右侧）中，找到 *跟踪* 部分，然后选择 **事件类型**.
3. 在事件类型列表中，找到我们要修改的事件类型。在此示例中，我们将修改唯一的 *销售* 事件类型。
4. 在“操作”列中，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-df93ac0f80fc5cece7983980a5ce3fbcf19aabce%2F3ef9d737089bc07dbb7e4fd41a97edfbaec261e4f55ab3a1666f3daf957f69c3.svg?alt=media) **\[下拉菜单] → 处置代码**.
5. 在 *处置代码* 页面的右上角，选择 **添加处置代码**.
6. 接下来，根据我们的要求配置处置代码。
7. 选择 **保存**。现在，此处置代码可在修改操作时用作 `Reason` （通过 [CSV 文件](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-overview.md) 或 [API](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-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 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/tracking/set-up-tracking/manage-disposition-codes.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.
