UnityAds for iOS and Android
Works on iOS, Android
For Stencyl 3.4 and above
Stencyl extension for “UnityAds” (http://unityads.unity3d.com
) for iOS and Android. This extension allows you to easily integrate UnityAds on your Stencyl game / application. (http://www.stencyl.com
To get it work on IOS you have to Download, Install and Enable “byRobin Extension Manager
” How to download this extension
Go to: http://byrobin.nl/store/product/unityads-advertising-for-ios-android-stencylopenfl
Add the extension to the cart en proceed with checkout. After you successfully placed the order, you will get an e-mail with the download link or go to “My Account” section where you can also find the download link.
Install the zip file: Go to : http://community.stencyl.com/index.php/topic,30432.0.htmlMain Features
- Video Support.
- Rewarded Video Support.Version History
2016-03-28 (0.0.1) First release (iOS SDK 1.5.6 - android SDK 1.5.6)
2016-04-26 (0.0.2) Single touch after dismiss Ad is now working.
2016-04-27 (0.0.3) Create an extra block to check if Ads are available.
2016-05-02 (0.0.4) Show an Alert box before showing Rewarded ad that ask if player want to watch rewarded video or not. (show Video block and show Rewarded are now 2 seperated blocks)2016-05-04
(0.0.5) Added canShowad block and set Placement id block.
– Updated iOS and Android SDK to 2.0.4
– Removed Set Placement ID block, this is not required in SDK 2.0.4
– Added placementid in Can Show Ads block.
- Version 0.0.5 of "byRobin Extension Manager" is needed.
2016-10-06 (0.0.7) - Fix: Android export/publish game
2016-11-18 (0.0.8.) Updated to use with Heyzap extension 2.7
2017-03-19 (0.0.9) - Updated to use with Heyzap Extension 2.9, Update SDK to iOS: 2.0.8 Android: 2.0.8, Added Android Gradle support for openfl4Documentation and Block ExamplesStep 1
: If you don’t have an account, create one on http://unityads.unity3d.comStep 2
: Create an project and add your platfom (iOS/Andoid_Step 3
: Open Project and get your Game id of the Platform you work with.Step 4
: Use the initialize UniAds block in when created event of your first (loading)scene.
If your game is not live yet, use it in Test Mode, don't forget to set in in Release Mode when your uploading your game to the store.Step 5
: Open the Platform you work with (iOS or Android) and get your Integration Id
the placements your added.
In this example i use iOS platform:
The Integration Id of Ad Placement Video is video
The Integration Id of Ad Placement Rewarded Video is <rewardedVideo
, make sure you have enabled the Rewarded Video. Step 6
: Show Video with placement id (INTERGRATION ID).
Show Unityads Video with placement id block,Step 7
: Show Rewarded Video.
Show Unityads Rewarded Video with placement id block,
Create and Alert title and Message that ask the player if he wants to watch the Rewarded Video or not. If Alert title is empty no Alert box will show.Step 8
:Can Show Ads
Check if ads with placement id can be show , it return true when it can show and false if ads cannot be show.Step 9:
Use the callback blocks in an Updated event in an if statement.
- did show
- is completed
- is skipped (Video only, Rewarded cannot be skipped)Button Example: