Reminder: By Aug 31, 2025, all new apps and updates to existing apps must use Billing Library version 7 or newer. If you need more time to update your app, you can request an extension until Nov 1, 2025. Learn about
Play Billing Library version deprecation.
外部オファー API
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
一部の国では、利用資格のあるデベロッパーが、アプリ内のデジタル機能やサービスの特典を宣伝するなど、アプリ外でユーザーを呼び込むことができます。このガイドでは、外部オファーを有効にするための API について説明します。これらの API を使用する前に、プログラムの要件を確認し、外部オファー プログラムに登録する必要があります。
用語
このガイドで使用する用語規則:
- 外部オファー API: ユーザーをアプリの外に誘導するために使用される API(必要な情報画面の表示、該当する取引の報告など)。
- 外部取引: プログラムの要件で定義されているとおり、アプリの外部で発生する対象となる取引。
- 外部取引トークン: Play Billing Library を介してデベロッパーに提供されるトークン。デベロッパーは、ユーザーが外部取引を完了する際に使用します。このトークンは、購入の成功を Google Play に通知するために使用されます。
- 外部取引 ID: 外部取引を識別するためにデベロッパーが生成した一意の識別子。
外部特典をサポートする
このセクションでは、外部オファーをサポートする方法について説明します。これらの API を使用する前に、次の点を確認してください。
Google Play Console で設定
Google Play Console で外部特典を設定するには、プログラムの要件に記載されている手順を行ってください。
情報画面は、ユーザーが外部ウェブサイトにアクセスしようとしていることを把握するのに役立ちます。情報画面は、外部オファーの API を使用してアプリの外に誘導されるたびに、ユーザーに表示されます。
情報画面
|
説明のみを目的とした例です。
次のステップ
外部オファー API の統合を開始するには、アプリ内統合とバックエンド統合に関する詳細なガイドをご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[],[],null,["# External offers APIs\n\nIn certain countries, eligible developers are able to lead users outside the\napp, including to promote offers for in-app digital features and services. This\nguide addresses the APIs to enable external offers. You should review the\n[program requirements](https://support.google.com/googleplay/android-developer/answer/14372887) and enroll in the external offers program before\nusing these APIs.\n\nGlossary of terms\n-----------------\n\nTerm conventions followed by this guide:\n\n- **External offers APIs**: APIs used to direct the user outside of the app, including surfacing required information screen and reporting applicable transactions.\n- **External transaction** : A qualifying transaction that occurs outside of the app as defined by the [program requirements](https://support.google.com/googleplay/android-developer/answer/14372887).\n- **External transaction token**: A token provided to the developer through the Play Billing Library for the developer to use when the user completes an external transaction. This token is used to notify Google Play of a successful purchase.\n- **External transaction ID**: A unique identifier generated by the developer to identify an external transaction.\n\nSupport external offers\n-----------------------\n\nThis section describes how to support external offers.\nBefore using these APIs, ensure the following:\n\n- Review the eligibility requirements for the relevant program and complete the onboarding steps outlined in the [program requirements](https://support.google.com/googleplay/android-developer/answer/14372887).\n- Integrate [Play Billing Library 6.2.1](/google/play/billing/release-notes) or higher.\n\n### Configure in Play Console\n\nTo configure external offers in Play Console, follow the steps outlined in\nthe [program requirements](https://support.google.com/googleplay/android-developer/answer/14372887).\n\n### Information screen for users\n\nThe information screen helps users understand that they are about to visit an\nexternal website. The information screen will be shown to users each time before\nthey are directed outside of the app using the external offers APIs. \n\n|--------------------|\n| Information screen |\n\nExample for illustrative purposes only.\n\n### Next steps\n\nTo begin integrating the external offers APIs, follow the in-depth guides\nfor both [in-app integration](/google/play/billing/external/integration) and [backend integration](/google/play/billing/outside-gpb-backend)."]]