Skip to content

Commit 89875e5

Browse files
committed
fix(ads): decrease default height of medium native ads
- Modified the default height for medium-sized native ads from 340 to 250 - This change aims to provide a better fit for in-article placements and reduce the need for custom sizing
1 parent cd0eeb8 commit 89875e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ads/widgets/admob_inline_ad_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class _AdmobInlineAdWidgetState extends State<AdmobInlineAdWidget> {
109109
final nativeAd = widget.inlineAd as NativeAd;
110110
adHeight = switch (nativeAd.templateType) {
111111
NativeAdTemplateType.small => 120,
112-
NativeAdTemplateType.medium => 340,
112+
NativeAdTemplateType.medium => 250,
113113
};
114114
} else if (widget.inlineAd is BannerAd) {
115115
// For banner ads, prioritize bannerAdShape if provided (for in-article ads).

0 commit comments

Comments
 (0)