সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পাইথন ক্লায়েন্ট লাইব্রেরি ইনস্টল করুন
আপনার স্থানীয় পরিবেশে পাইথন ক্লায়েন্ট লাইব্রেরি ইনস্টল করতে:
পাইথন ক্লায়েন্ট লাইব্রেরি টারবল বের করুন।
একই ডিরেক্টরিতে নিম্নলিখিত কমান্ডটি চালান:
python-mpipinstall.
ইনস্টলেশন সম্পূর্ণ করতে টার্মিনালে প্রম্পট অনুসরণ করুন।
YAML ফাইল ব্যবহার করে কনফিগারেশন
আপনি ক্লায়েন্ট শুরু করার সময় ব্যবহার করার জন্য একটি YAML ফাইল নির্দিষ্ট করতে পারেন যাতে অনুরোধ করার জন্য প্রয়োজনীয় প্রমাণীকরণ তথ্য রয়েছে। load_from_file পদ্ধতি ব্যবহার করে একটি ক্লায়েন্ট শুরু হলে এই ফাইলটি অ্যাক্সেস করা হয়। রিফ্রেশ টোকেন , ক্লায়েন্ট আইডি, এবং ক্লায়েন্ট সিক্রেট নির্দিষ্ট করতে YAML ফাইল তৈরি করার সময় নীচে দেওয়া উদাহরণ অনুসরণ করুন।
search-ads-360.yaml ফাইলটি কোথায় অবস্থিত তা নির্দিষ্ট করতে, আপনি কল করার সময় পদ্ধতিতে একটি স্ট্রিং হিসাবে পাথটি পাস করতে পারেন:
ডেস্কটপ এবং ওয়েব অ্যাপ্লিকেশন প্রবাহের জন্য সমর্থিত কী
আপনি যদি ডেস্কটপ বা ওয়েব অ্যাপ্লিকেশন ফ্লো ব্যবহার করেন, সমর্থিত কীগুলি নিম্নরূপ:
# Credential for accessing Google's OAuth servers.# Provided by console.cloud.google.com.
client_id:INSERT_CLIENT_ID_HERE
# Credential for accessing Google's OAuth servers.# Provided by console.cloud.google.com.
client_secret:INSERT_CLIENT_SECRET_HERE
# Renewable OAuth credential associated with 1 or more Search Ads accounts.
refresh_token:INSERT_REFRESH_TOKEN_HERE
# Required for manager accounts only: Specify the login customer ID used to# authenticate API calls. This will be the customer ID of the authenticated# manager account. You can also specify this later in code if your application# uses multiple manager account + OAuth pairs.## login_customer_id: INSERT_LOGIN_CUSTOMER_ID_HERE
[[["সহজে বোঝা যায়","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-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Install the Python client library using `python -m pip install .` after extracting the tarball, avoiding `python setup.py`."],["Configure authentication using a YAML file containing refresh token, client ID, client secret, and optionally, login customer ID."],["Initialize the client by specifying the YAML file path using `SearchAds360Client.load_from_file()`, which defaults to your `$HOME` directory if no path is provided."],["The configuration supports general fields like `refresh_token`, `client_id`, `client_secret`, and `login_customer_id` for authentication and account access."],["Desktop and web application flows use specific keys like `client_id`, `client_secret`, `refresh_token`, and optionally, `login_customer_id` within the YAML file."]]],["To install the Python client library, extract the tarball and run `python -m pip install .`. Avoid using `python setup.py`. Configure the client using a YAML file, specifying `refresh_token`, `client_id`, and `client_secret`. Load the configuration with `load_from_file`, providing a file path or letting the library check the `$HOME` directory. Additional fields like `login_customer_id` are supported. Web application flows need the `client_id`, `client_secret`, and `refresh_token` keys.\n"]]