> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ParityDeals

> ウェブサイトに地域別割引バナーを表示し、ParityDealsを使ってDodo Paymentsで対応する割引コードを自動生成します。

## はじめに

[ParityDeals](https://www.paritydeals.com/) は、ウェブサイト上で対象となる訪問者に地域別割引バナーを表示し、Dodo Paymentsで対応する割引コードを自動生成するプラットフォームです。訪問者がバナーを見ると、チェックアウトで使用できるコードを取得できます。これらのコードは、Dodo Paymentsダッシュボードの **Sales → Discounts** に表示されます。

<Note>
  Dodo Paymentsにはネイティブの [Purchasing Power Parity](/features/purchasing-power-parity) があり、バナーやスクリプトを使わず、チェックアウト時に国ごとに価格を引き下げます。自社サイトに目立つ割引バナーを表示したい場合や、ホリデーセールや期間限定セールを実施したい場合は、ParityDealsが適しています。
</Note>

## 仕組み

ParityDealsは訪問者の所在地を検出し、ウェブサイトにカスタマイズ可能な割引バナーを表示して、チェックアウトで適用できる割引コードを生成します。コードはDodo Paymentsアカウント内で自動的に作成され、設定した商品で使用できます。

1. 訪問者がウェブサイトにアクセスすると、ParityDealsが所在地を検出します。
2. 訪問者が割引の対象である場合、地域別コードが記載されたバナーが表示されます。
3. 訪問者がチェックアウトでコードを使用すると、Dodo Paymentsが割引を適用します。
4. コードはダッシュボードの **Sales → Discounts** に表示されます。

<Frame>
  <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/banner.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=9889313b66e3b6fe81f433e1f9318782" alt="販売者のウェブサイトに表示されたParityDeals割引バナーの例" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/banner.png" />
</Frame>

## ParityDealsとネイティブPPPの比較

国別の価格設定には、ネイティブのPurchasing Power Parityを使用することをおすすめします。自社サイトに割引バナーを表示したい場合や、ホリデーキャンペーン、期間限定キャンペーンを実施したい場合は、ParityDealsを選択してください。

|                  | ネイティブPPP           | ParityDeals        |
| :--------------- | :----------------- | :----------------- |
| 仕組み              | 国ごとの割合をチェックアウト時に適用 | コードを通じて一定割合を割引     |
| 設定場所             | Dodo Paymentsに組み込み | ParityDealsダッシュボード |
| サイト上のバナーまたはスクリプト | 不要                 | 必須                 |
| ホリデーおよび期間限定セール   | いいえ                | はい                 |
| 最適な用途            | サイトを変更せずに適正価格を設定   | プロモーションバナーや季節限定セール |

<Info>
  Dodo PaymentsがホスティングするチェックアウトやストアフロントにParityDealsのバナーを埋め込むことはできません。カスタムスクリプトはそこでサポートされていないためです。バナーは自社のウェブサイトまたはアプリに設置してください。
</Info>

## 前提条件

この連携を設定する前に、以下を用意してください。

1. [Dodo Paymentsアカウント](https://app.dodopayments.com)
2. [ParityDealsアカウント](https://app.paritydeals.com/)
3. Dodo Payments API key

## はじめに

<Steps>
  <Step title="Sign up on ParityDeals">
    [app.paritydeals.com](https://app.paritydeals.com/) にアクセスしてアカウントを作成します。
  </Step>

  <Step title="Create Deals">
    サインイン後、セールを作成するオプションを探します。ドロップダウンメニューから **"Create Deals via Dodo Payments"** を選択します。

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/create-deals.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=a95d6a65e82a30fd9bc781afb5859057" alt="Dodo Payments経由でセールを作成" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/create-deals.png" />
    </Frame>
  </Step>

  <Step title="Generate a Dodo Payments API Key">
    **Dodo Paymentsダッシュボード** にログインし、**Developers → API Keys** に移動します。**"Create New API"** をクリックします。

    <Tip>
      後で識別できるように、API keyには説明的な名前（例：'ParityDeals'）を付けます。
    </Tip>

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/api-key.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=bee76bb9b180c07de093401dd5180da2" alt="Dodo Paymentsで新しいAPI keyを作成" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/api-key.png" />
    </Frame>
  </Step>

  <Step title="Connect Your API Key to ParityDeals">
    作成したAPI keyをコピーし、ParityDealsのインターフェースに貼り付けて、Dodo Paymentsアカウントとの接続を確立します。

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/connect-api-key.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=3e030964fdbe454c1cf6a78fe283f576" alt="ParityDealsにAPI keyを接続" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/connect-api-key.png" />
    </Frame>
  </Step>

  <Step title="Select Products">
    接続すると、ParityDealsがDodo Paymentsの商品カタログを取得します。セールに関連付ける商品を選択します。

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/select-products.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=6fc5db7cb834b5de354addad72213689" alt="ParityDealsの商品を選択" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/select-products.png" />
    </Frame>
  </Step>

  <Step title="Configure Deal Settings">
    ウェブサイトのURLを入力し、必要に応じて割引バナーを表示する特定の対象ページを選択します。次に、希望するセールの種類を選択します。

    * 地域別セール
    * ホリデーセール
    * 期間限定フラッシュセール

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/deal-settings.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=84cc3941c31981db1a1b6638386ce2a9" alt="セール設定を構成" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/deal-settings.png" />
    </Frame>
  </Step>

  <Step title="Set Country-Based Rules">
    ローカライズされた割引を提供する国を選択し、それぞれの割引率を定義します。ParityDealsには推奨されるデフォルト値が用意されており、必要に応じて調整できます。

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/country-rules.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=008156023e4fc7ea43ae4b801c917b98" alt="国別の割引ルールを設定" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/country-rules.png" />
    </Frame>
  </Step>

  <Step title="Customize the Banner">
    テキストのカスタマイズ、色とレイアウトの選択、バナー位置（ページの上部または下部）の指定によって、割引バナーをデザインします。このバナーは、設定したルールに基づいて対象となる訪問者に表示されます。

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/customize-banner.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=57950a6f022b2f879f8d85e1f5fe436e" alt="割引バナーをカスタマイズ" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/customize-banner.png" />
    </Frame>
  </Step>

  <Step title="Add the ParityDeals Script to Your Website">
    セールを保存すると、ParityDealsがスクリプトを生成します。このスクリプトをウェブサイトのコードに追加します（通常は`<head>`セクション内）。このスクリプトは訪問者の所在地を自動的に検出し、適切な割引バナーを表示します。

    <Frame>
      <img src="https://mintcdn.com/dodopayments/9-ym4vw4rAut79bF/images/integrations/paritydeals/script.png?fit=max&auto=format&n=9-ym4vw4rAut79bF&q=85&s=3432e96dbcdcaa9c7d00eaeb0d75f190" alt="ParityDeals連携スクリプト" style={{ maxHeight: '500px', width: 'auto' }} width="1920" height="1440" data-path="images/integrations/paritydeals/script.png" />
    </Frame>
  </Step>
</Steps>

## その他の機能

ParityDealsでは、年間を通じて[自動期間限定割引](https://www.paritydeals.com/features/time-based-discounts/)や[ホリデー向けプロモーション](https://www.paritydeals.com/features/holiday-based-discounts/)も提供できます。詳しくは、[ParityDeals Documentation](https://www.paritydeals.com/docs/)を参照してください。

## その他のリソース

<CardGroup cols={2}>
  <Card title="ParityDeals Documentation" icon="book-open" href="https://www.paritydeals.com/docs/">
    ParityDealsのドキュメントにある、完全なセットアップ手順と機能ガイド。
  </Card>

  <Card title="Purchasing Power Parity" icon="money-bill-trend-up" href="/features/purchasing-power-parity">
    バナー不要の、Dodo PaymentsにおけるネイティブPPP価格設定。
  </Card>

  <Card title="Discount Codes" icon="percent" href="/features/discount-codes">
    Dodo Paymentsでの割引コードの仕組み。
  </Card>

  <Card title="Evendeals" icon="tags" href="/integrations/evendeals">
    自動クーポンローテーションに対応した、割引コードの代替ツール。
  </Card>
</CardGroup>
