Method: accounts.get
קבלת מידע על חשבון AdMob של בעל האפליקציה שצוין.
בקשת HTTP
GET https://admob.googleapis.com/v1/{name=accounts/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
שם המשאב של חשבון בעל התוכן הדיגיטלי לצורך אחזור. לדוגמה: accounts/pub-9876543210987654
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של PublisherAccount
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/admob.readonly
https://www.googleapis.com/auth/admob.report
למידע נוסף, עיין בסקירה הכללית על OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-05-14 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]