Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
DailyRange
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eTimeRange specifies a date range, including both the start and end dates.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation uses \u003ccode\u003estartDate\u003c/code\u003e and \u003ccode\u003eendDate\u003c/code\u003e fields, both of which are required and inclusive.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003estartDate\u003c/code\u003e and \u003ccode\u003eendDate\u003c/code\u003e utilize the \u003ccode\u003eDate\u003c/code\u003e object format for specifying the dates.\u003c/p\u003e\n"]]],["The content defines a time range using a JSON representation. This representation includes `startDate` and `endDate` fields, both of which are required objects referencing a `Date` schema. The `startDate` and `endDate` indicate the beginning and end of the range, respectively. Both dates are inclusive, meaning they are part of the specified time frame.\n"],null,["# DailyRange\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nTime range indicating a date range (both inclusive).\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"startDate\": { object (/my-business/reference/performance/rest/v1/Date) }, \"endDate\": { object (/my-business/reference/performance/rest/v1/Date) } } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------------------------------------------------|\n| `startDate` | `object (`[Date](/my-business/reference/performance/rest/v1/Date)`)` Required. Inclusive |\n| `endDate` | `object (`[Date](/my-business/reference/performance/rest/v1/Date)`)` Required. Inclusive |"]]