Bu kılavuz, AdMob hesapları hakkında programatik olarak bilgi almak için AdMob API'yi kullanmak isteyen geliştiriciler için hazırlanmıştır.
AdMob API'yi kullanmaya başlama
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-09-05 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: 2023-09-05 UTC."],[[["This guide helps developers programmatically access AdMob account data using the AdMob API, requiring OAuth2 authorization for secure interactions."],["Before starting, ensure you have a Google Account, an AdMob account, and familiarity with REST basics and OAuth 2.0 authorization."],["Choose the appropriate authentication type (Desktop or Web app) based on your app's needs and authorization process."],["Create or select a Google API project and enable the AdMob API to get started, then generate OAuth2 credentials for authorization."],["Make your first API request using provided code examples (Java, PHP, Python, or curl) and manage token revocation for security."]]],["To use the AdMob API, developers must authorize requests via OAuth2. Key actions include creating a project in the Google API Console and enabling the AdMob API. Developers then generate OAuth2 credentials, choosing between desktop or web app authentication types. The OAuth consent screen must be configured. Finally, with created credentials and specifying the scope (`admob.readonly` or `admob.report`), developers can use HTTP or Google API client libraries to make their first API request and start retrieving AdMob data. Shared tokens can be revoked.\n"]]