Inline adaptive banners and mediation

53 views
Skip to first unread message

in

unread,
Dec 16, 2024, 9:04:41 AM12/16/24
to Google Mobile Ads SDK Developers
Hi,
How do "adaptive inline banner ads" fit into the ad size limits of other mediation networks? For example, meta has only a dynamic width with a height of 50/90/250 dp, but the height of the inline banner is dynamically set by you.
From our experience with anchored adaptive banner ads, the view rate of meta and other networks was very low, until we changed the height to 250 dp, but this reduces the revenue on the admob network. 

Please clarify.
Regards.

Mobile Ads SDK Forum Advisor

unread,
Dec 16, 2024, 10:10:52 AM12/16/24
to inma...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for contacting the Mobile Ads SDK support team.

If you want to limit the height of the banner, use the static method AdSize.getInlineAdaptiveBannerAdSize(int width, int maxHeight)
When implementing adaptive banners in your app, note these points:
  • The inline adaptive banner sizes work best when using the full available width. In most cases, this size is the full width of the device screen in use, or the full width of the banner's parent content. You must know the width of the view to place in the ad, the device width, the parent content width, and applicable safe areas.
  • You may need to update or create new line items to work with adaptive sizes. Learn more.
I would recommend you to check the inline adaptive banners document for more information.
To provide a solution, we kindly request that you share your sample project with us. This will enable us to review your implementation.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files to us via reply to author option or by performing the following steps:
https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002vGpAdQAK&entry.80707362=00278879
2. Fill out all fields and attach your file(s).
3. Please reply on this thread when you have uploaded your file(s). Please do not share this link.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGpAd:ref" (ADR-00278879)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 


Mobile Ads SDK Forum Advisor

unread,
Dec 16, 2024, 3:16:13 PM12/16/24
to inma...@gmail.com, google-adm...@googlegroups.com

Hi,

Yes, you are correct. While using AdSize.getCurrentOrientationInlineAdaptiveBannerAdSize() with full screen width will likely give you the best performance for AdMob ads within an inline adaptive banner, limiting the maximum height with AdSize.getInlineAdaptiveBannerAdSize(int width, int maxHeight) when using mediation with other networks is to ensure compatibility and prevent potential issues with ad rendering across different ad providers.

I hope this helps! Let me know if you have any follow-up questions. 

Mobile Ads SDK Forum Advisor

unread,
Dec 16, 2024, 8:23:39 PM12/16/24
to inma...@gmail.com, google-adm...@googlegroups.com

Hi,

The inline adaptive banner sizes work best when using the full available width. In most cases, this size is the full width of the device screen in use, or the full width of the banner's parent content. You must know the width of the view to place in the ad, the device width, the parent content width, and applicable safe areas.

You may need to update or create new line items to work with adaptive sizes. Also refer to Serve reservations in adaptive banners help center article for more information. 

Reply all
Reply to author
Forward
0 new messages