Banner Ad Units
#
Load pluginsBefore requesting the ad, register your ad units with Meson. This is a one time step and is not required prior to each ad request.
#
Request a banner adinfo
If you miss to Initialize the SDK, this method will fail to return a response. If your game is distributed on both iOS and Android, you only need to import the plugin once, but you must create different apps and ad units for each platform on Meson UI
Meson Unity plugin gives a set of options for ad size and ad position. Request a banner ad by calling Meson.RequestBanner(adUnitId,position, AdSize)
. This will request for a banner ad and show it on the screen.
#
Supported Ad Sizes- Width300Height50
- Width300Height250
- Width320Height50
- Width336Height280
- Width468Height60
- Width728Height90
- Width970Height90
- Width970Height250
- ScreenWidthHeight50
- ScreenWidthHeight90
- ScreenWidthHeight250
- ScreenWidthHeight280
#
Supported Ad position- TopLeft
- TopCenter
- TopRight
- Centered
- BottomLeft
- BottomCenter
- BottomRight
#
Destroy BannerRemove the banner from the screen using DestroyBanner
.
#
Register CallbacksTrack the ad lifecycle for banner ads. All the available events for banner ads are listed below.