Ürünlerimiz hakkında görüşlerinizi paylaşmak ve geri bildirimde bulunmak için Google Advertising and Measurement Community sunucusundaki resmi Ad Manager Discord kanalına katılın.
MobileAds sınıfı, Mobile Ads SDK'sı için genel ayarlar sağlar.
Video reklam ses kontrolü
Uygulamanızın kendi ses seviyesi kontrolleri (özel müzik veya ses efekti gibi) varsa uygulama ses seviyesini Google Mobile Ads SDK'sına açıklamak, video reklamların uygulama ses seviyesi ayarlarına uymasını sağlar. Bu sayede kullanıcılar video reklamları beklenen ses düzeyinde alır.
Ses yüksekliği düğmeleri veya işletim sistemi düzeyindeki ses düzeyi kaydırıcısı aracılığıyla kontrol edilen cihaz ses düzeyi, cihaz ses çıkışının ses düzeyini belirler. Ancak uygulamalar, ses deneyimini özelleştirmek için ses seviyelerini cihaz ses düzeyine göre bağımsız olarak ayarlayabilir.
SetApplicationVolume() yöntemini çağırarak göreceli uygulama sesini Google Mobile Ads SDK'sına bildirebilirsiniz. Geçerli reklam ses seviyesi değerleri 0.0 (sessiz) ile 1.0 (mevcut cihaz ses seviyesi) aralığındadır. Uygulama hacminin SDK'ya nasıl bildirileceğine dair bir örneği aşağıda bulabilirsiniz:
// Set app volume to be half of current device volume.MobileAds.SetApplicationVolume(0.5f);
Uygulama sesinin kapatıldığını SDK'ya bildirmek için SetApplicationMuted() yöntemini kullanın:
// Set app to be muted.MobileAds.SetApplicationMuted(true);
Uygulama sesi varsayılan olarak 1 (mevcut cihaz sesi) olarak ayarlanır ve uygulama sessize alınmaz.
[[["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-02 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMobileAds\u003c/code\u003e class allows you to manage global settings for the Mobile Ads SDK, including video ad volume.\u003c/p\u003e\n"],["\u003cp\u003eYou can control the volume of video ads relative to your app's volume using \u003ccode\u003eSetApplicationVolume()\u003c/code\u003e for a better user experience.\u003c/p\u003e\n"],["\u003cp\u003eMuting or lowering app volume can impact video ad eligibility and potentially reduce ad revenue, so use volume controls judiciously and only when reflecting actual user preferences.\u003c/p\u003e\n"]]],["The `MobileAds` class allows control over video ad volume. Apps with custom volume controls can set the relative app volume using `SetApplicationVolume()` with values from `0.0` (silent) to `1.0` (device volume). Muting the app is possible via `SetApplicationMuted(true)`. Default app volume is `1`, and the app is not muted. Lowering volume or muting reduces video ad eligibility and may lower revenue, thus these APIs should only reflect user volume choices.\n"],null,[]]