Skip to content

Smart Banner ⚠️ (deprecated)

This document is based on:

Note

Try the newer adaptive banners instead.

To use Smart Banners, use the AdSize.SMART_BANNER property (or AdSize.SmartBanner in C#) for the ad size when creating a AdView. For example:

# Create a Smart Banner at the top of the screen.
var ad_view := AdView.new(unit_id, AdSize.SMART_BANNER, AdPosition.TOP)
1
2
3
4
5
using PoingStudios.AdMob.Api;
using PoingStudios.AdMob.Api.Core;

// Create a Smart Banner at the top of the screen.
var adView = new AdView(unitId, AdSize.SmartBanner, AdPosition.Top);