我们将于 2024 年 7 月 31 日逐步淘汰 Google Business Messages。点击
此处了解详情。
位置信息
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
营业地点是指品牌或商家的实际位置。代理代表的品牌可能拥有一个或多个实体店。您可以使用 Business Communications API 将代理与任意数量的实体营业地点相关联。然后,您可以获悉用户收发信息的实际位置并确定针对用户采取的最合适的操作。
Business Messages 使用地点 ID 来识别实体营业地点。
您必须先通过商家资料声明对实体营业地点的所有权,然后才能将营业地点与 Business Messages 代理相关联。
在相应营业地点发布之前,用户无法与该营业地点进行对话。如需发布营业地点以便与代理搭配使用,您必须先验证营业地点并发布关联的代理。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eA location is a physical place of business, and you can link your Business Messages agent with multiple locations using the Business Communications API.\u003c/p\u003e\n"],["\u003cp\u003eEach location is identified using a unique Place ID from Google Places, which can be found using provided tools.\u003c/p\u003e\n"],["\u003cp\u003eBefore associating locations with your agent, you must claim ownership of them through your Business Profile.\u003c/p\u003e\n"],["\u003cp\u003eTo enable user conversations with a specific location, you need to verify it and launch the associated agent.\u003c/p\u003e\n"]]],[],null,["# Location\n\nA location is a physical location of a brand or business. The brand that an\nagent represents may have one or more physical locations. You can use the\n[Business Communications API](/business-communications/business-messages/guides/concepts/business-communications-api)\nto associate the agent with any number of physical locations. You can then\nidentify which physical location a user messages and determine the best course\nof action for responding to the user.\n\nBusiness Messages uses *Place IDs* to identify physical locations.\n| **Place ID** : A unique identifier for a location in the Google Places database and on Google Maps. Identify a location's Place ID with the [Place\n| ID Finder](https://developers.google.com/maps/documentation/javascript/examples/places-placeid-finder). For [service-area businesses](https://support.google.com/business/answer/9157481), use the [Service-Area Business Place ID Finder](https://developers-dot-devsite-v2-prod.appspot.com/my-business/content/tools/placeid-lookup). Get an address for a Place ID with [Get\n| address from Place ID](https://developers-dot-devsite-v2-prod.appspot.com/maps/documentation/javascript/examples/geocoding-place-id).\n\nYou must claim ownership of physical locations through\n[Business Profile](https://www.google.com/business/)\nbefore you can associate locations with a Business Messages agent.\n\nConversations with a particular location are not available to users until the\nlocation is launched. In order to launch a location for use with an agent, you\nmust first [verify the\nlocation](/business-communications/business-messages/guides/how-to/verify#location_verification)\nand [launch the associated\nagent](/business-communications/business-messages/guides/how-to/launch/agents).\n\nRelated guides\n--------------\n\n- [Manage locations](/business-communications/business-messages/guides/how-to/locations)\n- [Verify agents and locations](/business-communications/business-messages/guides/how-to/verify)\n- [Launch locations](/business-communications/business-messages/guides/how-to/launch/locations)"]]