Java के लिए Google Ads API क्लाइंट लाइब्रेरी
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Java के लिए क्लाइंट लाइब्रेरी को GitHub पर होस्ट किया जाता है और Maven के ज़रिए डिस्ट्रिब्यूट किया जाता है. इसमें कई सुविधाएं मिलती हैं, जिनसे आपको एपीआई का इस्तेमाल करने में मदद मिलती है. जैसे, क्रेडेंशियल को आसानी से मैनेज करना और Google Ads API सेवा क्लाइंट बनाना.
इस लाइब्रेरी के लिए, Java 1.8 या इसके बाद का वर्शन ज़रूरी है.
video_library
वीडियो लाइब्रेरी: Java क्लाइंट लाइब्रेरी का इस्तेमाल शुरू करना
गाइड
- शुरू करना
- लाइब्रेरी सेटअप करने के लिए निर्देश.
- अनुमति देना
अलग-अलग ऑथराइज़ेशन फ़्लो का इस्तेमाल करके, लाइब्रेरी के लिए OAuth2 क्रेडेंशियल कॉन्फ़िगर करने के निर्देश.
- OAuth डेस्कटॉप ऐप्लिकेशन फ़्लो
- डेस्कटॉप ऐप्लिकेशन के लिए OAuth2 रीफ़्रेश टोकन कैसे पाएं.
- OAuth वेब ऐप्लिकेशन फ़्लो
- वेब ऐप्लिकेशन के लिए OAuth2 रीफ़्रेश टोकन पाने का तरीका.
- OAuth सेवा खाते का फ़्लो
- सेवा खाते के क्रेडेंशियल के साथ OAuth2 का इस्तेमाल कैसे करें.
- सोर्स से बनाना
सोर्स से क्लाइंट लाइब्रेरी बनाने का तरीका.
- कॉन्फ़िगरेशन फ़ाइल का फ़ॉर्मैट
Java प्रॉपर्टी के बारे में बताने का तरीका.
- लॉगिंग
लॉगिंग सेट अप करने का तरीका.
- फ़ील्ड मास्क
अपडेट ऑपरेशन में फ़ील्ड मास्क का इस्तेमाल करने का तरीका.
- संसाधन के नाम
एपीआई में रिसॉर्स के नामों का फ़ॉर्म और इस्तेमाल.
- प्रॉक्सी कॉन्फ़िगरेशन
एचटीटीपी(एस) प्रॉक्सी कॉन्फ़िगर करें.
- लंबे समय तक चलने वाले ऑपरेशन
लंबे समय तक चलने वाले ऑपरेशन चलाएं.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Google Ads API client library for Java is open-source, available on GitHub, and distributed via Maven for easy integration into your projects.\u003c/p\u003e\n"],["\u003cp\u003eIt simplifies interactions with the Google Ads API, offering features like credential management and service client creation, while requiring Java 1.8+ for compatibility.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive guides and documentation are available to assist with setup, authorization using various OAuth flows, building from source, and other library functionalities.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage resources for advanced usage including configuration files, logging, field masks, resource names, proxy settings, and managing long-running operations.\u003c/p\u003e\n"],["\u003cp\u003eA dedicated video library provides a visual guide to get started with the Java client library and its core features.\u003c/p\u003e\n"]]],[],null,["# Google Ads API Client Library for Java\n\nThe client library for Java is [hosted on\nGitHub](https://github.com/googleads/google-ads-java) and\n[distributed](//search.maven.org/artifact/com.google.api-ads/google-ads)\nthrough [Maven](//maven.apache.org/). It offers several features to help you use\nthe API, including easier management of credentials and creation of Google Ads API\nservice clients.\n\nThe library requires Java 1.8+.\n\n\nvideo_library\n[Video library: Getting started with the Java client library](https://www.youtube.com/playlist?list=PLKByxjzUC-N9gWKMqpi5S0WIVc4o_Ukdj)\n\nGuides\n------\n\n[Getting started](/google-ads/api/docs/client-libs/java/getting-started)\n: Setup instructions for the library.\n\nAuthorization\n\n: Instructions on configuring OAuth2 credentials for the library using\n different authorization flows.\n\n [OAuth desktop application flow](/google-ads/api/docs/client-libs/java/oauth-desktop)\n : How to get OAuth2 refresh tokens for desktop apps.\n\n [OAuth web application flow](/google-ads/api/docs/client-libs/java/oauth-web)\n : How to get OAuth2 refresh tokens for web apps.\n\n [OAuth service account flow](/google-ads/api/docs/client-libs/java/oauth-service)\n : How to use OAuth2 with service account credentials.\n\n[Build from source](/google-ads/api/docs/client-libs/java/build-from-source)\n\n: How to build the client library from source.\n\n[Configuration file format](/google-ads/api/docs/client-libs/java/config-file)\n\n: How to specify Java properties.\n\n[Logging](/google-ads/api/docs/client-libs/java/logging)\n\n: How to set up logging.\n\n[Field masks](/google-ads/api/docs/client-libs/java/field-masks)\n\n: How to use field masks in update operations.\n\n[Resource names](/google-ads/api/docs/client-libs/java/resource-names)\n\n: Form and usage of resource names in the API.\n\n[Proxy configuration](/google-ads/api/docs/client-libs/java/proxy)\n\n: Configure a HTTP(S) proxy.\n\n[Long-running operations](/google-ads/api/docs/client-libs/java/lro)\n\n: Run long-running operations."]]