Skip to content

jmaargh/GodotAppodeal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GodotAppodeal

Appodeal Ads Module for Godot engine

How to Use

Simply clone this repository put inside of the modules folder inside of godot source code and compile the godot source for android.

Avaliable Functions:

appodeal.init(instanceId, key, type, testing)
- integer instanceId => use get_instance_ID()
- string key => your appodeal key
- string type => valid values: "banner", "video", "interstitial", "interstitial/video", "banner/video", "rewardedvideo", "banner/rewardedvideo"
- boolean testing => indicates if you are testing your app or not

appodeal.showBannerAd(type)
- string type => This function requires a banner type of the following ("top", "center", "bottom")

appodeal.showVideoAd()

appodeal.showRewardedVideoAd()

appodeal.showInterstitialAd()

appodeal.showInterstitialAndVideoAds()

appodeal.hideBannerAd()

appodeal.hideVideoAd()

appodeal.hideInterstitalAd()

appodeal.isBannerLoaded() Boolean

appodeal.isVideoLoaded() Boolean

appodeal.isRewardedVideoLoaded() Boolean

appodeal.isInterstitalLoaded() Boolean

appodeal.isAnyAdLoaded() Boolean

Callback Functions:

_on_banner_loaded()

_on_banner_failed_to_load()

_on_banner_shown()

_on_banner_clicked()

_on_video_loaded()

_on_video_failed_to_load()

_on_video_shown()

_on_video_finished()

_on_video_closed()

_on_rewarded_video_loaded()

_on_rewarded_video_failed_to_load()

_on_rewarded_video_finished(amount, name)
- integer amount
- string name

_on_rewarded_video_closed

Good Luck and Enjoy

About

Ads Module for Godot engine 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 85.4%
  • GDScript 11.6%
  • Python 3.0%