مدیریت استفاده از API Services Play Games،مدیریت استفاده از API Services Play Games،مدیریت استفاده از API Services Play Games،مدیریت استفاده از API Services Play Games
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این مبحث نحوه شناسایی و مدیریت استفاده از سرویسهای Play Games Services API در بازی خود را شرح میدهد.
شناسایی محدودیت نرخ
اگر از کیت توسعه نرمافزار خدمات بازیهای Play استفاده میکنید، کنترلکنندههای پاسخ به تماس یا شنوندگان زمانی که بازیتان از حد مجاز نرخ خود فراتر میرود، خطاها را برمیگردانند.
در Android، فراخوانیهایی که اشیاء PendingResult ، مانند incrementAchievementImmediate را برمیگردانند، یک کد وضعیت STATUS_NETWORK_ERROR_OPERATION_DEFERRED در شیء نتیجه برمیگردانند. این کد وضعیت نشان میدهد که کتابخانه بهطور خودکار بعداً زمانی که بازی شما دیگر محدود به نرخ نیست، مجدداً تماس برقرار میکند.
برای درخواست سهمیه اضافی برای بازی های خود، به بخش افزایش سهمیه مراجعه کنید.
سهمیه روزانه خود را مدیریت کنید
میتوانید با بازدید از پروژه خود در Google Cloud Platform سهمیه روزانه برنامه خود را برای Google Cloud Platform مرور کنید.
برای مشاهده یا تغییر محدودیتهای استفاده برای پروژه خود، یا درخواست افزایش سهمیه، موارد زیر را انجام دهید:
اگر قبلاً یک حساب صورتحساب برای پروژه خود ندارید، آن را ایجاد کنید.
برای مشاهده و تغییر تنظیمات مربوط به سهمیه، سهمیه ها را انتخاب کنید. برای مشاهده آمار استفاده، استفاده را انتخاب کنید.
میتوانید حداکثر تعداد تماسهایی را که کاربر در هر ثانیه میتواند برقرار کند، تنظیم کنید تا مطمئن شوید پخشکننده سوءاستفادهکننده از تمام سهمیه برنامه شما استفاده نمیکند. برای کسب اطلاعات بیشتر در مورد استفاده از سقف، به مستندات Google Cloud Platform مراجعه کنید.
برای درخواست سهمیه اضافی برای بازی های خود، به بخش افزایش سهمیه مراجعه کنید.
درخواست افزایش سهمیه
برای درخواست افزایش سهمیه بازی، روی پیوند درخواست بیشتر در کنار ورودی سهمیه برنامه خود در Google Cloud Platform کلیک کنید.
درخواستهای افزایش سهمیه بازیها معمولاً پذیرفته نمیشوند مگر اینکه بازی شما استفاده استثنایی داشته باشد و از بهترین شیوههای موجود در چک لیست کیفیت پیروی کند.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-08-30 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-08-30 بهوقت ساعت هماهنگ جهانی."],[],[],null,["This topic describes how to detect and manage Play Games Services API usage in\nyour game.\n\nDetect rate limiting\n\nIf you are using the Play Games Services SDK, your callback handlers or listeners\nreturn errors when your game exceeds its rate limit.\n\nIn Android, calls that return\n[`PendingResult`](https://developer.android.com/reference/com/google/android/gms/common/api/PendingResult.html)\nobjects,\nsuch as\n[`incrementAchievementImmediate`](https://developer.android.com/reference/com/google/android/gms/games/achievement/Achievements.html#incrementImmediate(com.google.android.gms.common.api.GoogleApiClient,%20java.lang.String,%20int)),\nreturn a `STATUS_NETWORK_ERROR_OPERATION_DEFERRED` status code in the\nresult object. This status code indicates that the library will automatically\nattempt to make the call again later when your game is no longer rate limited.\n\nTo request additional quota for your games, see the\n[quota increase](#quota-increase) section.\n\nManage your daily quota\n\nYou can review your application's daily quota for Google Cloud Platform by\nvisiting your project in the\n[Google Cloud Platform](https://console.developers.google.com/).\n\nTo view or change usage limits for your project, or to request an increase to\nyour quota, do the following:\n\n1. If you don't already have a [billing account](//cloud.google.com/billing/docs/how-to/manage-billing-account) for your project, then create one.\n2. [Visit the Enabled APIs page of the\n API library](https://console.cloud.google.com/apis/enabled) in the API Console, and select an API from the list.\n3. To view and change quota-related settings, select **Quotas** . To view usage statistics, select **Usage**.\n\nYou can set the maximum number of calls a user can make per second, to\nhelp ensure that an abusive player doesn't use up all of your application's\nquota. To learn more about capping usage, see the\nGoogle Cloud Platform\n[documentation](https://developers.google.com/console/help/capping-usage).\n\nTo request additional quota for your games, see the\n[quota increase](#quota-increase) section.\n\nRequest a quota increase\n\nTo request a game quota increase, click the *Request more* link next to\nyour app's quota entry in the\n[Google Cloud Platform](https://console.developers.google.com/).\n\nRequests to increase the games quota usually aren't accepted unless your game is\nexperiencing exceptional usage and is obeying the best practices in the\n[quality checklist](https://developers.google.com/games/services/bestpractices#9_quota_and_rate_limiting)."]]