# 启用操作清算事件通知

事件通知（有时称为事件回传）是标准的 HTTP 通知，可在发生操作、点击或其他事件时通知您。事件回传可配置为将事件数据传送到您的内部报告系统，从而提供事件的最新视图。

操作结算事件将在操作结算时向指定的 URL（以及包含的任何参数）发出 HTTP 请求。了解更多关于 [*操作生命周期*](/brand/zh/nin-xiang-liao-jie-shen-me/platform-features/actions-and-payouts/understand-the-action-life-cycle-and-finance.md).

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

1. 从顶部导航栏，选择 ![](/files/2de72fd0c7a4b5230c422659116f53f1b693fa11) **\[用户资料] → 设置**. &#x20;
2. 在 *技术*，在左侧选择 **事件通知**.
3. 在 *操作结算事件*下，选择 ![](/files/f246520ea0f8e6c87c808425804606f0333cc1ea) **\[编辑]**.
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. 选择 **操作结算事件** ![](/files/fa97fb8f741396e6bb3baf32496404e6883a12e7)）。这些设置是可选的。
   * 输入一个 **HTTP 头** 作为在您与服务器之间传递附加信息的一种方式。
   * 输入一个 **最短延迟** （以秒为单位）在事件发生后等待多长时间再发送回传。
   * 输入 **最大请求数** — 这是系统每秒应发出的最大重试请求次数。
   * 输入您希望对回调的 **成功响应** 发送到回传的。
   * 输入您希望对回调的 **错误响应** 发送到回传的。
7. 选择 **保存**.


---

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