الاختبار الذاتي باستخدام الرموز الترويجية من Play Console
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يمكنك استخدام
اختبار الرموز الترويجية لاختبار منتجاتك داخل التطبيقات من أجل الحصول على نقاط في برنامج Play Points. للقيام بذلك، قم بما يلي:
يمكنك إنشاء حملات تجريبية واختبار الرموز الترويجية في Play Console. في حملتك التجريبية، حدِّد معرّفات المنتجات للمنتجات داخل التطبيق.
على جهاز اختبار، استخدِم القائمة تحصيل القيمة في تطبيق "متجر Play". بإجراء ذلك، يمكنك التأكّد من إمكانية تلقّي منتجات داخل التطبيق للعروض الترويجية للنقاط في تطبيقك. تعرض لقطة الشاشة التالية مثالاً:
تحقَّق من السيناريوهات التالية باستخدام الرموز الترويجية:
التطبيق غير مثبّت: يحصِّل المستخدم قيمة النقاط في Play Points، ويطلب منك "متجر Play" تثبيت التطبيق. بعدها، من المفترض أن يرصد التطبيق السلع ويسلّمها لك.
التطبيق مثبّت ولكنه لا يعمل: يحصِّل المستخدم قيمة النقاط في Play Points، ويطلب منك
"متجر Play" فتح التطبيق. بعدها، من المفترض أن يرصد التطبيق ويعرِض
العناصر.
التطبيق مثبّت وقيد التشغيل: يحصِّل المستخدم قيمة النقاط في Play Points، وبعدها من المفترض أن يتلقّى تطبيقك العناصر ويرصدها.
من خلال خطوات الاختبار المذكورة أعلاه، يمكنك التحقّق من أن دمج واجهة برمجة التطبيقات يعمل بشكل صحيح ومن استعدادك لضبط العروض الترويجية في Play Points وإرسالها
(إذا كانت هذه الميزة مفعَّلة في لعبتك).
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Self-test using promo codes from Play Console\n\nYou can test your in-app products for Play Points using\n[Test promo codes](/google/play/billing/test#promo). To do so, do the following:\n\n- Create test campaigns and test promo codes in the Play Console. In your test\n campaign, specify the product IDs of your in-app products.\n\n- On a test device, use the **Redeem** menu in the Play Store app. By doing this you\n can verify that you can receive in-app products for Points promotions in your\n app. The following screenshot displays an example:\n\nVerify the following scenarios using promo codes:\n\n- App is not installed: The user redeems Play Points, the Play Store asks you to\n install your app, then your app should detect and deliver the items.\n\n- App is installed, but not running: The user redeems Play Points, the Play\n Store asks you to open your app, then your app should detect and serve the\n items.\n\n- App is installed and running: The user redeems Play Points, then your app\n should receive and detect the items.\n\n| **Note:** Testing with promo code purchases will not create/return an orderID; however, Play points promotions will once published.\n\nWith the test steps above, you can verify your API integration is working\nproperly and you are ready to configure and submit Play Points promotions\n(if the feature is enabled for your game)."]]