Method: accounts.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คำขอ HTTP
GET https://admob.googleapis.com/v1/accounts
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
จำนวนบัญชีสูงสุดที่จะส่งคืน
|
pageToken |
string
ค่าที่แสดงผลโดย ListPublisherAccountsResponse ที่แล้ว ระบุว่านี่เป็นการเรียกที่ต่อเนื่องมาจากการเรียก accounts.list ก่อนหน้านี้ และระบบควรจะแสดงหน้าถัดไปของข้อมูล
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
การตอบกลับคำขอรายการบัญชีผู้เผยแพร่เนื้อหา
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"account": [
{
object (PublisherAccount )
}
],
"nextPageToken": string
} |
ช่อง |
account[] |
object (PublisherAccount )
ผู้เผยแพร่เนื้อหาที่ข้อมูลเข้าสู่ระบบไคลเอ็นต์เข้าถึงได้
|
nextPageToken |
string
หากไม่ว่างเปล่า แสดงว่าอาจมีบัญชีเพิ่มขึ้นสำหรับคำขอ คุณต้องส่งค่านี้ใน ListPublisherAccountsRequest ใหม่
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth รายการใดรายการหนึ่งต่อไปนี้
https://www.googleapis.com/auth/admob.readonly
https://www.googleapis.com/auth/admob.report
สำหรับข้อมูลเพิ่มเติม โปรดดูที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-14 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-10-14 UTC"],[[["Lists the most recently signed-in AdMob publisher account and provides pagination for accessing more accounts."],["Request an account list with optional parameters to specify the maximum number of accounts and page tokens for continuation."],["The response includes an array of publisher accounts and a token for retrieving the next page if available."],["Requires authorization with specific OAuth scopes for read-only or report access to AdMob data."]]],["This document details how to retrieve a list of AdMob publisher accounts. Use a `GET` request to `https://admob.googleapis.com/v1/accounts`. The request body should be empty. Optional `pageSize` and `pageToken` query parameters control the number of accounts returned and pagination. The response body includes an array of account objects and an optional `nextPageToken` for further data retrieval. Access requires specific OAuth scopes: `admob.readonly` or `admob.report`.\n"]]