Method: accounts.get
Pobiera informacje o wybranym koncie wydawcy AdMob.
Żądanie HTTP
GET https://admob.googleapis.com/v1beta/{name=accounts/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Nazwa zasobu konta wydawcy do pobrania. Przykład: accounts/pub-9876543210987654
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu PublisherAccount
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/admob.readonly
https://www.googleapis.com/auth/admob.report
Więcej informacji znajdziesz w artykule Omówienie protokołu OAuth 2.0.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-05-14 UTC.
[null,null,["Ostatnia aktualizacja: 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 a specific AdMob publisher account. A `GET` request is sent to `https://admob.googleapis.com/v1beta/{name=accounts/*}`, where `name` represents the account's resource name (e.g., accounts/pub-9876543210987654). The request body must be empty. A successful response returns a `PublisherAccount` instance. Authorization requires either the `admob.readonly` or `admob.report` OAuth scope. The provided syntax use gRPC Transcoding.\n"]]