संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
बिडिंग मैनेजर एपीआई के अनुरोधों की पुष्टि करने के लिए, OAuth 2.0 का इस्तेमाल किया जाना चाहिए.
इस पेज में बताया गया है कि OAuth 2.0 के क्रेडेंशियल कैसे जनरेट किए जाते हैं और कैसे उनका इस्तेमाल किया जाता है
अपने उपयोगकर्ताओं की पुष्टि करने के लिए किया जा सकता है.
किसी मौजूदा प्रोजेक्ट के लिए, Bid Manager API चालू करने के लिए, इन चरणों को पूरा करें
कदम:
Google Cloud Console में एपीआई लाइब्रेरी खोलें. पूछे जाने पर,
कोई प्रोजेक्ट चुनें या नया प्रोजेक्ट बनाएं. एपीआई लाइब्रेरी में, उपलब्ध सभी
एपीआई, प्रॉडक्ट फ़ैमिली और लोकप्रियता के हिसाब से ग्रुप किए गए. Bid Manager API लेबल किया गया
DoubleClick बिड मैनेजर एपीआई.
अगर आपको सूची में वह एपीआई नहीं दिखता जिसे आपको चालू करना है, तो खोज बार का इस्तेमाल करें
उसे ढूंढने के लिए.
वह एपीआई चुनें जिसे आपको चालू करना है. इसके बाद, चालू करें पर क्लिक करें.
पूछे जाने पर, बिलिंग को चालू करें.
अनुरोध किए जाने पर, एपीआई की सेवा की शर्तें स्वीकार करें.
क्रेडेंशियल जनरेट करें
इस सेक्शन में पुष्टि करने के लिए, OAuth 2.0 क्लाइंट आईडी जनरेट करने का तरीका बताया गया है
कोई प्रोजेक्ट चुनने के बाद, बिडिंग मैनेजर एपीआई अनुरोधों की संख्या.
क्रेडेंशियल बनाएं पर क्लिक करें > OAuth क्लाइंट आईडी.
जब कहा जाए, तब सही ऐप्लिकेशन टाइप चुनें. Java और Python
बोली मैनेजर API डेवलपर गाइड में मौजूद कोड स्निपेट
डेस्कटॉप ऐप्लिकेशन. PHP कोड स्निपेट वेब ऐप्लिकेशन के लिए होते हैं.
कोई अन्य ज़रूरी जानकारी डालें. अगर ऐसा पहली बार किया जा रहा है, तो
एक क्लाइंट आईडी बनाते हैं, तो सहमति वाली स्क्रीन कॉन्फ़िगर की जा सकती है. इसके लिए,
सहमति वाली स्क्रीन कॉन्फ़िगर करें. आपको सहमति कॉन्फ़िगर करने का अनुरोध नहीं मिलेगा
पहली बार ऐसा करने के बाद फिर से 'स्क्रीन' दिखेगा, लेकिन आप इसे अपडेट कर सकते हैं
किसी भी समय जानकारी भेज सकते हैं.
बनाएं पर क्लिक करें.
काम पूरा हो जाने के बाद, आपको एक OAuth 2.0 क्लाइंट आईडी और क्लाइंट सीक्रेट मिलेगा.
JSON फ़ॉर्मैट में डाउनलोड करके, बाद में इस्तेमाल करने के लिए सेव किया जा सकता है.
उस स्क्रीन को कॉन्फ़िगर करें जहां उपयोगकर्ता को सहमति दी जाती है
जब पुष्टि करने के लिए OAuth 2.0 का इस्तेमाल किया जाता है, तो आपके उपयोगकर्ताओं की पुष्टि बाद में की जाती है
उपयोगकर्ता की सहमति वाली स्क्रीन पर दी गई शर्तों से सहमत हो.
अपने प्रोजेक्ट की सहमति वाली स्क्रीन सेट अप करने के लिए, यह तरीका अपनाएं:
[[["समझने में आसान है","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-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Bid Manager API requires OAuth 2.0 for authentication, and this page guides you through generating and using necessary credentials.\u003c/p\u003e\n"],["\u003cp\u003eYou'll need to select or create a Google Cloud project and enable the Bid Manager API before generating credentials.\u003c/p\u003e\n"],["\u003cp\u003eGenerating credentials involves creating an OAuth 2.0 client ID through the Google Cloud console after selecting your project.\u003c/p\u003e\n"],["\u003cp\u003eEnsure you configure the user consent screen, where users will agree to terms before authentication is granted.\u003c/p\u003e\n"],["\u003cp\u003eOAuth 2.0 credentials are sensitive and should be downloaded directly from Google Cloud console and kept secure.\u003c/p\u003e\n"]]],[],null,["# Generate credentials\n\nRequests to the Bid Manager API must use [OAuth 2.0](/identity/protocols/oauth2) for authentication.\nThis page explains how to generate the OAuth 2.0 credentials and use them to\nauthenticate your users.\n\nChoose a project\n----------------\n\nOAuth 2.0 credentials are generated by a Google Cloud project. You need\nto [create or select a project in the Google Cloud console and enable the\nAPI](//console.cloud.google.com/start/api?id=doubleclickbidmanager.googleapis.com&credential=client_key).\n\nYou can create a new project, or use an existing one.\n\n### Create a new project\n\nTo create a project and activate the Bid Manager API, follow the steps in the\n[Google Cloud console](//console.cloud.google.com/start/api?id=doubleclickbidmanager.googleapis.com&credential=client_key).\n\n### Use an existing project\n\nTo activate the Bid Manager API for an existing project, complete the following\nsteps:\n\n1. [Open the API Library](//console.cloud.google.com/apis/library) in the Google Cloud console. If prompted, select a project or create a new one. The API Library lists all available APIs, grouped by product family and popularity. The Bid Manager API is labeled **DoubleClick Bid Manager API**.\n2. If you don't see the API you want to activate in the list, use the search bar to find it.\n3. Select the API you want to activate, then click **Enable**.\n4. If prompted, activate billing.\n5. If prompted, accept the Terms of Service for the API.\n\nGenerate credentials\n--------------------\n\nThis section explains how to generate an OAuth 2.0 client ID to authenticate\nyour Bid Manager API requests, after you've [chosen a project](#choose_a_project).\n\nTo create an OAuth 2.0 client ID to use with the [installed application\nflow](/identity/protocols/OAuth2InstalledApp), complete the following steps:\n\n1. Configure a [Google Cloud console project](#choose_a_project).\n2. Open the **Credentials** page in the Google Cloud console.\n3. Click **Create Credentials** \\\u003e **OAuth client ID**.\n4. Select an appropriate application type when prompted. The Java and Python code snippets in the Bid Manager API developer guides are for a **Desktop app** . The PHP code snippets are for a **Web application**.\n5. Enter any additional required information. If this is your first time creating a client ID, you can configure your consent screen by clicking **Configure consent screen**. You won't get a prompt to configure your consent screen again after you do it the first time, but you can update this information at any time.\n6. Click **Create**.\n\nWhen you're done, you get an OAuth 2.0 client ID and client secret, which you\ncan download in JSON format and save for later use.\n| **Warning:** OAuth credentials are sensitive information. You should download them directly from the Google Cloud console, and shouldn't share them.\n\nConfigure the user consent screen\n---------------------------------\n\nWhen you use OAuth 2.0 for authentication, your users are authenticated after\nthey agree to terms on a user consent screen.\n\nTo set up your project's consent screen, complete the following steps:\n\n1. Open the [OAuth consent screen page](//console.cloud.google.com/apis/credentials/consent) in the Google Cloud console. If prompted, [select a project or create a new one](#choose_a_project).\n2. Fill out the form, then click **Save**."]]