Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Trend Olan Aramalar
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Trendler'i alma
Trend olan aramaları almak için getTrendingSearches yöntemini ContextualSearchRuntime üzerinde çağırın. Bu yöntemde, döndürülen trendlerin maksimum sayısını belirtebileceğiniz tek bir GetTrendingSearchesOptions kullanılır.
Döndürülen SearchSuggestions nesnesi, erişilebilir özellikler içermiyor. Trend olan aramaları oluşturmak için gerekli tüm bilgileri içerir ancak aksi takdirde opak olur.
Swift, Swift Concurrency stilini, Objective-C ise geri çağırma işlevini kullanır.
Objective-C
getTrendingSearchesWithOptions
[searchRuntime
getTrendingSearchesWithOptions:
[[GetTrendingSearchesOptions alloc] init]
completionHandler:^(SearchSuggestions *_Nullable suggestions,
NSError *_Nullable error) {
// error will be not null if there is an error.
// On success, suggestions will be non null.
}];
Görüntülü Reklam Ağı
Trend olan aramalar çiplerini göstermek için arama önerileriyle aynı yöntemi kullanın.
Sonraki: Arama sonuçlarını görüntülemearrow_forward
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2026-05-13 UTC.
[[["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: 2026-05-13 UTC."],[],["To retrieve trending searches, use the `getTrendingSearches` method of `ContextualSearchRuntime`, providing `GetTrendingSearchesOptions` to set the maximum results. Swift employs async/await, while Objective-C utilizes a completion handler. The `SearchSuggestions` object returned is opaque, solely intended for rendering. Display trending search chips similarly to search suggestions using the method described in another page. Both languages provide the necessary tools to retrieve and handle trending search data.\n"]]