تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
إنّ واجهة برمجة التطبيقات Google Play Custom App Publishing API مصمَّمة خصيصًا للأجهزة الجوّالة للمؤسسات.
إدارة الخدمات الجوّالة للمؤسسات (EMM) ومطوّري التطبيقات التابعين لجهات خارجية والمؤسسات الأخرى
الذين يريدون السماح لعملاء المؤسسات بنشر التطبيقات الخاصة (أيضًا
تسمى التطبيقات المخصصة) مباشرةً من واجهة المستخدم.
عميل المؤسسات هو مؤسسة تستخدم Google Play للأعمال لتوزيع الأعمال.
التطبيقات للموظفين. يحتفظ كل عميل من عملاء المؤسسة بنموذجه
متجر Google Play للأعمال، والذي يمكن أن يتضمّن
التطبيقات العامة والخاصة معًا. التطبيقات الخاصة
لا تتوفر خارج المؤسسة، سوى المستخدمين الذين لديهم إمكانية الوصول إلى
يمكن لمتجر "Google Play للأعمال" عرض التطبيقات الخاصة وتثبيتها.
الإعداد الأولي
قبل أن تتمكّن من نشر تطبيقات خاصة باستخدام واجهة برمجة التطبيقات Google Play Custom App Publishing API، عليك:
إلى تفعيل واجهة برمجة التطبيقات Google Play Custom App Publishing API لمشروع ما،
إنشاء حساب خدمة ومنح إذن النشر لهذا الحساب على حساب المطوِّر الخاص بك على Play Console
تفعيل واجهة برمجة التطبيقات Google Play Custom App Publishing API
لتفعيل واجهة برمجة التطبيقات Google Play Custom App Publishing API لمشروع ما، يُرجى اتّباع الخطوات التالية:
الخطوات:
افتح وحدة التحكم في واجهة Google API. إذا لم يكن لديك حساب على Google، اختَر
خيارات إضافية > أنشئ حسابًا ثم املأ النموذج لإنشاء
الحساب. إذا كان لديك حساب على Google، سجِّل الدخول إذا طُلب منك ذلك.
ابحث في مكتبة واجهة برمجة التطبيقات عن واجهة برمجة التطبيقات Google Play Custom App Publishing API. إلى
تمكين واجهة برمجة التطبيقات، وتحديدها، ثم النقر على تمكين.
إنشاء حساب خدمة
من خلال المشروع نفسه الذي تم فيه تفعيل واجهة برمجة التطبيقات Google Play Custom App Publishing API، يمكنك اتّباع الخطوات التالية لإنشاء حساب خدمة:
من قائمة المشاريع، اختَر المشروع الذي اخترته أو أنشأته عند تفعيل واجهة برمجة التطبيقات.
من القائمة الرئيسية، اختَر إدارة الهوية وإمكانية الوصول المشرف > حسابات الخدمة > إنشاء حساب خدمة
أدخِل اسمًا لحساب الخدمة واختَر تقديم مفتاح خاص جديد. بعد ذلك، انقر على إنشاء.
دوِّن عنوان البريد الإلكتروني لحساب الخدمة وخزِّن عناوين بريد إلكتروني
ملف مفتاح خاص في مكان يمكن لتطبيقك الوصول إليه. تطبيقك
لإجراء اتصالات معتمدة بواجهة برمجة التطبيقات Google Play Custom App Publishing API.
منح إذن النشر لحساب الخدمة
لمنح حساب الخدمة الذي أنشأته الإذن بالنشر، اتّبِع الخطوات التالية:
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Google Play Custom App Publishing API enables enterprise mobility management providers and developers to publish private apps directly for their enterprise customers.\u003c/p\u003e\n"],["\u003cp\u003ePrivate apps are only accessible to users within an enterprise's managed Google Play store, ensuring data security and exclusivity.\u003c/p\u003e\n"],["\u003cp\u003eBefore publishing, you need to enable the API, create a service account with publishing permissions on your Play Console developer account, and retrieve your developer account ID.\u003c/p\u003e\n"],["\u003cp\u003eEnterprise customers utilize managed Google Play to distribute work apps to employees within their organization's private app store.\u003c/p\u003e\n"],["\u003cp\u003eTo publish private apps, the Play Console developer account owner must also be an admin of the target enterprise customer.\u003c/p\u003e\n"]]],[],null,["# Get started with custom app publishing\n\nThe Google Play Custom App Publishing API is intended for enterprise mobility\nmanagement providers (EMMs), third-party app developers, and other organizations\nwho want to enable their enterprise customers to publish private apps (also\ncalled *custom apps*) directly from their end-user interface.\n\nAn enterprise customer is an organization that uses [managed Google Play](https://support.google.com/googleplay/work/answer/6137769) to distribute work\napps to employees. Each enterprise customer maintains their own\n[managed Google Play store](https://play.google.com/work), which can include\nboth public and private apps. [Private apps](https://support.google.com/googleplay/work/topic/6145152)\naren't available outside the enterprise---only users with access to the\nenterprise's managed Google Play store can view and install private apps.\n| **Note:** Custom app publishing is designed for private apps that are used by a single enterprise customer or apps that contain sensitive data. If an app is intended for multiple enterprise customers and/or requires authentication to access any sensitive data, then consider [publishing the app to the public Google Play store](https://support.google.com/googleplay/android-developer/answer/113469).\n\nPreliminary setup\n-----------------\n\nBefore you can publish private apps using the Google Play Custom App Publishing API, you\nneed to first enable the Google Play Custom App Publishing API for a project,\ncreate a service account, and grant publishing permission to this account on your Play Console developer account.\n\n### Enable the Google Play Custom App Publishing API\n\nTo enable the Google Play Custom App Publishing API for a project, follow these\nsteps:\n\n1. Open the [Google API Console](https://console.cloud.google.com/). If you don't have a Google account, select\n **More options** \\\u003e **Create account** and then fill in the form to create an\n account. If you have a Google account, sign in if prompted.\n\n2. From the projects list, select a project or [create a project](https://support.google.com/googleapi/answer/6251787).\n\n3. [Open the API Library](https://console.cloud.google.com/apis/library).\n\n4. Search the API Library for the Google Play Custom App Publishing API. To\n enable the API, select it and then click **enable**.\n\n### Create a service account\n\nWith the same project for which you've enabled the Google Play Custom App Publishing API, follow these steps to create a service account:\n\n1. Open the [Google API Console](https://console.cloud.google.com/). Login if prompted.\n\n2. From the projects list, choose the project that you selected or created when enabling the API.\n\n3. From the main menu, select **IAM \\& Admin** \\\u003e **Service accounts** \\\u003e **Create service account**.\n\n4. Enter a name for your service account and select **Furnish a new private key** . Then click **Create**.\n\nTake note of the service account's email address and store the service account's\nprivate key file in a location accessible to your application. Your application\nneeds them to make authorized calls to the Google Play Custom App Publishing API.\n\n### Grant publishing permission to the service account\n\nTo grant publishing permission to the service account you've created, follow these steps:\n\n1. Open the [Play Console](https://play.google.com/console)\n\n2. Select an existing developer account or create a new one.\n\n | **Note:** Owner account of your developer account should also be an admin of the enterprise customer you wish to publish the private app to.\n3. Follow the steps mentioned in [give users access](https://support.google.com/googleplay/android-developer/answer/9844686?ref_topic=7072535) document to give the permission to [create and publish private apps](https://support.google.com/googleplay/android-developer/answer/9844686?ref_topic=7072535#zippy=%2Ccreate-and-publish-private-apps-to-your-organization) to the service account's email address.\n\n### Retrieve the developer account ID\n\nAfter the setup and permission process is complete, take a note of developer account ID from the Play Console URL: \n\n```\nhttps://play.google.com/console/developers/123456\n```\n\nYou need to pass the developer account ID as a parameter when you\n[publish private apps](/android/work/play/custom-app-api/publish) for the user's\nenterprise."]]