同時実行に関する考慮事項
Play Console と Publishing API を同時に使用してアプリケーションを更新しないでください。意図せぬ誤動作が生じるおそれがあります。
Play Console と Publishing API を同時に使用してアプリケーションを更新した場合、または複数の Publishing API クライアントを同時に使用した場合に予想される動作の例を、以下にいくつか示します。
Play Console で審査のために変更を送信する準備ができた状態で編集を commit する
編集を commit すると、Play Console で審査のために送信する準備ができた変更を含め、すべての変更内容が審査のために送られます。たとえば、Play Console で審査のために変更を送信する準備ができているとします。API を使用して編集を作成、編集して commit すると、その commit 操作により、Play Console で行われた変更を含め、アプリケーションに対するすべての変更が審査のために送信されます。
Play Console で変更を加えると、アクティブな編集が無効になる
API を使用して行ったアクティブな編集がある場合、Play Console を使用してアプリを更新すると、その編集は無効になります。API を通じてアプリケーションを更新するには、新しい編集を作成する必要があります。
新しい編集を作成すると、同じユーザーによる同じアプリケーションのアクティブな編集が無効になる
アプリケーションの新しい編集を作成すると、同じユーザーによって作成された該当のアプリケーションのアクティブな編集が無効になります。API ユーザーはそれぞれ、アプリケーションごとにアクティブな編集を 1 つだけ行えます。
複数のユーザーが同じアプリケーションでアクティブな編集を行える
2 人のユーザーが同じアプリケーション用に編集を作成した場合、どちらの編集操作も一方が commit されるまでアクティブになります。そのアプリケーションで一方の編集が先に commit されると、他方の編集はすべて無効になります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-26 UTC。
[null,null,["最終更新日 2025-02-26 UTC。"],[[["Avoid using the Developer Console and the Publishing API simultaneously for application updates due to potential conflicts and unexpected outcomes."],["Concurrent edits, whether through the Developer Console or multiple Publishing API clients, can lead to one edit overriding others, requiring careful management of updates."],["Initiating a commit action using the API will send all pending changes for review, including those staged in the Developer Console."],["Making changes in the Developer Console while an API edit is active will invalidate the API edit, necessitating a new edit for API-based updates."],["Only one active edit per application is allowed per API user; creating a new edit invalidates any existing active edits by the same user for that application."]]],["Using the Developer Console and Publishing API simultaneously can cause issues. Committing an API edit sends all changes for review, even those made in the Developer Console. Developer Console changes invalidate active API edits, requiring a new edit to be made. A new edit from one user invalidates their other active edits. Multiple users can have active edits, but the first commit invalidates the others. Concurrent use of these methods can result in unintended changes being published.\n"]]