संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अक्सर, किसी एपीआई का इस्तेमाल करने का सबसे आसान तरीका, सैंपल कोड देखना हो सकता है. इस पेज पर, सैंपल के लिंक और AdMob API को ऐक्सेस करने के कई आसान तरीके दिए गए हैं.
हालांकि, एचटीटीपी अनुरोध बनाने और जवाबों को मैन्युअल तरीके से पार्स करने के बजाय, आपके पास Google API क्लाइंट लाइब्रेरी का इस्तेमाल करने का विकल्प है. क्लाइंट लाइब्रेरी की मदद से, ऐसे कॉल के लिए भाषा का बेहतर इंटिग्रेशन, बेहतर सुरक्षा, और सहायता मिलती है जिनमें उपयोगकर्ता की अनुमति ज़रूरी होती है.
यहां दी गई टेबल में, पहले कॉलम में हर लाइब्रेरी के डेवलपमेंट का चरण दिखाया गया है. ध्यान दें कि कुछ लाइब्रेरी अब भी शुरुआती चरणों में हैं. दूसरा कॉलम, हर लाइब्रेरी के मुख्य पेज से लिंक होता है.
[[["समझने में आसान है","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"]],["आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis page offers various ways to access the AdMob API, including sample code and client libraries.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries provide advantages like better language integration, improved security, and user authorization support.\u003c/p\u003e\n"],["\u003cp\u003eSample code is available for Java, PHP, and Python, and can be adapted for other libraries.\u003c/p\u003e\n"],["\u003cp\u003eYou can find documentation and samples for various client libraries including Java, JavaScript, Objective-C, PHP, and Python.\u003c/p\u003e\n"]]],["The AdMob API can be learned through sample code, accessible via provided links. Instead of manual HTTP requests, utilizing Google APIs Client Libraries is recommended for better language integration and security. The document lists available client libraries for Java, JavaScript, Objective-C, PHP, and Python, noting their development stage. Direct links to documentation and samples for Java, PHP, and Python are provided, with the guidance that existing library samples can be adapted for unsupported APIs.\n"],null,["Often, the easiest way to learn how to use an API can be to look at sample\ncode. This page provides links to samples and a number of convenient ways\nto access the AdMob API.\n\nHowever, instead of creating HTTP requests and parsing responses manually,\nyou may want to use the Google APIs Client Libraries. The client libraries\nprovide better language integration, improved security, and support for making\ncalls that require user authorization.\n\nIn the tables below, the first column shows each library's stage of\ndevelopment; note that some are still in early stages. The second column\nlinks to the main page for each library.\n| **Note:** For libraries that have samples for the AdMob API, the third column in the table below links to them directly. If a library's samples page does not yet include a sample for this API, you can still use that library---simply adapt one of the existing samples as needed.\n\nThe set of mature libraries includes:\n\n| Client library | Documentation | All client library samples |\n|----------------------------------------------------|-------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|---|\n| Google API Client Library for Java | \u003chttps://developers.google.com/api-client-library/java/\u003e | [Java samples](//github.com/googleads/googleads-admob-api-samples/tree/master/java/v1) |\n| Google API Client Library for JavaScript | [Google API Client Library for JavaScript](/api-client-library/javascript/start/start-js) | |\n| Google API Client Library for Objective-C for REST | \u003chttps://github.com/google/google-api-objectivec-client-for-rest\u003e | |\n| Google API Client Library for PHP () | [Google API Client Library for PHP](/api-client-library/php) | [PHP samples](//github.com/googleads/googleads-admob-api-samples/tree/master/php/v1) |\n| Google API Client Library for Python (v1/v2) | [Google API Client Library for Python (v1/v2)](/api-client-library/python) | [Python samples](//github.com/googleads/googleads-admob-api-samples/tree/master/python/v1) | |"]]