> 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/tracking/website-crawling-requirements-for-partners.md).

# パートナー向けウェブサイトクロール要件

パートナーとして、impact.comの規制コンプライアンス用クローラーが、適切な認可のもとで中断なくウェブサイトにプログラムからアクセスし、データを取得できるように、User-Agent識別の設定など、いくつかの対応が必要になる場合があります。このガイドは主に、ウェブサイトへのアクセスやセキュリティ設定を管理する開発者、IT管理者、技術チームを対象としています。

## impact.comの規制コンプライアンスBotを許可する方法

パートナーのウェブサイトは、ブランドとの契約に沿ったコンテンツが掲載されていることを確認するため、impact.comの規制コンプライアンスBotによる監視対象となる場合があります。監視対象の項目ごとにサイトへの訪問が必要なため、監視対象コンテンツが多いウェブサイトほど、リクエスト数も比例して増加します。

impact.comの規制コンプライアンスBotが制限されている場合（HTTP 429 – Too Many RequestsやHTTP 403 – Forbiddenを返すなど）、コンテンツの確認や検証ができず、コンプライアンス状況の可視性に影響する可能性があります。

### **監視を中断なく行うには、次の対応をしてください。**

* 指定されたUser-Agentを使用して、impact.comの規制コンプライアンスBotを許可リストに登録します。
* impact.comの規制コンプライアンスBotからの正当なリクエストをブロックしたり、速度を制限したりしないでください。
* リクエストヘッダーに含まれる署名を使用してimpact.comの規制コンプライアンスBotを検証し、正当なリクエストであることを確認してなりすましを防ぎます。
* impact.comの規制コンプライアンスBotを許可して検証することで、コンテンツが正確に審査され、impact.comのシステムに反映されるようになります。

## User-Agentの識別

当社のクローラーは、カスタムの `User-Agent` を使用して、ウェブリクエスト時に自身を識別します。これにより、パートナーはimpact.comのコンプライアンス関連トラフィックを、他のボットやクローラーと区別できます。

許可リストに登録するUser-Agent文字列（表示どおりに使用してください）：

```programlisting
Mozilla/5.0 (compatible;Impact.com Agent) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
```

### **impact.comクローラーのリクエストを検証する**

受信したトラフィックがimpact.comのクローラーからのものだと確認できるよう、各リクエストにはカスタムのHMAC署名ヘッダーが含まれます。

```programlisting
X-Impact-Crawler-Signature: <hmac signature>
```

この署名を使用すると、既知のシークレットと共有アルゴリズムを使ってリクエストを認証できます。これにより、リクエストがimpact.comから送信され、改ざんされていないことを確認できます。

<details>

<summary>署名の生成</summary>

**署名の生成**

署名は次の手順で生成されます。

* **シークレット**: `/impact/crawler/signature/`
* **署名対象データ**: `User-Agent`
* **HMACアルゴリズム：** `HMAC-SHA256`
* **署名の出力形式**: `Hexadecimal string`

</details>

<details>

<summary>検証方法（擬似コード）</summary>

```programlisting
const crypto = require('crypto');

// Extract headers from incoming request
const userAgent = req.headers['user-agent'];
const signature = req.headers['x-impact-crawler-signature'];

const secret = '/impact/crawler/signature/';

// Recompute signature
const expectedSignature = crypto
  .createHmac('sha256', secret)
  .update(userAgent)
  .digest('hex');

// Compare signatures
if (signature === expectedSignature) {
  // ✅ Verified
} else {
  // ❌ Reject or log for review
}
```

{% hint style="danger" %}
**警告：** 必ず、リクエストで受信したものと完全に同じ `User-Agent` 値を使用してください。トリミング、デコード、書式変更などを行うと、署名が一致しなくなります。
{% endhint %}

</details>

## 規制コンプライアンス監視用のIP許可リスト

継続的な規制コンプライアンス監視をサポートするため、以下のIPアドレス範囲を許可リストに登録してください。これにより、impact.comからのトラフィックが誤ってブロックされるのを防ぎ、サイトの監視を中断なく実施できます。

### **以下のIP範囲を許可してください：**

* 163.116.128.0/17
* 162.10.0.0/17
* 31.186.239.0/24
* 8.39.144.0/24
* 8.36.116.0/24
* 34.145.188.137
* 35.245.212.57
* 34.21.56.213
* 34.48.90.233
* 35.245.229.167
* 34.150.151.151
* 35.245.185.65
* 35.188.242.212
* 34.86.33.122
* 34.145.224.193
* 35.245.135.218
* 35.221.1.178
* 34.150.217.77
* 107.175.80.80
* 162.212.175.22
* 107.172.69.119

ファイアウォールまたはアクセス制御リストを更新し、以下のimpact.comのIPアドレス範囲からの受信トラフィックを許可することをおすすめします。

{% hint style="success" %}
**推奨：** 規制コンプライアンス監視およびボットアクセスに関する技術的な調整やご質問は、 [サポートにお問い合わせください](https://app.impact.com/secure/advertiser/support/customer-support-portal-flow.ihtml).
{% 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/ja/nitsuitebitaidesuka/platform-features/tracking/website-crawling-requirements-for-partners.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.
