সম্পদের নাম
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Google Ads API-এ একটি সত্তার অনন্য শনাক্তকারীকে রিসোর্স নাম বলা হয় এবং এটি একটি অনুমানযোগ্য ফর্ম্যাট সহ একটি স্ট্রিং হিসাবে উপস্থাপন করা হয়। আপনি যদি একটি সম্পদ নামের উপাদান উপাদান জানেন, আপনি চূড়ান্ত সম্পদ নাম তৈরি করতে এই ইউটিলিটি ব্যবহার করতে পারেন।
ResourceNames ক্লাস
ResourceNames
ইউটিলিটি হল একটি সত্তার রিসোর্স নাম তৈরি করার একটি উপায় যদি আপনি সেই সত্তার সাথে সম্পর্কিত সমস্ত প্রাসঙ্গিক আইডি জানেন। উদাহরণস্বরূপ, একটি প্রচারাভিযানের সংস্থানের নামটি customers/{customer_id}/campaigns/{campaign_id}
ফর্ম্যাটে রয়েছে , তাই আপনি যদি গ্রাহক আইডি এবং প্রচারের আইডি জানেন, তাহলে আপনি সম্পূর্ণ সম্পদের নাম তৈরি করতে ResourceNames
ইউটিলিটি ব্যবহার করতে পারেন:
my $resource_name =
Google::Ads::GoogleAds::V21::Utils::ResourceNames::campaign($customer_id,
$campaign_id);
আপনি অন্যান্য সত্তার নামও ব্যবহার করতে পারেন, যা সম্পদের নামের চূড়ান্ত রূপের উপর নির্ভর করে বিভিন্ন আইডি নেয়।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-09-03 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-09-03 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eGoogle Ads API entities are uniquely identified by resource names, which are strings with predictable formats based on their components.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceNames\u003c/code\u003e utility helps construct these resource names when you know the necessary IDs, such as customer and campaign IDs.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003eResourceNames\u003c/code\u003e utility with various entity names, providing the corresponding IDs needed for the specific resource name structure.\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 the\nconstituent components of a resource name, you can use this utility to generate\nthe final resource name.\n\nResourceNames class\n-------------------\n\nThe `ResourceNames` utility 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` utility to construct the\nfull resource name as follows: \n\n my $resource_name =\n Google::Ads::GoogleAds::V21::Utils::ResourceNames::campaign($customer_id,\n $campaign_id);\n\nYou can use other entity names as well, which take different IDs depending on\nthe final form of the resource name."]]