You can select:
If you don’t want to configure your ads on Scene Manager, use the alternative method below.
Use the following functions to show and hide a banner:
TappxManagerUnity.instance.show(POSITION_BANNER pos, bool mrec);The first parameter "POSITION_BANNER pos" lets you setup the position of the banner and accepts the following values:
To setup an MREC ad (300x250), setup second parameter “bool mrec” as true.
To hide the banner when necessary, use the following:
TappxManagerUnity.instance.hide();| Android | iOS | Explanation |
| function void OnAdLoaded(){} | function void tappxBannerDidReceiveAd(){} | It will be called when the creative has been received correctly. |
| function void OnAdFailedToLoad(string error){} | function void tappxBannerFailedToLoad(string error){} | It will be called when there is an error while receiving the creative. |
| function void OnAdLeftApplication(){} | function void tappxBannerFailedToLoad(string error){} | This method is called when the selected creative calls another application. |