Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
REST Resource: googleLocations
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: GoogleLocation
แสดง Location
ที่มีอยู่ใน Google ซึ่งอาจเป็นสถานที่ที่ถูกอ้างสิทธิ์โดยผู้ใช้ บุคคลอื่น หรืออาจถูกถอนการอ้างสิทธิ์
การแสดง JSON |
{
"name": string,
"location": {
object (Location )
},
"requestAdminRightsUrl": string
} |
ช่อง |
name |
string
ชื่อทรัพยากรของ GoogleLocation นี้ในรูปแบบ googleLocations/{googleLocationId}
|
location |
object (Location )
ข้อมูล Location ที่มีการป้อนข้อมูลเล็กน้อย คุณใช้ช่องนี้ซ้ำได้ใน locations.create หากยังไม่ได้อ้างสิทธิ์จากผู้ใช้
|
requestAdminRightsUrl |
string
URL ที่จะเปลี่ยนเส้นทางผู้ใช้ไปยัง UI ของคำขอสิทธิ์ของผู้ดูแลระบบ ช่องนี้จะปรากฏเฉพาะในกรณีที่มีผู้ใช้อ้างสิทธิ์ในสถานที่ดังกล่าวแล้ว รวมทั้งผู้ใช้ปัจจุบันด้วย
|
เมธอด |
|
รายงานGoogleLocation |
|
ค้นหาสถานที่ตั้งที่เป็นไปได้ทั้งหมดที่ตรงกับคำขอที่ระบุ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eGoogleLocation represents a Location on Google, which can have different ownership statuses (claimed by the user, someone else, or unclaimed).\u003c/p\u003e\n"],["\u003cp\u003eIt includes essential information like name, location details, and a URL for requesting admin rights if the location is already claimed.\u003c/p\u003e\n"],["\u003cp\u003eGoogleLocation resource allows for actions like reporting a location and searching for matching locations based on criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elocation\u003c/code\u003e field within GoogleLocation can be reused for creating new locations if it's currently unclaimed.\u003c/p\u003e\n"]]],[],null,["# REST Resource: googleLocations\n\n- [Resource: GoogleLocation](#GoogleLocation)\n - [JSON representation](#GoogleLocation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GoogleLocation\n------------------------\n\nRepresents a [Location](/my-business/reference/rest/v4/accounts.locations#Location) that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"location\": { object (/my-business/reference/rest/v4/accounts.locations#Location) }, \"requestAdminRightsUrl\": string } ``` |\n\n| Fields ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of this GoogleLocation, in the format `googleLocations/{googleLocationId}`. |\n| `location` | `object (`[Location](/my-business/reference/rest/v4/accounts.locations#Location)`)` The sparsely populated [Location](/my-business/reference/rest/v4/accounts.locations#Location) information. This field can be re-used in [locations.create](/my-business/reference/rest/v4/accounts.locations/create#google.mybusiness.v4.Locations.CreateLocation) if it is not currently claimed by a user. |\n| `requestAdminRightsUrl` | `string` A URL that will redirect the user to the request admin rights UI. This field is only present if the location has already been claimed by any user, including the current user. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| ### [report](/my-business/reference/rest/v4/googleLocations/report) | Report a [GoogleLocation](/my-business/reference/rest/v4/googleLocations#GoogleLocation). |\n| ### [search](/my-business/reference/rest/v4/googleLocations/search) | Search all of the possible locations that are a match to the specified request. |"]]