> 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-inquiry-event-notification-postbacks-as-a-partner.md).

# 作为合作伙伴启用操作查询事件通知回传

如果您希望在每次 [操作查询](https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/action-inquiries/manage-submitted-action-inquiries-as-a-partner.md) 创建或解决时收到实时通知，可以设置事件通知。有关事件通知的说明、操作查询回传的工作方式等更多信息，请参阅 [操作查询事件通知回传](https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/event-notifications-and-postbacks/action-life-cycle-event-notification-faqs.md).

## 设置操作查询回传

{% hint style="success" %}
This feature is only accessible to specific impact.com editions or add-ons. [Contact us](https://app.impact.com/support/portal.ihtml?createTicket=true) to upgrade your account and get access!
{% endhint %}

当您账户中的 impact.com 账户用户开启或关闭操作查询时，操作查询回传会向您发送更新。设置操作查询回传的步骤如下：

1. 在顶部导航栏中，选择 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2FhyR4iWDS0fO9ZcKFGf82%2FUser%20profile.svg?alt=media\&token=281d8f1b-b9c5-4208-a0a2-a078f54e0eb6) **\[用户个人资料] → 设置**.
2. 在 *技术*下方的左侧，选择 **事件通知**.
3. 将鼠标悬停在 *操作查询事件* 字段上，然后选择 ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2FZMLVDhHLGefqRDHaIWTm%2FEdit.svg?alt=media\&token=1f1168ae-5bd3-456c-a366-904d0ecf00cb) **\[编辑]**.
4. 输入服务器的 URL。这是 impact.com 将发送回传的 URL。
5. 选择您偏好的 HTTP 方法。
   * 如果选择 **POST**，则需要输入请求正文。以下示例展示了如何为 JSON 格式映射各个数据点。每个键值对中的键应来自您自己的系统配置，值则是您选择的、与之对应的 impact.com 数据点，并应放在花括号中输入 `{ }`.

     <div data-with-frame="true"><figure><img src="https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2FM4ae4IUfR5fkv8MM5K0E%2FScreenshot%202026-05-23%20at%2013.22.07.png?alt=media&amp;token=986f854b-9142-480e-9ec9-0afe6e57c913" alt="" width="563"><figcaption></figcaption></figure></div>
   * 查看 impact.com 的部分 [可用正文参数](https://docs.google.com/spreadsheets/d/1omPZ6CG0guvMPh6EdbYg7BczHqJOrtuZ2zXnTtgfhrY/edit?usp=sharing).
   * 找不到需要的值？请联系您的发布商客户经理（或 [联系支持团队](https://app.impact.com/support/portal.ihtml?createTicket=true)).
6. 选择与您在 **正文格式** 中的设置相匹配的 *第 5 步*.
7. 选择 **操作查询事件** ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-500f241687470b7f2c6cf43ec949c2463692cd19%2F0323174d38f3b23e95ed28b6734e6af44b570eec2eecb0ea9f2e0f064962b5fb.svg?alt=media) 这些设置为可选项。
   * 输入一个 **HTTP 标头** 以便在您与服务器之间传递附加信息。
   * 输入 **最短延迟时间** 用于设置事件发生后，生成回传并将其发送到您系统之前的等待时间。
   * 输入 **最大请求数** 的速率限制，即 impact.com 每秒可以向您的系统发送的请求数。
   * 输入您希望回传的 **成功响应** 内容。
   * 输入您希望回传的 **错误响应** 内容。
8. 选择 **保存**.

设置好操作查询回传后，每当您的账户创建查询或合作品牌解决查询时，您的系统就会开始接收回传。要了解如何测试新设置的回传，请查看下方的 *测试操作查询回传* 部分。

## 测试操作查询回传

设置好操作查询回传后，请测试您的配置。请务必告知合作品牌，您将测试回传配置。

1. 在顶部导航菜单中，选择 **管理 →** [**品牌创意素材**](https://app.impact.com/secure/mediapartner/ads/searchAdsDirectoryMP.ihtml#adType=all).
2. 选择一项资源，然后在侧滑面板中选择 **获取跟踪链接**。确保 *子 ID* 和 *共享 ID* 字段中均有值：
   * ![](https://1152657667-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2FNb1O82vHF1ZWPG3qRZj3%2FToggle.svg?alt=media\&token=58221b77-b655-4ce3-bfba-64a50f3f60db) **\[开启] 跟踪参数**，在每个字段中至少输入一个词： *子 ID* 和 *共享 ID* 字段，然后选择 **保存**.
3. 选择 **复制跟踪链接**.
4. **将链接粘贴到新的浏览器窗口中并进行搜索。** 将链接粘贴到新的浏览器窗口中并进行搜索。
5. 完成此操作。
   * 此操作最终会被撤销。
6. 大约 15 分钟后，在 [待处理操作](https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/where-can-i-see-my-pending-actions-as-a-partner.md) 页面中找到该操作。你需要一些信息，才能在应用内创建操作查询：
   * 与测试操作关联的 **品牌** 。
   * 该操作的 **订单 ID**.
   * 该操作的 **销售金额**.
   * 该操作的 **交易日期**.
7. 在 impact.com 中创建新的操作查询。在 *备注* 部分中注明这是一个测试查询。
   * 了解如何 [通过 UI 创建查询](https://help.impact.com/partner/zh/ni-xiang-liao-jie-shen-me/platform-features/action-management/action-inquiries/manage-submitted-action-inquiries-as-a-partner.md).
   * 完成后，你应该会收到一条回传通知，告知操作查询已创建。如果你在 *查询* 页面中看到新查询，但尚未收到回传，请再次检查回传设置。
8. 向与你合作的品牌提供该查询对应的 **订单 ID** ，并请他们 **拒绝** 该查询。
   * 品牌拒绝查询后，你应该会收到另一条回传，告知查询已处理。如果你在 *查询* 页面中看到查询状态更新，但尚未收到回传，请再次检查回传设置。

{% hint style="warning" %}
**警告：** 如果你无法发现回传设置中的任何问题，但仍未收到回传， [请联系支持团队](https://app.impact.com/support/portal.ihtml?createTicket=true)。我们可以检查是否生成了回传、回传的响应代码以及每条回传的正文。这些信息可能有助于你成功排查设置问题。
{% endhint %}


---

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