Google Business Performance API has a
NEW API method that allows fetching multiple `DailyMetrics` in a single API request. Review the
deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
REST Resource: chains
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\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. |"]]