使用者必須為每個工作階段建立工作階段符記。工作階段權杖必須是網址和檔案名稱安全的 Base64 字串。使用者可以透過任何方式產生工作階段符記,但 Google 建議使用第 4 版通用專屬 ID (UUID)。
工作階段會從呼叫 Autocomplete (New) 開始,並在呼叫 Place Details (New) 或地址驗證時結束。在每個工作階段中,使用者可以輸入多筆 Autocomplete (新版) 查詢,最終提出一項 Place Details (新版) 或地址驗證要求。在工作階段中,每個要求使用的 API 金鑰必須屬於同一個 Google Cloud 控制台專案。
[[["容易理解","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"]],["上次更新時間:2026-10-30 (世界標準時間)。"],[],["To use this feature, enable Places API (New). Session tokens, which are URL-safe base64 strings (ideally UUIDs), group autocomplete queries and selections into sessions for billing. A session begins with an Autocomplete (New) call and ends with a Place Details (New) or Address Validation call. Each session can contain several autocomplete queries. Tokens are single-use per session; reusing them or omitting them results in per-request billing.\n"]]