I know many of you have sent me PMs on the subject and are eager to get iAd rolling on your Unity iPhone project. I am therefore releasing the iAd for Unity plugin.
For the modest price of $3.99, the plugin integrates seamlessly and effortlessly into your Unity project.
It’s actually as easy as pressing “File” > “Build Settings” > “Build” from Unity.
It now works with the iPhone SDK 4.1 and was compiled against it.
An API for the plugin has been released so that developers can integrate iAd for Unity as tightly to their game as needed.
A lot of effort has been put into making the integration of the plugin as effortless on your end as possible. There is no need to add code or libraries to your Xcode project. It’s all being done for you.
As a rule of thumb, you will know that the Xcode project has been patched if you see CoreGraphics.framework and iAd.framework have been added to the “Frameworks” group.
[July 10, 2010 Update] New version out, first API methods included. Read the plugin’s documentation for details.
[August 21, 2010 Update] v1.5 is out with new features!
New features:
An Orientation API: You can now orient your banner ads to any of the following:
Portrait
Portrait Upside Down
Landscape Left
Landscape Right
Update:
You can query the plugin for banner visibility and it will return true only if a banner is currently being displayed
Change:
Banners will not show on application launch. You will have to either drag one of the ShowBanner(Top/Bottom) prefabs onto your scene, or call one of the ShowBanner methods programmatically.
[September 15, 2010] New Release
The plugin has been updated to compile against iOS SDK 4.1
EDIT: Just sent it manually in case it hasn’t arrived yet
EDIT2: I just received a copy from the server. Looks like the system decided to take a few minutes to send the receipt
Great job! I just added iAd-support to my non-unity apps, and it took almost a day to get all things right with weak-linking the iAd.framework and getting the banner to hide when its not displaying any ads (no, the official method did NOT work for me and many others so I had to make a workaround - tedious as heck!). So well worth 3.99 Id say
Btw, if Im not mistaken, iAd charges 2 dollars (and you get 60% of that) for each click! Each impression however charges 0.01 dollars. Can someone verify this?
Also, I wonder how they measure an impression though? Lets say you have a view opened all the time, can the add change to another or does it only update when the view is changed? And if the first is true, what is the time-interval of an ad, and is every change an “impression” generating another 0.01 bucks?
So this banner will be displayed over the Game? What’s the size of the banner? I’m interested in this I was just about to release a lite version of my dice game.
Xcode… so it works with unity basic right?
Yes, the plugin works with Unity Basic, and will be displayed at the top or bottom of your game.
The banner sizes are as follows (in pixels):
Landscape: 480w x 32h
Portrait: 320w x 50h
You will need the iPhone SDK 4.0 as the library was compiled against it.
On the Xcode side, there’s nothing to do besides the current known issue with the new SDK, listed in this thread
Just picked this up. No email yet, but anxiously awaiting to give it a try. Thank you for the contribution.
Edit: Looks like it takes about 30 min or so for the email to show up after purchase right now. I have it and am anxiously ready to dig in and add some ads lol.
the game I’m working on is still working smoothly. I 'll have to add an FPS rate to confirm that. But yea, adding stuff to the game’s got to slow thing down in some way, there’s no miracle there?
I really want to see more plug in for Unity iPhone. Let’s hope that now that Unity 3 Basic and Pro both support plug in, we’ll start to see more plug ins.
What do you think, jonaphin. Are you up for making more plug ins?
I have a bit of experience with with speech recognition and getting access to the mic would be a good start. I’d love to have simple 2 or 3 word speech recognition.