Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
REST Resource: chains
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร: เชน
เครือคือแบรนด์ที่เชื่อมโยงกับสถานที่ตั้งของธุรกิจ
การแสดง JSON |
{
"name": string,
"chainNames": [
{
object (ChainName )
}
],
"websites": [
{
object (ChainUrl )
}
],
"locationCount": integer
} |
ช่อง |
name |
string
ชื่อทรัพยากรของเชนในรูปแบบ chains/{chain_place_id}
|
chainNames[] |
object (ChainName )
ชื่อของเชนธุรกิจ
|
websites[] |
object (ChainUrl )
เว็บไซต์ของเครือธุรกิจ
|
locationCount |
integer
จำนวนสถานที่ตั้งที่เป็นส่วนหนึ่งของเครือธุรกิจนี้
|
ChainName
การแสดง JSON |
{
"displayName": string,
"languageCode": string
} |
ช่อง |
displayName |
string
ชื่อที่แสดงของเชนนี้
|
languageCode |
string
รหัส BCP 47 ของภาษาของชื่อ
|
ChainUrl
URL ที่จะใช้เมื่อแสดงเชนธุรกิจ
การแสดง JSON |
{
"url": string
} |
ช่อง |
url |
string
URL ของเชนนี้
|
เมธอด |
|
รับเชนที่ระบุ |
|
ค้นหาเชนตามชื่อของเชน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eA \u003ccode\u003eChain\u003c/code\u003e represents a brand with multiple business locations, containing information like name, websites, and location count.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChain\u003c/code\u003e data includes \u003ccode\u003eChainName\u003c/code\u003e for display purposes and \u003ccode\u003eChainUrl\u003c/code\u003e for website links.\u003c/p\u003e\n"],["\u003cp\u003eYou can programmatically access chain data using the \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003esearch\u003c/code\u003e methods provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChain\u003c/code\u003e resource uses JSON for data representation and includes fields for identifying the chain and related information.\u003c/p\u003e\n"]]],["The content describes the \"Chain\" resource, representing a brand that businesses can affiliate with. Key components include: a chain's `name`, `chainNames` (display names and language codes), `websites` (URLs), and `locationCount`. The `ChainName` provides a `displayName` and `languageCode`. `ChainUrl` contains a simple `url`. Two main methods are detailed, `get` to retrieve a specific chain, and `search` to find a chain by its name.\n"],null,["# REST Resource: chains\n\n- [Resource: Chain](#Chain)\n - [JSON representation](#Chain.SCHEMA_REPRESENTATION)\n- [ChainName](#ChainName)\n - [JSON representation](#ChainName.SCHEMA_REPRESENTATION)\n- [ChainUrl](#ChainUrl)\n - [JSON representation](#ChainUrl.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Chain\n---------------\n\nA chain is a brand that your business's locations can be affiliated with.\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"chainNames\": [ { object (/my-business/reference/rest/v4/chains#ChainName) } ], \"websites\": [ { object (/my-business/reference/rest/v4/chains#ChainUrl) } ], \"locationCount\": integer } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------|\n| `name` | `string` The chain's resource name, in the format `chains/{chain_place_id}`. |\n| `chainNames[]` | `object (`[ChainName](/my-business/reference/rest/v4/chains#ChainName)`)` Names of the chain. |\n| `websites[]` | `object (`[ChainUrl](/my-business/reference/rest/v4/chains#ChainUrl)`)` Websites of the chain. |\n| `locationCount` | `integer` Number of locations that are part of this chain. |\n\nChainName\n---------\n\nName to be used when displaying the chain.\n\n| JSON representation ||\n|-----------------------------------------------------------|---|\n| ``` { \"displayName\": string, \"languageCode\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------|\n| `displayName` | `string` The display name for this chain. |\n| `languageCode` | `string` The BCP 47 code of language of the name. |\n\nChainUrl\n--------\n\nUrl to be used when displaying the chain.\n\n| JSON representation ||\n|---------------------------|---|\n| ``` { \"url\": string } ``` |\n\n| Fields ||\n|-------|----------------------------------|\n| `url` | `string` The url for this chain. |\n\n| Methods ------- ||\n|------------------------------------------------------------|-----------------------------------------|\n| ### [get](/my-business/reference/rest/v4/chains/get) | Gets the specified chain. |\n| ### [search](/my-business/reference/rest/v4/chains/search) | Searches the chain based on chain name. |"]]