> 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/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/import-advocate-participants-in-bulk.md).

# Advocate参加者を一括インポートする

Advocate は、送信されたインポートを受け付けます `.csv` または `.jsonl` ファイル形式に対応しています。以下を参照してください [CSVインポートサンプルファイル](https://assets.ctfassets.net/s68ib1kj8k5n/7LOYwhDlsI22uuaIMaWImE/71cefe860edc71c0968c8065e1d6e953/sample-user-upload.csv) および [JSONLインポートサンプルファイル](https://assets.ctfassets.net/s68ib1kj8k5n/5rD1ZiKEjqStp54qjDB90N/48918dfa8b53a935c7c83ea5fbf3af77/userImportSample.jsonl) インポートに必要なファイル構造を確認してください。

{% hint style="info" %}
**注:** 各インポートのエントリ数は500,000件を超えないことを推奨します。
{% endhint %}

#### 参加者を一括インポート

1. 左側のナビゲーションメニューで、〜を選択します ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → 参加者**.
2. 選択 **ユーザーをインポート**.
3. 下に *インポートの種類*、選択します **ユーザー**.
4. を選択してインポートファイルを追加してください **ファイルを選択**.
5. **\[任意]** 特定のユーザーセグメントにインポートした参加者を追加または削除するには、ドロップダウンリストからセグメントを選択します。

{% hint style="info" %}
**注:** この選択は *すべての* このインポートファイルに含まれる参加者に適用されます。
{% endhint %}

6. 選択 **インポートを開始**.

インポートが完了すると、確認メールが送信されます。インポートは、キューの状況とファイルサイズに応じて、最大 30 分かかる場合があります。

#### フィールド

一括ユーザーインポートでは、アップロードファイル内の標準フィールドとカスタムフィールドの両方がサポートされます。 **フィールドは大文字と小文字を区別します。**

{% tabs %}
{% tab title="標準フィールド" %}
標準フィールドは、当社の [Open Endpoint User Upsert API 呼び出しと同じ検証で解析されます](https://integrations.impact.com/integration-guides/for-brands/advocate/advocate-api/api-open-endpoints):

| 項目                        | タイプ     | 説明                                                                                                                                                                                                                                                                |
| ------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| accountId (Required)      | 文字列     | この参加者が属するアカウントの一意の識別子。                                                                                                                                                                                                                                            |
| id (Required)             | 文字列     | この参加者に割り当てられた一意の識別子。                                                                                                                                                                                                                                              |
| firstName                 | 文字列     | 参加者の名。                                                                                                                                                                                                                                                            |
| lastName                  | 文字列     | 参加者の姓。                                                                                                                                                                                                                                                            |
| メール                       | 文字列     | 参加者のメールアドレス。                                                                                                                                                                                                                                                      |
| referable                 | boolean | <p>impact.com が、この参加者が紹介可能かどうかを判断するために使用するフラグ。</p><p><strong>注:</strong> フラグは <em>1つ</em> <code>の r</code> でなければなりません。</p>                                                                                                                                        |
| locale                    | 文字列     | 参加者のロケール。 [国際化](/brand/ja/what-would-you-like-to-learn-about/advocate-program/advocate-program-settings/translate-and-localize-your-advocate-program.md)に使用されます。ロケールは次の形式である必要があります `language_COUNTRY` ここでは、言語コードは小文字、国コードは大文字でなければなりません。区切り文字はアンダースコアである必要があります。 |
| countryCode               | 文字列     | 参加者のロケール。 [国際化](/brand/ja/what-would-you-like-to-learn-about/advocate-program/advocate-program-settings/translate-and-localize-your-advocate-program.md)。ユーザーの国コード（例: CA）。                                                                                        |
| referredBy.code           | 文字列     | この参加者を紹介した顧客アドボケートの紹介コード。                                                                                                                                                                                                                                         |
| referralCodes.{programId} | 文字列     | この参加者が指定のプログラムで共有するための表示用紹介コード（含まれていない場合は自動生成されます）。                                                                                                                                                                                                               |
| sharelinks.{programId}    | 文字列     | この参加者が指定のプログラムで共有するための表示用共有リンク（含まれていない場合は自動生成されます）。                                                                                                                                                                                                               |
| dateCreated               | 文字列     | この参加者が Advocate プログラムで作成された日付。                                                                                                                                                                                                                                    |
| imageUrl                  | 文字列     | ウィジェット、メール、テーマでオプションとして使用されます。絶対パスのプロフィール画像 URL を指定する場合、最小画像サイズは 80px x 80px です。                                                                                                                                                                                  |
| dateUsTaxFormSubmitted    | integer | 参加者の W-9 税務フォームが収集済みとしてマークされた日付。構成されている場合、テナントの W-9 コンプライアンスに使用されます。                                                                                                                                                                                              |
| customFields.{fieldName}  | 文字列     | この構造を使用して、任意のカスタムフィールドを含めます。                                                                                                                                                                                                                                      |
| {% endtab %}              |         |                                                                                                                                                                                                                                                                   |

{% tab title="カスタムフィールド" %}
[カスタムユーザーフィールド](/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/custom-and-calculated-fields/custom-fields-for-advocate-explained.md) は、参加者固有のデータを扱えます。カスタムユーザーフィールドの情報に基づいて、プログラムの目標を発火するよう設定できます。

{% hint style="info" %}
**例**：サブスクリプション会員を更新したときに参加者へ報酬を付与します。まず、カスタムフィールド `customFields.subscriptionPaid` の値を **はい**含めます。次に、目標を `customFields.subscriptionPaid` と等しい **はい**.
{% endhint %}

この形式で列ヘッダーにカスタムフィールドを追加します: `customFields.yourCustomFieldName`.

{% hint style="info" %}
**注:** カスタムフィールドでは配列やオブジェクトの値は使用できません。
{% endhint %}
{% endtab %}
{% endtabs %}

**結果**

インポートが完了するとメールで通知されます。インポート結果は当社の ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → レポート → インポートとエクスポート** Advocate プログラム内のページからダウンロードできます。

{% hint style="warning" %}
**警告:** ダウンロードリンクは30日後に期限切れになります。
{% endhint %}

{% tabs %}
{% tab title="アップロード成功" %}
インポートが正常に完了すると、参加者情報を含むファイルが生成され、メールで送信されます。これらの結果に含まれる情報は、当社の [ユーザー詳細レポート](/brand/ja/what-would-you-like-to-learn-about/advocate-program/advocate-reporting-and-analytics/advocate-program-reports-explained.md).
{% endtab %}

{% tab title="エラー" %}
インポート中にエラーが発生した場合は、追加のファイルが生成されます。このエラーファイルには、失敗したレコードの各エラーエントリが含まれ、失敗したレコードの行番号（元のインポートファイルから）と、関連するエラーメッセージが含まれます。

| recordNumber | message                    | apiErrorCode | statusCode |
| ------------ | -------------------------- | ------------ | ---------- |
| 2            | このリクエストには、有効で空でない id が必要です | BAD\_REQUEST | 400        |

まれにシステムエラーが発生してインポートが中断された場合、インポートは **中止済み** として表示され、復旧しません。さらにサポートが必要な場合はサポートチームまでご連絡ください。
{% endtab %}
{% endtabs %}


---

# 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/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/import-advocate-participants-in-bulk.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.
