সম্পদের নাম
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Google Ads API-এ একটি সত্তার অনন্য শনাক্তকারীকে রিসোর্স নাম বলা হয় এবং এটি একটি অনুমানযোগ্য ফর্ম্যাট সহ একটি স্ট্রিং হিসাবে উপস্থাপন করা হয়। আপনি যদি একটি সম্পদ নামের উপাদান উপাদান জানেন, আপনি চূড়ান্ত সম্পদ নাম তৈরি করতে এই ইউটিলিটি ব্যবহার করতে পারেন।
ResourceNames ক্লাস
ResourceNames
ক্লাস হল একটি সত্তার রিসোর্স নাম তৈরি করার একটি উপায় যদি আপনি সেই সত্তার সাথে সম্পর্কিত সমস্ত প্রাসঙ্গিক আইডি জানেন। উদাহরণস্বরূপ, একটি প্রচারাভিযানের সংস্থানের নামটি customers/{customer_id}/campaigns/{campaign_id}
ফর্ম্যাটে রয়েছে, তাই আপনি যদি গ্রাহক আইডি এবং প্রচারাভিযানের আইডি জানেন তবে আপনি নিম্নলিখিত হিসাবে সম্পূর্ণ সংস্থান নাম তৈরি করতে ResourceNames
ক্লাস ব্যবহার করতে পারেন:
string campaignResourceName = ResourceNames.Campaign(customerId, campaignId),
আপনি অন্যান্য সত্তার নামও ব্যবহার করতে পারেন, যা সম্পদের নামের চূড়ান্ত রূপের উপর নির্ভর করে বিভিন্ন আইডি নেয়।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Google Ads API client library for .NET will drop support for .NET 5.0 starting with version 19.0.0, urging users to upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eResource names are unique identifiers for entities in the Google Ads API, following a predictable format based on the entity's components.\u003c/p\u003e\n"],["\u003cp\u003eYou can easily construct resource names using the \u003ccode\u003eResourceNames\u003c/code\u003e class if you know the necessary IDs, such as customer and campaign IDs.\u003c/p\u003e\n"]]],[],null,["# Resource Names\n\nThe unique identifier for an entity in the Google Ads API is called a resource\nname, and is represented as a string with a predictable format. If you know\nthe constituent components of a resource name, you can use this utility to\ngenerate the final resource name.\n\nResourceNames class\n-------------------\n\nThe `ResourceNames` class is a way to construct the resource name of an entity\nif you know all of the relevant IDs related to that entity. For example, a\ncampaign resource name is in the format\n`customers/{customer_id}/campaigns/{campaign_id}`, so if you know the customer\nID and the campaign ID, you can use the `ResourceNames` class construct the full\nresource name as follows: \n\n string campaignResourceName = ResourceNames.Campaign(customerId, campaignId),\n\nYou can use other entity names as well, which take different IDs depending on\nthe final form of the resource name."]]