टूल और क्लाइंट लाइब्रेरी डाउनलोड करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस ट्यूटोरियल के बाकी चरण पूरे करने के लिए, यहां दिए गए टूल डाउनलोड करें.
Google Cloud सीएलआई
Google Ads API, अनुमति देने के तरीके के तौर पर OAuth 2.0 का इस्तेमाल करता है. इस ट्यूटोरियल में, OAuth 2.0 के ऑथराइज़ेशन के अलग-अलग चरणों को पूरा करने के लिए, Google Cloud CLI का इस्तेमाल किया गया है. gcloud सीएलआई इंस्टॉल करने के लिए, निर्देशों का पालन करें.
इस गाइड के बाकी निर्देशों की पुष्टि की गई है कि ये gcloud टूल के नीचे दिए गए वर्शन के साथ काम करते हैं. ऐसा हो सकता है कि ऐप्लिकेशन के काम करने के तरीके या कमांड-लाइन के विकल्पों में अंतर की वजह से, ये निर्देश पिछले वर्शन के साथ काम न करें.
:~$ gcloud version
Google Cloud SDK 492.0.0
alpha 2024.09.06
beta 2024.09.06
bq 2.1.8
bundled-python3-unix 3.11.9
core 2024.09.06
enterprise-certificate-proxy 0.3.2
gcloud-crc32c 1.0.0
gsutil 5.30
क्लाइंट लाइब्रेरी या एचटीटीपी क्लाइंट
आपके पास क्लाइंट लाइब्रेरी या एचटीटीपी क्लाइंट डाउनलोड करने का विकल्प होता है. यह इस बात पर निर्भर करता है कि आपको एपीआई कॉल कैसे करने हैं.
क्लाइंट लाइब्रेरी का इस्तेमाल करना
अपनी पसंद की क्लाइंट लाइब्रेरी डाउनलोड और इंस्टॉल करें.
एचटीटीपी क्लाइंट (REST) का इस्तेमाल करना
यूआरएल के ज़रिए डेटा ट्रांसफ़र करने के लिए, कमांड-लाइन टूल curl डाउनलोड और इंस्टॉल करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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 guide requires downloading and installing \u003ccode\u003eoauth2l\u003c/code\u003e or \u003ccode\u003egcloud CLI\u003c/code\u003e for authorization using OAuth 2.0 to obtain access and refresh tokens.\u003c/p\u003e\n"],["\u003cp\u003eEnsure your \u003ccode\u003eoauth2l\u003c/code\u003e version is v1.3.0 and \u003ccode\u003egcloud CLI\u003c/code\u003e version is 492.0.0 for compatibility with the instructions.\u003c/p\u003e\n"],["\u003cp\u003eYou will need to utilize either a Google Ads API client library or an HTTP client like \u003ccode\u003ecurl\u003c/code\u003e to interact with the API.\u003c/p\u003e\n"]]],[],null,["# Download tools and client libraries\n\nDownload the following tools to complete the remaining steps of this\ntutorial.\n\nThe Google Cloud CLI\n--------------------\n\nThe Google Ads API uses OAuth 2.0 as the authorization mechanism. This tutorial\nuses the Google Cloud CLI as a way to perform various OAuth 2.0 authorization\nsteps. Follow the [instructions](https://cloud.google.com/sdk/docs/install)\nto install gcloud CLI.\n\nThe instructions for the rest of this guide were verified to work with the\nfollowing version of the gcloud tool and might not work with previous versions\ndue to differences in application behavior or command-line options. \n\n :~$ gcloud version\n Google Cloud SDK 492.0.0\n alpha 2024.09.06\n beta 2024.09.06\n bq 2.1.8\n bundled-python3-unix 3.11.9\n core 2024.09.06\n enterprise-certificate-proxy 0.3.2\n gcloud-crc32c 1.0.0\n gsutil 5.30\n\nClient library or HTTP client\n-----------------------------\n\nYou can choose to either download a client library or an HTTP client depending\non how you'd like to make API calls. \n\n### Use a client library\n\nDownload and install a [client library](/google-ads/api/docs/client-libs) of your choice.\n\n### Use HTTP client (REST)\n\nDownload and install [curl](https://curl.se/download.html),\nthe command line tool for transferring data through a URL."]]