Place Autocomplete 會使用工作階段符記,將使用者自動完成搜尋的查詢和選取階段歸入不同的工作階段,以用於計費。工作階段是從使用者輸入查詢時開始,到使用者選取地點並發出地點詳細資料呼叫時結束。在每個工作階段中,使用者可以輸入多筆 Autocomplete 查詢,最終選擇一個地點。在單一工作階段中,用於每項要求的 API 鍵必須屬於同一個 Google Cloud 控制台專案。工作階段結束後,符記就會失效;您的應用程式必須為每個工作階段產生新的符記。如果省略 sessiontoken 參數或重複使用工作階段符記,系統會視為未提供工作階段符記,並針對工作階段收費 (每個要求分別收費)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-12-19 (世界標準時間)。"],[[["Place Autocomplete uses session tokens to group the query and selection phases of a user search into a single billable session."],["Session tokens help reduce billing by bundling multiple autocomplete queries and one place selection into a single request."],["Each session requires a unique session token; reusing tokens or omitting them results in individual billing for each request."],["A session starts when a user begins typing and ends when they select a place, after which the token becomes invalid."],["Ensure all API keys used within a session belong to the same Google Cloud console project for proper billing."]]],[]]