Method: accounts.get
Belirtilen AdMob yayıncı hesabıyla ilgili bilgileri alır.
HTTP isteği
GET https://admob.googleapis.com/v1/{name=accounts/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Alınacak yayıncı hesabının kaynak adı. Örnek: accounts/pub-9876543210987654
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, PublisherAccount
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/admob.readonly
https://www.googleapis.com/auth/admob.report
Daha fazla bilgi için OAuth 2.0'a Genel Bakış başlıklı makaleye bakın.
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: 2024-05-14 UTC.
[null,null,["Son güncelleme tarihi: 2024-05-14 UTC."],[[["Retrieves information about a specific AdMob publisher account using a GET request."],["Requires specifying the publisher account's resource name in the request URL path."],["Returns a PublisherAccount object containing the account information if successful."],["Needs authorization with either `admob.readonly` or `admob.report` OAuth scopes."]]],["This document outlines how to retrieve information about an AdMob publisher account. A `GET` request is sent to `https://admob.googleapis.com/v1/{name=accounts/*}`, with the account's resource name (e.g., `accounts/pub-9876543210987654`) specified as a path parameter. The request body must be empty. A successful response returns a `PublisherAccount` instance. Authorization requires either `admob.readonly` or `admob.report` OAuth scopes. The document includes examples and a \"Try it!\" feature.\n"]]