Oturum jetonları, Autocomplete (New) çağrılarını oturum olarak izleyen, kullanıcı tarafından oluşturulan dizelerdir (veya nesnelerdir). Otomatik Tamamlama (Yeni), kullanıcı otomatik tamamlama aramasının sorgu ve seçim aşamalarını faturalandırma amacıyla ayrı bir oturumda gruplandırmak için oturum jetonlarını kullanır.
Kullanıcılar, her oturum için oturum jetonları oluşturmaktan sorumludur. Oturum jetonları, URL ve dosya adı için güvenli Base64 dizeleri olmalıdır. Kullanıcılar, oturum jetonlarını herhangi bir şekilde oluşturabilir. Ancak Google, oturum jetonları için 4. sürüm evrensel olarak benzersiz tanımlayıcıların (UUID'ler) kullanılmasını önerir.
Oturum, Otomatik Tamamlama (Yeni) çağrısıyla başlar ve Yer Ayrıntıları (Yeni) veya Adres Doğrulama çağrısıyla sona erer. Her oturumda birden fazla Otomatik Tamamlama (Yeni) sorgusu olabilir ve ardından Yer Ayrıntıları (Yeni) veya Adres Doğrulama için bir istek gönderilebilir. Bir oturumdaki her istek için kullanılan API anahtarları aynı Google Cloud Console projesine ait olmalıdır.
Oturum jetonları aşağıdaki şekillerde sonlandırılır:
Yer Ayrıntıları (Yeni) çağrısı yapılır.
Address Validation çağrılır.
Oturum terk edildi.
Oturum sona erdiğinde jeton geçerliliğini kaybeder. Uygulamanız her yeni oturum için yeni bir jeton oluşturmalıdır. sessionToken parametresi atlanırsa veya bir oturum jetonunu yeniden kullanırsanız yeni oturum, oturum jetonu sağlanmamış gibi ücretlendirilir (her istek ayrı olarak faturalandırılır).
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-09-04 UTC."],[[["\u003cp\u003eSession tokens group Autocomplete (New) queries and their corresponding Place Details (New) or Address Validation calls into sessions for billing purposes.\u003c/p\u003e\n"],["\u003cp\u003eYou must generate a unique, URL-safe base64 session token (preferably a UUID) for each new user session.\u003c/p\u003e\n"],["\u003cp\u003eA session concludes when Place Details (New) or Address Validation is called, or if the session is abandoned.\u003c/p\u003e\n"],["\u003cp\u003eRequests without a session token or with a reused token are billed individually per request.\u003c/p\u003e\n"],["\u003cp\u003eEach request within a session must use API keys from the same Google Cloud Console project.\u003c/p\u003e\n"]]],["Session tokens, unique identifiers, group user autocomplete searches into sessions for billing. These tokens, which must be URL- and filename-safe base64 strings, are created by the user, with UUIDs recommended. A session begins with an Autocomplete (New) call and ends with Place Details (New) or Address Validation. Each session may include several Autocomplete (New) queries. Once terminated, a new token is required. Omitting or reusing a token results in individual billing for each request.\n"],null,[]]