Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
ErrorCode
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รหัสข้อผิดพลาดทั้งหมดที่ API แสดงผล
Enum |
ERROR_CODE_UNSPECIFIED |
ไม่มีรหัสข้อผิดพลาด |
SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS |
เวอร์ชันอื่นของ API นี้ใช้ชื่อหัวข้อ pub/sub ที่ระบุใน Rpc "updateNotificationSetting" โปรดระบุชื่อหัวข้อใหม่เพื่อแก้ไขปัญหานี้ |
PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC |
ชื่อหัวข้อ pub/sub ที่ระบุสำหรับการตั้งค่าการแจ้งเตือนการอัปเดตไม่มีสิทธิ์เผยแพร่สำหรับผู้ใช้ |
INVALID_PUBSUB_TOPIC |
ชื่อหัวข้อ pub/sub ที่ระบุสำหรับการตั้งค่าการแจ้งเตือนการอัปเดตไม่ถูกต้อง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThe API uses specific error codes to indicate issues, including unspecified errors, topic name conflicts, and permission or validation problems with the pub/sub topic.\u003c/p\u003e\n"],["\u003cp\u003eIf the 'updateNotificationSetting' request uses a pub/sub topic name that's already in use by other API versions, provide a new topic name.\u003c/p\u003e\n"],["\u003cp\u003eEnsure the user has publish permissions for the specified pub/sub topic to avoid errors related to permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe pub/sub topic name provided in the request must be valid to prevent invalid topic errors.\u003c/p\u003e\n"]]],["The document outlines API error codes. `ERROR_CODE_UNSPECIFIED` indicates a missing error code. `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` means a provided pub/sub topic name is already in use by other API versions, requiring a new topic name. `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` signals that the user lacks publish permissions for the provided pub/sub topic. Finally, `INVALID_PUBSUB_TOPIC` denotes that the supplied pub/sub topic name is not valid.\n"],null,["# ErrorCode\n\nAll errors codes returned by the API.\n\n| Enums ||\n|------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ERROR_CODE_UNSPECIFIED` | Missing error code. |\n| `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` | The pub/sub topic name provided in the 'updateNotificationSetting' rpc is being used by other versions of this API. Please supply a new topic name to mitigate this issue. |\n| `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting doesn't have publish permissions for the user. |\n| `INVALID_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting is invalid. |"]]