हमारे प्रॉडक्ट के बारे में चर्चा करने और सुझाव देने के लिए, Google विज्ञापन और मेज़रमेंट कम्यूनिटी सर्वर में Google Ads के आधिकारिक Discord चैनल से जुड़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
OAuth की सहमति वाली स्क्रीन को कॉन्फ़िगर करना
अनुमति के लिए OAuth 2.0 का इस्तेमाल करने पर, Google उपयोगकर्ता को सहमति वाली स्क्रीन दिखाता है. इसमें आपके प्रोजेक्ट की खास जानकारी, उसकी नीतियां, और ऐक्सेस करने के लिए अनुरोध किए गए दायरे की जानकारी शामिल होती है. अपने ऐप्लिकेशन की OAuth सहमति स्क्रीन को कॉन्फ़िगर करने से यह तय होता है कि उपयोगकर्ताओं और ऐप्लिकेशन की समीक्षा करने वाले लोगों को क्या दिखेगा. साथ ही, इससे आपका ऐप्लिकेशन रजिस्टर हो जाता है, ताकि आप उसे बाद में पब्लिश कर सकें.
अपने ऐप्लिकेशन के लिए, OAuth की सहमति वाली स्क्रीन को कॉन्फ़िगर करने के लिए, निर्देशों का पालन करें. साथ ही, OAuth के दायरे के तौर पर https://www.googleapis.com/auth/adwords जोड़ें.
क्लाइंट आईडी और क्लाइंट सीक्रेट बनाना
अगर किसी ऐसे मौजूदा Google API Console प्रोजेक्ट का इस्तेमाल किया जा रहा है जिसमें पहले से ही क्लाइंट आईडी और क्लाइंट पासकोड जनरेट है, तो इस चरण को छोड़ा जा सकता है. अगर ऐसा नहीं है, तो निर्देशों का पालन करके क्लाइंट आईडी और क्लाइंट सीक्रेट बनाएं.
ऐप्लिकेशन के टाइप के तौर पर, डेस्कटॉप ऐप्लिकेशन या वेब ऐप्लिकेशन में से कोई एक विकल्प चुना जा सकता है. OAuth 2.0 क्लाइंट बनाने के बाद, क्लाइंट की JSON फ़ाइल डाउनलोड करें. इसके लिए, सबसे पहले OAuth क्लाइंट डाउनलोड करें आइकॉन पर क्लिक करें. इसके बाद, नीचे दी गई स्क्रीन पर JSON डाउनलोड करें बटन पर क्लिक करें.
[[["समझने में आसान है","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-09-05 (UTC) को अपडेट किया गया."],[],[],null,["# Configure the Google API Console project\n\n**Note:** The current step of this tutorial depends on the [type of application](/google-ads/api/docs/get-started/choose-application-type) you are building. We strongly recommend using a service account to make API calls. However, the user authentication option is also provided as an alternative. The rest of this tutorial will be customized based on your choice. \nService accounts User authentication\n\nCreate a service account and key\n--------------------------------\n\n| **Note:** If you are already using another Google API and have created an OAuth 2.0 service account and key, you can skip this step and reuse the existing credentials.\n\nStart by [creating a service account and credentials](/google-ads/api/docs/get-started/choose-application-type).\nNext, [create credentials for the service account](/workspace/guides/create-credentials#service-account).\nDownload the service account key in JSON format and note the service account ID\nand email."]]