Google Ads API में, OAuth के लिए क्लाइंट लाइब्रेरी को कॉन्फ़िगर करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कॉन्फ़िगरेशन की ज़रूरी शर्तें पूरी करने के बाद, Google Ads API कॉल को मैनेज करने के लिए क्लाइंट लाइब्रेरी सेट अप की जा सकती है. हर क्लाइंट लाइब्रेरी को अलग-अलग तरीके से कॉन्फ़िगर किया जाता है. इसलिए, अपनी प्रोग्रामिंग लैंग्वेज के लिए, लिंक किए गए निर्देशों का पालन करें.
अपने कॉन्फ़िगरेशन की पुष्टि करना
OAuth सेट अप करने के बाद, क्लाइंट लाइब्रेरी में दिए गए कोड के किसी उदाहरण का इस्तेमाल करके, Google Ads API को कॉल करें. अपने सेटअप की पुष्टि करने के लिए, GetCampaigns
जैसा कोई आसान उदाहरण चुनें.
अगर आपको समस्याएं आती हैं, तो सामान्य समस्याओं को डीबग करने के बारे में सलाह पाने के लिए, समस्या हल करने के बारे में गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-27 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis page provides instructions for setting up a client library to interact with the Google Ads API after completing configuration requirements.\u003c/p\u003e\n"],["\u003cp\u003eClient library setup varies depending on the programming language, with links provided for Java, .NET, PHP, Python, Ruby, and Perl.\u003c/p\u003e\n"],["\u003cp\u003eUsers should verify their setup by making a simple API call, such as GetCampaigns, and refer to the troubleshooting guide if any issues arise.\u003c/p\u003e\n"]]],[],null,["# Configure a Client Library for OAuth in the Google Ads API\n\nAfter you've obtained the [configuration\nrequirements](/google-ads/api/docs/get-started/introduction), you're ready to set up a\nclient library to handle Google Ads API calls. Since each client library is configured\ndifferently, follow the linked instructions for your particular programming\nlanguage. \n\n### Java\n\n- [Desktop and Web app flows](/google-ads/api/docs/client-libs/java/oauth-web)\n\n### .NET\n\n- [Desktop and Web app flows](/google-ads/api/docs/client-libs/dotnet/oauth-web)\n\n### PHP\n\n- [Desktop and Web app flows](/google-ads/api/docs/client-libs/php/oauth-web)\n\n### Python\n\n- [Desktop and Web app flows](/google-ads/api/docs/client-libs/python/oauth-web)\n\n### Ruby\n\n- [Desktop and Web app flows](/google-ads/api/docs/client-libs/ruby/oauth-web)\n\n### Perl\n\n- [Desktop and Web app flows](/google-ads/api/docs/client-libs/perl/oauth-web)\n\nVerify your configuration\n-------------------------\n\nWhen you've completed setting up OAuth, make a call to the Google Ads API using one of\nthe provided code examples in the client library. Choose a simple example, like\n[`GetCampaigns`](/google-ads/api/docs/get-started/make-first-call), to verify your setup.\n\nIf you encounter issues, consult the [troubleshooting\nguide](/google-ads/api/docs/best-practices/troubleshooting) for tips on debugging common\nissues."]]