تتضمّن واجهة برمجة التطبيقات
لأداء الأعمال في Google طريقة واجهة برمجة تطبيقات
جديدة تتيح جلب عدة "مقاييس يومية" في طلب واحد لواجهة برمجة التطبيقات.
يُرجى مراجعة
الجدول الزمني للإيقاف وتعليمات نقل البيانات من طريقة v4 reportInsights API إلى واجهة برمجة التطبيقات الخاصة بأداء "الملف التجاري على Google".
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 لهذه السلسلة.
|
الطُرق |
|
الحصول على السلسلة المحددة. |
|
للبحث في السلسلة استنادًا إلى اسم السلسلة. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]