সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বিড ম্যানেজার API-এর কাছে অনুরোধগুলি অবশ্যই প্রমাণীকরণের জন্য OAuth 2.0 ব্যবহার করবে৷ এই পৃষ্ঠাটি ব্যাখ্যা করে কিভাবে OAuth 2.0 শংসাপত্র তৈরি করতে হয় এবং আপনার ব্যবহারকারীদের প্রমাণীকরণ করতে সেগুলি ব্যবহার করতে হয়।
আপনি একটি নতুন প্রকল্প তৈরি করতে পারেন বা বিদ্যমান একটি ব্যবহার করতে পারেন।
একটি নতুন প্রকল্প তৈরি করুন
একটি প্রকল্প তৈরি করতে এবং বিড ম্যানেজার API সক্রিয় করতে, Google ক্লাউড কনসোলের ধাপগুলি অনুসরণ করুন৷
একটি বিদ্যমান প্রকল্প ব্যবহার করুন
একটি বিদ্যমান প্রকল্পের জন্য বিড ম্যানেজার API সক্রিয় করতে, নিম্নলিখিত পদক্ষেপগুলি সম্পূর্ণ করুন:
Google ক্লাউড কনসোলে API লাইব্রেরি খুলুন । অনুরোধ করা হলে, একটি প্রকল্প নির্বাচন করুন বা একটি নতুন তৈরি করুন৷ API লাইব্রেরি পণ্য পরিবার এবং জনপ্রিয়তা দ্বারা গোষ্ঠীবদ্ধ সমস্ত উপলব্ধ API তালিকাভুক্ত করে৷ বিড ম্যানেজার API-কে DoubleClick Bid Manager API লেবেল করা হয়েছে।
আপনি যদি তালিকায় যে APIটি সক্রিয় করতে চান তা দেখতে না পান তবে এটি খুঁজতে অনুসন্ধান বারটি ব্যবহার করুন৷
আপনি যে APIটি সক্রিয় করতে চান সেটি নির্বাচন করুন, তারপর সক্ষম করুন ক্লিক করুন।
অনুরোধ করা হলে, বিলিং সক্রিয় করুন।
অনুরোধ করা হলে, API-এর পরিষেবার শর্তাবলী স্বীকার করুন৷
শংসাপত্র তৈরি করুন
আপনি একটি প্রকল্প বেছে নেওয়ার পরে, আপনার বিড ম্যানেজার API অনুরোধগুলিকে প্রমাণীকরণ করতে কীভাবে একটি OAuth 2.0 ক্লায়েন্ট আইডি তৈরি করতে হয় এই বিভাগটি ব্যাখ্যা করে৷
ইনস্টল করা অ্যাপ্লিকেশন প্রবাহের সাথে ব্যবহার করার জন্য একটি OAuth 2.0 ক্লায়েন্ট আইডি তৈরি করতে, নিম্নলিখিত পদক্ষেপগুলি সম্পূর্ণ করুন:
অনুরোধ করা হলে একটি উপযুক্ত অ্যাপ্লিকেশন প্রকার নির্বাচন করুন। বিড ম্যানেজার API ডেভেলপার গাইডে জাভা এবং পাইথন কোড স্নিপেটগুলি একটি ডেস্কটপ অ্যাপের জন্য। পিএইচপি কোড স্নিপেট একটি ওয়েব অ্যাপ্লিকেশনের জন্য।
যেকোনো অতিরিক্ত প্রয়োজনীয় তথ্য লিখুন। আপনি যদি প্রথমবার একটি ক্লায়েন্ট আইডি তৈরি করেন, তাহলে আপনি কনফিগার সম্মতি স্ক্রীন ক্লিক করে আপনার সম্মতি স্ক্রীন কনফিগার করতে পারেন। আপনি প্রথমবার এটি করার পরে আপনার সম্মতি স্ক্রিনটি আবার কনফিগার করার জন্য প্রম্পট পাবেন না, তবে আপনি যেকোনও সময় এই তথ্য আপডেট করতে পারেন।
তৈরি করুন ক্লিক করুন।
আপনার হয়ে গেলে, আপনি একটি 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-29 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**."]]