Google বিজনেস পারফরম্যান্স API-এর একটি
নতুন API পদ্ধতি রয়েছে যা একটি একক API অনুরোধে একাধিক `DailyMetrics` আনার অনুমতি দেয়। v4 reportInsights API পদ্ধতি থেকে Google Business Profile Performance API-এ স্থানান্তরিত করার জন্য
অবচয়ের সময়সূচী এবং নির্দেশাবলী পর্যালোচনা করুন।
Method: googleLocations.search
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
নির্দিষ্ট অনুরোধের সাথে মিলে যায় এমন সব সম্ভাব্য অবস্থান অনুসন্ধান করুন।
HTTP অনুরোধ
POST https://mybusiness.googleapis.com/v4/googleLocations:search
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"resultCount": integer,
// Union field search_query can be only one of the following:
"location": {
object (Location )
},
"query": string
// End of list of possible types for union field search_query .
} |
ক্ষেত্র |
---|
resultCount | integer ফিরতি ম্যাচের সংখ্যা। ডিফল্ট মান হল 3, সর্বোচ্চ 10 সহ। মনে রাখবেন যে আরও অনুরোধ করা হলে লেটেন্সি বাড়তে পারে। কোন পেজিনেশন নেই. |
ইউনিয়ন ক্ষেত্র search_query । অনুসন্ধান ক্যোয়ারী. এটি একটি অবস্থান বস্তু হিসাবে বা একটি স্ট্রিং ক্যোয়ারী হিসাবে প্রদান করা যেতে পারে। search_query নিম্নলিখিতগুলির মধ্যে একটি হতে পারে: |
location | object ( Location ) অনুসন্ধান করার জন্য অবস্থান। প্রদান করা হলে, প্রদত্ত অবস্থানের বিবরণের সাথে মেলে এমন অবস্থানগুলি খুঁজে পাবে। |
query | string অনুসন্ধান করার জন্য পাঠ্য ক্যোয়ারী। একটি ক্যোয়ারী স্ট্রিং থেকে অনুসন্ধান ফলাফল একটি সঠিক অবস্থান প্রদানের তুলনায় কম নির্ভুল হবে, কিন্তু আরো অযৌক্তিক মিল প্রদান করতে পারে। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
GoogleLocations.SearchGoogleLocations-এর জন্য প্রতিক্রিয়া বার্তা।
JSON প্রতিনিধিত্ব |
---|
{
"googleLocations": [
{
object (GoogleLocation )
}
]
} |
ক্ষেত্র |
---|
googleLocations[] | object ( GoogleLocation ) Google অবস্থানগুলির একটি সংগ্রহ যা নির্দিষ্ট অনুরোধের সাথে সম্ভাব্য মিল, সর্বাধিক থেকে সর্বনিম্ন নির্ভুলতা অনুসারে তালিকাভুক্ত। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/plus.business.manage
-
https://www.googleapis.com/auth/business.manage
আরও তথ্যের জন্য, OAuth 2.0 ওভারভিউ দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eSearch for Google Locations using either a specific location or a text-based query.\u003c/p\u003e\n"],["\u003cp\u003eSpecify the desired number of search results, with a maximum of 10.\u003c/p\u003e\n"],["\u003cp\u003eResults are returned in order of accuracy, with the most accurate matches appearing first.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific authorization scopes for access.\u003c/p\u003e\n"]]],["The core content describes searching for Google locations via a `POST` request to `https://mybusiness.googleapis.com/v4/googleLocations:search`. The request body can include either a `location` object or a string `query` within the `search_query` field, plus an integer `resultCount`. The response body contains an array of `googleLocations`, representing potential matches ranked by accuracy. Authorization requires either `plus.business.manage` or `business.manage` OAuth scopes.\n"],null,["# Method: googleLocations.search\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.SearchGoogleLocationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n\nSearch all of the possible locations that are a match to the specified request.\n\n### HTTP request\n\n`POST https://mybusiness.googleapis.com/v4/googleLocations:search`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"resultCount\": integer, // Union field `search_query` can be only one of the following: \"location\": { object (/my-business/reference/rest/v4/accounts.locations#Location) }, \"query\": string // End of list of possible types for union field `search_query`. } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| `resultCount` | `integer` The number of matches to return. The default value is 3, with a maximum of 10. Note that latency may increase if more are requested. There is no pagination. |\n| Union field `search_query`. Search query. This can be provided either as a location object or as a string query. `search_query` can be only one of the following: |||\n| `location` | `object (`[Location](/my-business/reference/rest/v4/accounts.locations#Location)`)` Location to search for. If provided, will find locations which match the provided location details. |\n| `query` | `string` Text query to search for. The search results from a query string will be less accurate than if providing an exact location, but can provide more inexact matches. |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message for GoogleLocations.SearchGoogleLocations.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"googleLocations\": [ { object (/my-business/reference/rest/v4/googleLocations#GoogleLocation) } ] } ``` |\n\n| Fields ||\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `googleLocations[]` | `object (`[GoogleLocation](/my-business/reference/rest/v4/googleLocations#GoogleLocation)`)` A collection of GoogleLocations that are potential matches to the specified request, listed in order from most to least accuracy. |\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/plus.business.manage`\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]