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.
Resource: Chain
A chain is a brand that your business's locations can be affiliated with.
JSON representation |
{
"name": string,
"chainNames": [
{
object (ChainName )
}
],
"websites": [
{
object (ChainUrl )
}
],
"locationCount": integer
} |
Fields |
name |
string
The chain's resource name, in the format chains/{chain_place_id} .
|
chainNames[] |
object (ChainName )
Names of the chain.
|
websites[] |
object (ChainUrl )
Websites of the chain.
|
locationCount |
integer
Number of locations that are part of this chain.
|
ChainName
Name to be used when displaying the chain.
JSON representation |
{
"displayName": string,
"languageCode": string
} |
Fields |
displayName |
string
The display name for this chain.
|
languageCode |
string
The BCP 47 code of language of the name.
|
ChainUrl
Url to be used when displaying the chain.
JSON representation |
{
"url": string
} |
Fields |
url |
string
The url for this chain.
|
Methods |
|
Gets the specified chain. |
|
Searches the chain based on chain name. |
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["A `Chain` represents a brand with multiple business locations, containing information like name, websites, and location count."],["`Chain` data includes `ChainName` for display purposes and `ChainUrl` for website links."],["You can programmatically access chain data using the `get` and `search` methods provided."],["The `Chain` resource uses JSON for data representation and includes fields for identifying the chain and related information."]]],["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"]]