Google বিজনেস পারফরম্যান্স API-এর একটি
নতুন API পদ্ধতি রয়েছে যা একটি একক API অনুরোধে একাধিক `DailyMetrics` আনার অনুমতি দেয়। v4 reportInsights API পদ্ধতি থেকে Google Business Profile Performance API-এ স্থানান্তরিত করার জন্য
অবচয়ের সময়সূচী এবং নির্দেশাবলী পর্যালোচনা করুন।
অবস্থান অন্তর্দৃষ্টি পুনরুদ্ধার করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এই টিউটোরিয়ালটি আপনাকে দেখায় কিভাবে ব্যবসার প্রোফাইলে অবস্থানের মেট্রিক্স পুনরুদ্ধার করতে হয়। Google My Business API আপনাকে নিম্নলিখিত ধরণের ডেটা পুনরুদ্ধার করতে অবস্থানের মেট্রিক্সের সাথে কাজ করার ক্ষমতা প্রদান করে:
আপনি শুরু করার আগে
আপনি Google My Business API ব্যবহার করার আগে, আপনাকে আপনার অ্যাপ্লিকেশন নিবন্ধন করতে হবে এবং OAuth 2.0 শংসাপত্রগুলি পেতে হবে৷ কিভাবে Google My Business API দিয়ে শুরু করবেন তার বিস্তারিত জানার জন্য, বেসিক সেটআপ দেখুন।
সমর্থিত অন্তর্দৃষ্টি
সমর্থিত অন্তর্দৃষ্টির জন্য, মেট্রিক রেফারেন্স পৃষ্ঠা দেখুন।
মৌলিক অন্তর্দৃষ্টি
অবস্থানের একটি প্রদত্ত তালিকার জন্য মৌলিক অন্তর্দৃষ্টি পুনরুদ্ধার করে। একটি অবস্থানের সাথে সম্পর্কিত অন্তর্দৃষ্টিগুলি ফেরত দিতে accounts.locations.reportInsights
API ব্যবহার করুন৷
একটি অবস্থানের সাথে সম্পর্কিত মৌলিক অন্তর্দৃষ্টি ফেরত দিতে, নিম্নলিখিত ব্যবহার করুন:
POST
https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations:reportInsights
{
"locationNames": [
"accounts/{accountId}/locations/{locationId}"
],
"basicRequest": {
"metricRequests": [
{
"metric": "QUERIES_DIRECT"
},
{
"metric": "QUERIES_INDIRECT"
}
],
"timeRange": {
"startTime": "2016-10-12T01:01:23.045123456Z",
"endTime": "2017-01-10T23:59:59.045123456Z"
}
}
}
ড্রাইভিং দিকনির্দেশ
অবস্থানের একটি প্রদত্ত তালিকার জন্য ড্রাইভিং দিকনির্দেশের মেট্রিক্স পুনরুদ্ধার করে। একটি অবস্থানের সাথে যুক্ত ড্রাইভিং দিকনির্দেশের মেট্রিকগুলি ফেরত দিতে accounts.locations.reportInsights
API ব্যবহার করুন৷
ড্রাইভিং দিকনির্দেশের মেট্রিক্স ফেরত দিতে, নিম্নলিখিতগুলি ব্যবহার করুন:
POST
https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations:reportInsights
{
"locationNames": [
"accounts/{accountId}/locations/{locationId}"
],
"drivingDirectionsRequest": {
"numDays": "NINETY"
}
}
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","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\u003eThis tutorial demonstrates how to retrieve location metrics, such as basic insights and driving directions, using the Google My Business API.\u003c/p\u003e\n"],["\u003cp\u003eBefore using the API, you'll need to register your application and obtain OAuth 2.0 credentials as outlined in the basic setup guide.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve basic insights like direct and indirect queries for specific locations within a defined timeframe using the \u003ccode\u003eaccounts.locations.reportInsights\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eDriving direction metrics, including data for the past 90 days, can also be retrieved using the \u003ccode\u003eaccounts.locations.reportInsights\u003c/code\u003e API with a driving directions request.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the Metric reference page for a comprehensive list of supported insights available through the Google My Business API.\u003c/p\u003e\n"]]],[],null,["# Retrieve location insights\n\n\u003cbr /\u003e\n\nThis tutorial shows you how to retrieve location metrics in Business Profile.\nThe Google My Business API provides you with the ability to work with location\nmetrics to retrieve the following types of data:\n\n- [Supported insights](#supported_insights)\n- [Basic insights](#basic_insights)\n- [Driving directions](#driving_directions)\n\nBefore you begin\n----------------\n\nBefore you use the Google My Business API, you need to register your application\nand obtain OAuth 2.0 credentials. For details on how to get started with the\nGoogle My Business API, see [Basic setup](/my-business/content/basic-setup).\n\nSupported insights\n------------------\n\nFor supported insights, see the [Metric](/my-business/reference/rest/v4/Metric)\nreference page.\n\nBasic insights\n--------------\n\nRetrieves basic insights for a given list of locations. Use the [`accounts.locations.reportInsights`](/my-business/reference/rest/v4/accounts.locations/reportInsights)\nAPI to return the insights that are associated with a location.\n\nTo return the basic insights associated with a location, use the following:\nHTTP \n\n```\nPOST\nhttps://mybusiness.googleapis.com/v4/accounts/{accountId}/locations:reportInsights\n{\n \"locationNames\": [\n \"accounts/{accountId}/locations/{locationId}\"\n ],\n \"basicRequest\": {\n \"metricRequests\": [\n {\n \"metric\": \"QUERIES_DIRECT\"\n },\n {\n \"metric\": \"QUERIES_INDIRECT\"\n }\n ],\n \"timeRange\": {\n \"startTime\": \"2016-10-12T01:01:23.045123456Z\",\n \"endTime\": \"2017-01-10T23:59:59.045123456Z\"\n }\n }\n}\n```\n\nDriving directions\n------------------\n\nRetrieves driving direction metrics for a given list of locations. Use the\n[`accounts.locations.reportInsights`](/my-business/reference/rest/v4/accounts.locations/reportInsights)\nAPI to return driving direction metrics that are associated with a location.\n\nTo return the driving direction metrics, use the following:\nHTTP \n\n```\nPOST\nhttps://mybusiness.googleapis.com/v4/accounts/{accountId}/locations:reportInsights\n{\n \"locationNames\": [\n \"accounts/{accountId}/locations/{locationId}\"\n ],\n \"drivingDirectionsRequest\": {\n \"numDays\": \"NINETY\"\n }\n}\n```"]]