We’re back baby
It’s been a while since we were able to dedicate any serious time to the project, we can only apologise for that but both Gergely’s and my time is short these days, still we do what we can. Issues are always answered, comments and feedback are always responded to and if you pester us on twitter we usually retort with some witty comment (well mostly me since I’m British)
But anyway, here we are today and finally some action.
AdRotator V2.0.1 release
It’s all Unity’s fault but it did give me a kick to update AdRotator with a few things. The major stuff was to resolve some issues that arose with our old Unity plugin and what Unity changed that stopped it working, however we didn’t stop there.
Here’s a summary of what has been updated:
Ad Order (AdOrder) is now works
Due to popular demand we have now given you even greater control over how your ads are served in your app or game, there are three modes:
Exactly as before, random selection of ads based on the Probability you provide per provider
- Ordered (new)
Will use a fixed order for your ads, it will continue to display ads for your first Ad Provider until it is unable to do so, then it falls back to your second provider and so on. Guarantee’s that you always push your most profitable provider first. Mixed with the region / culture setting, this gives you maximum control. Just set the AdOrder property in your configuration xml for each provider.
- Stepped (new)
Like the Ordered mode, it uses the AdOrder property on your ad providers to walk through in order, the main difference is that it will get an Ad from Provider 1, then move straight on to provider 2 until it loops back to 1. Should be very useful with your own house Ads.
To use this new mode, simply decorate your Ad Providers with the new AdOrder property (as shown below) from 1 onwards (AdOrder of 0 means do not include, same as not setting AdOrder)
<AdDuplex AppId="xxxx" Probability="10" AdOrder="1"/>
With your config XML updated you simple need to set the AdRetrievalMode property of the AdRotator control, either in XAML or in code. (also settable in Unity)
Sliding Ads now start off screen
A minor tweak that was requested on the Vote it forums. Now when your app / game starts using the Sliding Ad option, the Ad will both start and refresh off screen. Ads will then start sliding in and our based on your timing settings.
A few minor bug fixes and tweaks
Nothing of too much note, just some performance tweaks and simple bug fixes.
Unity Plugin works again!
The root cause for the 2.0.1 update was Unity. In testing we found that our plugin we developed had stopped working. This didn’t stop you using AdRotator in your Unity projects for Windows Phone and Windows 8, but it did mean you lost some control in Unity to access / deploy it.
Now it’s back and working and can be found here: http://bit.ly/UnityAdRotator
Using the plugin is very simple:
- In your Unity project, import the custom asset via (Assets -> Import Package -> Custom Package)
- Select the plugin you downloaded from the above link and select OK to the information window.
- Open the scene you want to add Ads to and create a new AdRotatorManagement component using the Create menu
- Select the AdRotatorManagement entity in your scene (there can be only one) and you will see the following in the inspector:
- Configure the placement and ad settings as you wish. Note you can enter the remote URL for the configuration file here.
- Edit the default configuration file xml’s located in the AdRotator folder (defaultAdSettingsWin8.xml for Windows 8 and defaultAdSettingsWP8.xml for Windows Phone), these are your default start up config
- Save your scene / project
- Build your project for Windows 8 / Windows Phone
- Open up the exported project in visual studio
- Right click on the References folder in your project and select the Manage NuGet packages option (welcome to NuGet if you’ve never seen it)
- Search for AdRotator in the top right hand box and click install on the AdRotator item when it’s found (check you have Stable builds selected and you are searching from NuGet.org if you don’t find it)
- You will see a license window popup, this is just for some Opensource Microsoft libraries we depend on, click yes/ok when you are ready. (if you select no, then you can’t use AdRotator)
- Install any additional Ad Providers you need, either by downloading their SDK, or through NuGet (AdDuplex (win 8 and WP8) and Inneractive (wp8 only) are on NuGet as well)
- Run your project!
It may sound like a lot but it only takes a few mins.
Note: if you are installing on Windows 8, there is an extra step to reference certain providers in your App.XAML.cs, check the read-me that opens when you install NuGet for more details
Now AdRotator will run and be controlled from Unity. If you prefer you can always do it manually (everyone has a preference)
End of the show show
That’s all for now, any comments / questions or queries, just post them on the GitHub site as per normal https://github.com/Adrotator/AdrotatorV2 (Feel free to contribute too)
If you have any comments, suggestions then drop them in to the VoteIt page http://www.voteit.com/v/HiHC8jq1MV8wxEW
And as a last call, if you like, use and make money using AdRotator, please think of us and if you can donate to the project. Completely optional of course.
Bye Bye and back to work.