Method: accounts.get
Hiermit werden Informationen zum angegebenen AdMob-Publisher-Konto abgerufen.
HTTP-Anfrage
GET https://admob.googleapis.com/v1/{name=accounts/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Ressourcenname des abzurufenden Publisher-Kontos. Beispiel: accounts/pub-9876543210987654
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von PublisherAccount
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/admob.readonly
https://www.googleapis.com/auth/admob.report
Weitere Informationen finden Sie in der Übersicht über OAuth 2.0.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-14 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]