> 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/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/event-notifications-and-postbacks/enable-action-clearing-event-notifications.md).

# 启用操作清算事件通知

事件通知（有时也称为事件回传）是标准的 HTTP 通知，可在发生操作、点击或其他事件时通知你。事件回传可配置为将事件数据输入到你的内部报表系统，让你获得最新的事件视图。

当操作被清算时，Action Clearing Events 会向指定 URL（以及任何包含的参数）发出 HTTP 请求。了解更多关于 [*行动生命周期*](/brand/zh/what-would-you-like-to-learn-about/platform-features/actions-and-payouts/understand-the-action-life-cycle-and-finance.md).

#### 设置操作清算事件通知

1. 在顶部导航栏中，选择 ![](/files/d599d976891a5c0517520cf3405bba1bb9d7163f) **\[用户资料] → 设置**.
2. 在 *技术*，在左侧，选择 **事件通知**.
3. 在……旁边 *Action Clearing Events*，选择 ![](/files/d59c950ae7350cc6ff1aa164366b45ab2a9e0d2c) **\[编辑]**.
4. 输入您的 **服务器的 URL**。这是 impact.com 将发送回传的 URL。
5. 选择您首选的 HTTP 方法。
   * 如果您选择 **POST**，然后你将输入请求正文。下面是一个示例，说明你可能如何为 JSON 格式映射每个数据点。每个键值对中的键应来自你自己的系统设置，而值应为你选择的、与 impact.com 提供的数据点相对应的内容，并应填入大括号 { } 中。

     ```programlisting
     {"操作生命周期回传",
     "campaign_id": "{CampaignId}",
     "action_tracker_id": "{ActionTrackerId}",
     "media_partner_id": "{MediaPartnerId}",
     "campaign_name": "{CampaignName}",
     "action_tracker_name": "{ActionTrackerName}",
     "media_partner_name": "{MediaPartnerName}",
     "action_type": "{ActionType}",
     "referring_type": "{ReferringType}",
     "action_id": "{ActionId}",
     "status": "{Status}",
     "status_detail": "{StatusDetail}",
     "ad_id": "{AdId}",
     "payout": "{Payout}",
     "delta_payout": "{DeltaPayout}",
     "intended_payout": "{IntendedPayout}",
     "amount": "{Amount}",
     "delta_amount": "{DeltaAmo
     unt}",
     "intended_amount": "{IntendedAmount}",
     "currency": "{Currency}",
     "original_currency": "{OriginalCurrency}",
     "original_amount": "{OriginalAmount}",
     "event_date": "{EventDate}",
     "creation_date": "{CreationDate}",
     "locking_date": "{LockingDate}",
     "cleared_date": "{ClearedDate}",
     "referring_domain": "{ReferringDomain}",
     "landing_page_url": "{LandingPageUrl}",
     "ref_customer_area": "{RefCustomerArea}",
     "ref_customer_city": "{RefCustomerCity}",
     "ref_customer_region": "{RefCustomerRegion}",
     "ref_customer_country": "{RefCustomerCountry}",
     "ref_click_id": "{RefClickId}",
     "shared_id": "{SharedId}",
     "sub_id1": "{SubId1}",
     "sub_id2": "{SubId2}",
     "sub_id3": "{SubId3}",
     "text_1": "{Text1}",
     "text_2": "{Text2}",
     "promo_code": "{PromoCode}",
     "items": [{join(items, i, 
     "\{\"sku\":\"{i.sku}\",
     \"item_price\":{i.amt},
     \"category\":\"{i.cat}\",
     \"quantity\":{i.qty},
     \"cartamt\":{i.cartamt},\"rbt\":\"{i.rbt}\",
     \"name\":\"{i.name}\",
     \"category_list\":\"{i.itemlist}\"\}")}]\}
     ```
   * 在输入正文后，选择一个 *正文格式* 通过选择 ![](/files/fac87feeaceee35184a905665bc1d06ffdc1e200) **\[单选按钮]**.
     * **查询字符串**
     * **JSON**
     * **XML**
   * 查看 impact.com 的一些 [可用的正文参数](https://docs.google.com/spreadsheets/d/1omPZ6CG0guvMPh6EdbYg7BczHqJOrtuZ2zXnTtgfhrY/edit?usp=sharing).
   * 没有看到你需要的值？请联系你的发布商客户经理（或 [联系支持](https://app.impact.com/support/portal.ihtml?createTicket=true)).
6. 选择 **Action Clearing Events** ![](/files/fa97fb8f741396e6bb3baf32496404e6883a12e7)。这些设置是可选的。
   * 输入一个 **HTTP 标头** ，以便在你和服务器之间传递额外信息。
   * 输入一个 **最小延迟** （以秒为单位），在事件发生后等待多长时间再发送回传。
   * 输入 **最大请求数** — 这是系统每秒应发出的最大重发请求数。
   * 输入您希望 **成功响应** 到回传中，以便
   * 输入您希望 **错误响应** 到回传中，以便
7. 选择 **保存**.


---

# 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/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/event-notifications-and-postbacks/enable-action-clearing-event-notifications.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.
