Play Games Services Publishing API'yi kullanmaya başlama
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Publishing API'ye çağrı yapmaya başlamak için doğrudan Google Play Console'dan bir API projesine bağlantı oluşturmanız ve bu proje için Publishing API'yi etkinleştirmeniz gerekir. API projeniz oluşturulduktan sonra, sahip olduğunuz diğer oyun projelerini yönetmek için kullanılabilir.
Yayınlama API'si yalnızca Google Play Geliştirici hesabınızın sahibi tarafından yapılandırılabilir.
Aşağıdaki talimatlarda aşağıdakilerin nasıl yapılacağı açıklanmaktadır:
Yeni veya mevcut bir API projesi oluşturma
OAuth istemcilerini yönetme
Publishing API'ye erişmek için hizmet hesabı kullanma
API projenizi oluşturma
Publishing API'ye erişebilmek için Google Play Console'u bir API projesine bağlamanız gerekir. Çoğu durumda yeni bir API projesi oluşturmanız önerilir. Mevcut Google Play Developer Publishing API kullanıcıları ise mevcut bir API projesine bağlantı oluşturabilir. Her API projesinin yalnızca tek bir Google Play Console hesabına bağlanabileceğini unutmayın.
Yeni bir API projesi oluşturma
Google Play Console'daki API Erişimi sayfasına gidin.
Hizmet Şartları'nı kabul edin.
Yeni proje oluştur'u tıklayın. Otomatik olarak oluşturulan API projesi Google Play Console'unuza bağlanır.
Game Services Publishing API seçeneğini AÇIK duruma getirin.
API projeniz artık Publishing API'ye erişecek şekilde yapılandırılmıştır.
Mevcut bir API projesini kullanma
Halihazırda Google Play Developer API kullanıcısıysanız bu adımları uygulayarak mevcut API projenizi ayarlayabilirsiniz. Oluşturmak istediğiniz API projesi listede yoksa Google Play Console hesabınızın sahip olarak atanmış olduğunu ve Google Play Developer API'nin etkin olduğunu doğrulayın.
Google Play Console'daki API Erişimi sayfasına gidin.
API Hizmet Şartları'nı kabul edin.
Oluşturmak istediğiniz projeyi seçin.
Bağlantı oluştur'u tıklayın. Google Play Console'unuz API projesine bağlandı.
Game Services Publishing API seçeneğini AÇIK duruma getirin.
API projeniz artık Publishing API'ye erişecek şekilde yapılandırılmıştır.
API Erişim İstemcileri Oluşturma
Publishing API'ye bir OAuth istemcisi veya hizmet hesabı üzerinden erişirsiniz.
OAuth istemcileri kullanma
Kullanıcıların OAuth istemcisi kullanarak kendi kimlik bilgileriyle Publishing API üzerinden işlem yapmasına izin verebilirsiniz.
Kullanıcının işlemleri, Google Play Console'daki Kullanıcı Hesapları ve Hakları sayfasından izin verilenlerle sınırlıdır.
Google Play Console'daki API Erişimi sayfasına gidin.
OAuth İstemcileri bölümünde OAuth İstemcisi Oluştur'u tıklayın.
Ürününüzün marka bilinci oluşturma bilgilerini yapılandırın ve Devam'ı tıklayın.
İstemci Kimliği Oluştur'u tıklayın.
Yeni OAuth istemcinizin ayrıntıları bu sayfadaki bir listede gösterilir.
Hizmet hesabı kullanma
Kişisel kullanıcı kimlik bilgilerinizi sağlamadan bir derleme sunucusundan Yayınlama API'sine erişmek için hizmet hesabı da oluşturabilirsiniz:
Google Play Console'daki API Erişimi sayfasına gidin.
Hizmet Hesapları bölümünde Hizmet Hesabı Oluştur'u tıklayın.
Hizmet hesabınızı oluşturmak için sayfadaki talimatları uygulayın.
Google Developers Console'da hizmet hesabını oluşturduktan sonra Bitti'yi tıklayın. API Erişimi sayfası otomatik olarak yenilenir ve hizmet hesabınız listelenir.
Hizmet hesabına işlem gerçekleştirmek için gerekli hakları vermek üzere Erişim Ver'i tıklayın.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Get started with the Play Games Services Publishing API\n\nTo start making calls to the Publishing API, you must link to an API\nproject directly from the\n[Google Play Console](//play.google.com/apps/publish/)\nand enable the Publishing API for that project. Once your API project is\nset up, it can be used to manage other game projects you own.\n\nThe Publishing API can only be configured by the owner of your\n[Google Play Developer account](/distribute/googleplay/developer-console#account-details).\nThe following instructions explain how to:\n\n- Set up a new or existing API project\n- Manage OAuth clients\n- Use a service account to access the Publishing API\n\nSet up your API Project\n-----------------------\n\nBefore you can access the Publishing API, you must link Google Play Console\nto an API project. In most cases, you are encouraged to create a new API\nproject, though current\n[Google Play Developer Publishing API](https://developer.android.com/distribute/googleplay/developer-console.html#account-details)\nusers can link to an existing API project. Keep in mind that each API project\ncan only be linked to a single Google Play Console account.\n\n### Create a new API project\n\n1. Go to the [API Access](https://play.google.com/apps/publish/#ApiAccessPlace) page on the Google Play Console.\n2. Accept the Terms of Service.\n3. Click **Create new project**. An API project is automatically generated and linked to your Google Play Console.\n4. Turn the Game Services Publishing API option to **ON**.\n\nYour API project is now configured to access the Publishing API.\n\n### Use an existing API project\n\nIf you are already a user of the\n[Google Play Developer API](https://developers.google.com/android-publisher),\nyou can set up your existing API project by following these steps. If the API\nproject you want to set up is not listed, verify that your Google Play Console\naccount is designated as an Owner, and the\n[Google Play Developer API](https://developers.google.com/android-publisher/#publishing)\nis enabled.\n\n1. Go to the [API Access](https://play.google.com/apps/publish/#ApiAccessPlace) page on the Google Play Console.\n2. Accept the API Terms of Service.\n3. Choose the project you'd like to set up.\n4. Click **Link**. Your Google Play Console is now linked to the API project.\n5. Turn the Game Services Publishing API option to **ON**.\n\nYour API project is now configured to access the Publishing API.\n\nSet Up API Access Clients\n-------------------------\n\nYou access the Publishing API through an OAuth client or a service account.\n\n### Use OAuth clients\n\nYou can allow users to perform actions via the Publishing API under their\nown credentials using an\n[OAuth](https://developers.google.com/accounts/docs/OAuth2) client.\n| **Note:** Your Oauth client must share the same project as your [service account](#using_a_service_account).\n\nA user's actions are limited to those permitted via the\n[User Accounts \\& Rights](https://play.google.com/apps/publish/#AdminPlace)\npage on the Google Play Console.\n\n1. Go to the [API Access](https://play.google.com/apps/publish/#ApiAccessPlace) page on the Google Play Console.\n2. Under **OAuth Clients** , click **Create OAuth Client**.\n3. Configure your product's branding information, and click **Continue**.\n4. Click **Create Client ID**.\n\nThe details of your new OAuth client are displayed in a list on this page.\n\n### Use a service account\n\nYou can also create a\n[service account](https://developers.google.com/accounts/docs/OAuth2ServiceAccount)\nto access the Publishing API from a build server without providing your personal\nuser credentials:\n\n1. Go to the [API Access](https://play.google.com/apps/publish/#ApiAccessPlace) page on the Google Play Console.\n2. Under **Service Accounts** , click **Create Service Account**.\n3. Follow the instructions on the page to create your service account.\n4. Once you've created the service account on the Google Developers Console, click **Done** . The [API Access](https://play.google.com/apps/publish/#ApiAccessPlace) page automatically refreshes, and your service account will be listed.\n5. Click **Grant Access** to provide the service account the necessary rights to perform actions.\n\nFor more information, see\n[Using OAuth 2.0 for Server to Server Applications](https://developers.google.com/accounts/docs/OAuth2ServiceAccount).\n\nAccessing the Google Play Games Services Publishing API\n-------------------------------------------------------\n\nYou can access the Publishing API directly via HTTP. For more information, see\n[Publishing API reference](https://developers.google.com/games/services/publishing/api)\nand the\n[sample app](//github.com/playgameservices/management-tools)."]]