Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
Method: accounts.locations.followers.getMetadata
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eRetrieve follower settings for a specified location using a GET request to the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a location resource name as a path parameter and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the location's follower metadata, such as resource name and total follower count, if successful.\u003c/p\u003e\n"],["\u003cp\u003ePotential errors include NOT_FOUND if the account or location is missing, and PRECONDITION_FAILED if the location isn't verified or connected to Google Maps.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization necessitates using either the \u003ccode\u003ehttps://www.googleapis.com/auth/plus.business.manage\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.locations.followers.getMetadata\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FollowersMetadata.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n\nGet the followers settings for a location.\n\nNOT_FOUND is returned if either the account or the location doesn't exist. PRECONDITION_FAILED is returned if the location is not verified nor connected to Maps.\n\n### HTTP request\n\n`GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/followers/metadata}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|---------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name of the location's followers metadata. accounts/{accountId}/locations/{locationId}/followers/metadata |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nFollower metadata for a location.\n\n| JSON representation ||\n|---------------------------------------------|---|\n| ``` { \"name\": string, \"count\": string } ``` |\n\n| Fields ||\n|---------|-----------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name for this. accounts/{accountId}/locations/{locationId}/followers/metadata |\n| `count` | `string` Total number of followers for the location. |\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/plus.business.manage`\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]