Banner Ads



Banner Ads: Unity (C#)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Check whether any ad is available:
bool isReady = FGLEnhance.IsBannerAdReady();
2) Display the ad:
FGLEnhance.ShowBannerAd(position);
Available positions:
FGLEnhance.POSITION_BOTTOM
FGLEnhance.POSITION_TOP

3) Hide the ad: FGLEnhance.HideBannerAd();

Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: Android (Java)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Check whether any ad is available:
bool isReady = FglEnhance.isBannerAdReady();
2) Display the ad:
FglEnhance.showBannerAdWithPosition(position);
Available positions:

FglEnhance.Position.TOP
FglEnhance.Position.BOTTOM

3) Hide the ad:
FglEnhance.hideBannerAd();
Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: iOS (Objective-C)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Check whether any ad is available:
bool isBannerAdReady = [[FglEnhance sharedInstance] isBannerAdReady];
2) Display the ad:
[[FglEnhance sharedInstance] showBannerAd:position];
Available positions:
POSITION_BOTTOM
POSITION_TOP

3) Hide the ad:
[[FglEnhance sharedInstance] hideBannerAd];
Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: OpenFL (Haxe)




Banner Ads are small sized ads displayed in the top or bottom of the app. 1) Check whether any ad is available:
var isReady:Bool = Enhance.isBannerAdReady();
2) Display the ad:
Enhance.showBannerAdWithPosition(position);
Available positions:
Enhance.POSITION_TOP
Enhance.POSITION_BOTTOM

3) Hide the ad:
Enhance.hideBannerAd();
Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: Adobe Air (AS3)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Check whether any ad is available:
var isReady:Boolean = FglEnhance.isBannerAdReady();
2) Display the ad:
FglEnhance.showBannerAdWithPosition(position);
Available positions:
FglEnhance.BANNER_TOP
FglEnhance.BANNER_BOTTOM

3) Hide the ad:
FglEnhance.hideBannerAd();
Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: Defold (Lua)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Check whether any ad is available:
is_ready = enhance.isBannerAdReady()
2) Display the ad:
enhance.showBannerAd("position");
Available positions:
"top"
"bottom"

3) Hide the ad:
enhance.hideBannerAd()
Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: Construct 2 (Visual)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Actions

[Show Banner Ad]
Try to show a banner ad with position.
[Hide Banner Ad]
Hide the banner ad if shown.
2) Conditions
[On Banner Ad success]
Triggered when the ad is available and successfully displayed.
[On Banner Ad failed]
Triggered when Enhance failed to show the ad (e.g. received no fill error from the ad network).
[Is Banner Ad shown]
Check whether a banner ad is currently displayed.

Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: Cordova (JS)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Check whether any ad is available:
Enhance.isBannerAdReady(isReadyCallback);
2) Display the ad:
Enhance.showBannerAdWithPosition(Enhance.Position.BOTTOM);
Available positions:
Enhance.Position.TOP
Enhance.Position.BOTTOM

3) Hide the ad:
Enhance.hideBannerAd();
Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.

Banner Ads: Stencyl (Visual)




Banner Ads are small sized ads displayed in the top or bottom of the app.

1) Action Blocks
[show banner with position: top/bottom]
Show banner ad if any is available.
[hide banner]
Hide the banner ad. 2) Normal Blocks
[is banner ready] -- returns boolean
Check whether a banner ad is available or not. You can connect this with [if] block to be sure an ad is ready before displaying it.

Note:
You can also integrate Fixed Banner Ads through Enhance ZeroCode with no coding at all.