Method: accounts.get
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इससे, AdMob पब्लिशर खाते के बारे में जानकारी मिलती है.
एचटीटीपी अनुरोध
GET https://admob.googleapis.com/v1beta/{name=accounts/*}
यूआरएल, 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 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-05-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-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"]]