Method: accounts.get
Nhận thông tin về tài khoản nhà xuất bản AdMob được chỉ định.
Yêu cầu HTTP
GET https://admob.googleapis.com/v1beta/{name=accounts/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
name |
string
Tên tài nguyên của tài khoản nhà xuất bản cần truy xuất. Ví dụ: accounts/pub-9876543210987654
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của PublisherAccount
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/admob.readonly
https://www.googleapis.com/auth/admob.report
Để biết thêm thông tin, hãy xem Tổng quan về OAuth 2.0.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-05-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]