Method: accounts.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एचटीटीपी अनुरोध
GET https://admob.googleapis.com/v1/accounts
यह यूआरएल 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 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]