Docy

Banners

1. Show the Banner

Use this code to load and show the banner:

				
					yodo1mas.load_banner_ad("Banner","RIGHT","TOP")
				
			

Parameter #1: BannerSize, you can choose any size from the following table.

Size in dp

Description

Availability

AdSize Constant

320×50

Banner

Phones and Tablets

Banner

320×100

Large Banner

Phones and Tablets

LargeBanner

300×250

IAB Medium Rectangle

Phones and Tablets

IABMediumRectangle

Full-screen width x

Adaptive Banner

Phones and Tablets

AdaptiveBanner

Note: if you want to choose any other size than the standard banner, please contact us so we can configure it for your game.

Parameter #2 and #3: These are the horizontal (LEFT, RIGHT, CENTER) and vertical (TOP, BOTTOM) alignments of the banner respectively.

2. Hide a Banner

				
					yodo1mas.dismiss_banner_ad()
				
			

3. Ad events

				
					func _on_Yodo1Mas_banner_ad_loaded():

func _on_Yodo1Mas_banner_failed_ad_loaded():

func _on_Yodo1Mas_banner_ad_opened():

func _on_Yodo1Mas_banner_ad_failed_opened():

func _on_Yodo1Mas_banner_ad_closed():

				
			
CONTENTS