> 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/ja/nitsuitebitaidesuka/platform-features/action-management/event-notifications-and-postbacks/enable-action-clearing-event-notifications.md).

# アクション清算イベント通知を有効にする

イベント通知（イベントポストバックとも呼ばれることがあります）は、アクション、クリック、その他のイベントの発生を通知する標準的なHTTP通知です。イベントポストバックを設定すると、イベントデータを社内のレポートシステムに送信し、イベントの最新状況を確認できます。

アクションのクリア時に、アクションクリアイベントから指定したURL（および含めたパラメーター）へHTTPリクエストが送信されます。詳しくは、 [*アクションのライフサイクル*](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/platform-features/actions-and-payouts/understand-the-action-life-cycle-and-finance.md).

## アクションクリアイベント通知を設定する

1. 上部のナビゲーションバーで ![](https://3659882269-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. 左側の *技術*で、 [**イベント通知**](https://app.impact.com/secure/mediapartner/accountSettings/view-edit-pingback-settings-flow.ihtml).
3. の横にある *アクションクリアイベント*を選択し、 ![](https://3659882269-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**を入力します。このURLにimpact.comからポストバックが送信されます。
5. 希望するHTTPメソッドを選択します。
   * を選択した場合は、 **POST**リクエストの本文を入力します。以下は、JSON形式で各データ項目をマッピングする場合の例です。各キーと値のペアのキーには、独自のシステム設定で使用しているものを指定します。値には、impact.comが提供する対応するデータ項目を選び、波括弧 { } で囲んで入力します。

     ```programlisting
     {"Action Life Cycle Postback",
     "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}\"\}")}]\}
     ```
   * 本文を入力したら、次の項目を選択します。 *本文の形式* 次を選択して ![](https://3659882269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-590bdf4e1ffbcc1fe86ad456bebab6a28c64af1f%2Ffd6e4291628446bb1fe27a831f7874b256a28cc84833d72cce2e73b94641edb7.svg?alt=media) **\[ラジオボタン]**.
     * **クエリ文字列**
     * **JSON**
     * **XML**
   * impact.comで [使用可能なボディパラメーター](https://docs.google.com/spreadsheets/d/1omPZ6CG0guvMPh6EdbYg7BczHqJOrtuZ2zXnTtgfhrY/edit?usp=sharing).
   * 必要な値が見つからない場合は、パブリッシャーアカウントマネージャー（または [サポートにお問い合わせください](https://app.impact.com/support/portal.ihtml?createTicket=true)).
6. 選択 **アクションのクリアリングイベント** ![](https://3659882269-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb2rE79d9UhOKZQLgzSqx%2Fuploads%2Fgit-blob-500f241687470b7f2c6cf43ec949c2463692cd19%2F0323174d38f3b23e95ed28b6734e6af44b570eec2eecb0ea9f2e0f064962b5fb.svg?alt=media)）。これらの設定は任意です。
   * 入力してください： **HTTPヘッダー** サーバーとの間で追加情報を渡すために使用します。
   * 入力してください： **最小遅延時間** （秒単位）。イベント発生後、ポストバックを送信するまでの待機時間を指定します。
   * 入力してください： **最大リクエスト数** — これは、システムが1秒あたりに行う再送リクエストの最大数です。
   * ポストバックに対する **成功応答** として返す内容を入力してください。
   * ポストバックに対する **エラー応答** として返す内容を入力してください。
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 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/ja/nitsuitebitaidesuka/platform-features/action-management/event-notifications-and-postbacks/enable-action-clearing-event-notifications.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.
