تتضمّن واجهة برمجة التطبيقات
لأداء الأعمال في Google طريقة واجهة برمجة تطبيقات
جديدة تتيح جلب عدة "مقاييس يومية" في طلب واحد لواجهة برمجة التطبيقات.
يُرجى مراجعة
الجدول الزمني للإيقاف وتعليمات نقل البيانات من طريقة v4 reportInsights API إلى واجهة برمجة التطبيقات الخاصة بأداء "الملف التجاري على Google".
REST Resource: chains
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eA Chain represents a brand with which your business locations can be affiliated, containing information like name, websites, and location count.\u003c/p\u003e\n"],["\u003cp\u003eChains can be identified by a unique resource name and have multiple display names in different languages.\u003c/p\u003e\n"],["\u003cp\u003eYou can programmatically access chain information using the provided methods: \u003ccode\u003eget\u003c/code\u003e to retrieve a specific chain and \u003ccode\u003esearch\u003c/code\u003e to find chains based on name.\u003c/p\u003e\n"],["\u003cp\u003eChain information includes \u003ccode\u003ewebsites\u003c/code\u003e represented as URIs for online presence and \u003ccode\u003echainNames\u003c/code\u003e for display purposes with language specifications.\u003c/p\u003e\n"]]],["The content describes the structure of a \"Chain\" resource, which represents a brand affiliated with business locations. A Chain has a resource name, a list of `chainNames` (display names with language codes), and `websites` (URLs). It also includes a `locationCount` which is an integer of how many locations are in the chain. `ChainName` and `ChainUri` provide display and url information. Two methods are available: `get` to retrieve a specific chain, and `search` to find chains by 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- [ChainUri](#ChainUri)\n - [JSON representation](#ChainUri.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/businessinformation/rest/v1/chains#ChainName) } ], \"websites\": [ { object (/my-business/reference/businessinformation/rest/v1/chains#ChainUri) } ], \"locationCount\": integer } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The chain's resource name, in the format `chains/{chain_id}`. |\n| `chainNames[]` | `object (`[ChainName](/my-business/reference/businessinformation/rest/v1/chains#ChainName)`)` Names of the chain. |\n| `websites[]` | `object (`[ChainUri](/my-business/reference/businessinformation/rest/v1/chains#ChainUri)`)` 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\nChainUri\n--------\n\nUrl to be used when displaying the chain.\n\n| JSON representation |\n|---------------------------|\n| ``` { \"uri\": string } ``` |\n\n| Fields ||\n|-------|----------------------------------|\n| `uri` | `string` The uri for this chain. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|-----------------------------------------|\n| ### [get](/my-business/reference/businessinformation/rest/v1/chains/get) | Gets the specified chain. |\n| ### [search](/my-business/reference/businessinformation/rest/v1/chains/search) | Searches the chain based on chain name. |"]]