> 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/platform-features/promo-codes/bulk-upload-promo-codes.md).

# プロモコードを一括アップロード

複数のプロモーションコードを作成する場合は、 **一括アップロード** 機能を使って、プロモーションコードのデータを含むCSV、XLS、またはXLSXファイルをアップロードします。

ファイルの形式については、以下の手順3にある *プロモーションコード一括アップロードのリファレンステーブル* を参照してください。アップロードを正常に完了するには、ファイルサイズをXLS/XLSXの場合は1MB未満、CSVの場合は5MB未満にしてください。検証はファイルサイズのみに基づくため、行数に特定の上限はありません。

{% hint style="warning" %}
**警告：** CSV/XLSファイルの列ヘッダーは、以下の列名と完全に一致するようにしてください（大文字と小文字、スペースも区別されます）。一致しない場合、ファイルのアップロードが拒否される可能性があります。
{% endhint %}

{% hint style="info" %}
**例：** 以下はプロモーションコードの例です。 `10PEROFF`.

```programlisting
Promo Code,Program Id,Media Id,Type,Credit Rule,Match Mode,Deal Id,Active Start Date,Active End Date
10PEROFF,4321,1299679,TRACKING,ALWAYS,LI,,2026-10-01T00:00:00-07:00,2026-12-31T23:59:59-07:00
```

{% endhint %}

#### トラッキングプロモーションコードを一括アップロードする

1. 左側のナビゲーションメニューから ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[エンゲージ]** → **コンテンツ** → [**プロモーションコード**](https://app.impact.com/secure/advertiser/engage/ads/view-adv-promo-codes-flow.ihtml).
2. ［ *プロモーションコード* ］画面で、 **一括アップロード**.
3. ［ **ファイルを選択** ］を選択し、アップロードするプロモーションコードを含むExcelまたはCSVファイルを探して選択します。

{% hint style="success" %}
**注：** ファイルが、以下の表に示す必須の列形式を使用していることを確認してください。
{% endhint %}

4. ［ **次へ**.
5. アップロードするプロモーションコードの一覧を確認します。詳細が正しければ、 **同意してプロモーションコードを作成**.
6. アップロードが成功すると、新しい *トラッキングプロモーションコード* が作成され、 *プロモーションコード* 画面に表示されます。

| 列          | 種類  | 必須  | 説明                                                                                                                                                                                                                       |
| ---------- | --- | --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| プロモーションコード | 文字列 | はい  | 割り当てる一意のプロモーションコード。                                                                                                                                                                                                      |
| プログラムID    | 整数  | はい  | このプロモーションコードが属する、impact.comの一意のプログラムID。                                                                                                                                                                                  |
| メディアID     | 整数  | はい  | <p>プロモーションコードの割り当て先となるimpact.comのメディアID。パートナーIDまたはメディアソースIDを指定できます。</p><p>アップロードした各トラッキング用プロモコードは、このフィールドを通じて1つのパートナーまたはメディアソースにのみ割り当てることができます。別のパートナーがそのコードを宣伝した場合、impact.comはその結果のコンバージョンを無効なコンバージョンとして判定し、取り消します。</p> |
| 種類         | 文字列 | はい  | <p>プロモコードのタイプ。指定可能な値：</p><p><code>TRACKING</code></p>                                                                                                                                                                    |
| クレジットルール   | 文字列 | はい  | <p>プロモコードのクレジットルール。指定可能な値：</p><p><code>ALWAYS</code></p><p><code>INVOLVED</code></p><p><code>WINNER</code></p>                                                                                                           |
| 一致モード      | 文字列 | はい  | <p>プロモコードの一致モード。指定可能な値：</p><p><code>LI</code> （完全一致／リテラル）</p><p><code>RE</code> （正規表現）</p>                                                                                                                               |
| ディールID     | 整数  | いいえ | このプロモコードを関連付けるディールの一意のID。ディールは、プログラム内にすでに存在している必要があります。                                                                                                                                                                  |
| 有効開始日      | 日付  | はい  | このプロモコードを利用可能にする期間をスケジュールできます。これは [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) の日付です。形式の例： `2013-06-30T00:00:00-07:00`                                                                                              |
| 有効終了日      | 日付  | はい  | これはISO8601の日付です。形式の例： `2013-06-30T00:00:00-07:00`                                                                                                                                                                        |
| タイムゾーン     | 文字列 | いいえ | タイムゾーンは開始日から判定されますが、特定のタイムゾーンで上書きする場合は、ここに完全な名称を入力してください（例：） `America/New_York`.                                                                                                                                         |


---

# 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/brand/ja/what-would-you-like-to-learn-about/platform-features/promo-codes/bulk-upload-promo-codes.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.
