iAd Plugin for Unity

Hi Guys,

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.

You can find the plugin’s page at this address:
http://www.genesx.com/2010/08/iad-plugin-for-unity/

And here’s a little screenshot:

Enjoy!

[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

Works great!
Hope it’s gonna bring more $$ for me!!! hehe

Just bought it. How’s does it get delivered?

Did you receive an email with the link?

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 :slight_smile:

I have the paypal receipt and a thank you note from you but I don’t see a download link.

I got the link and your resend. I guess I just needed to give it a few minutes. Thanks!

thanks, I need this! :slight_smile:

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 :slight_smile:

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?

Hi VIC20,

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.

Well that was easy! Just import the asset and add a prefab to your scene.

Here is a screen shot of a Unity Scene running with with iAds using the plug in.

341620--11963--$iad_104.png

what about the performance? does these ads suck up much?

Hey VIC20,

I haven’t personally noticed any performance degradation on my games, running on iPod Touch 2nd Gen.

@kenlem: Glad it helped :slight_smile:

I can’t tell yet. The ad covered up my FPS display. :slight_smile:

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?

Just bought it. Good Job!

Thanks,
-Mike

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? :wink:

Always up for it, Kenlem :slight_smile:
If you have some good ideas or would like to even collaborate on one let’s do it!
:shock:

People have been asking about a mic plug in for ages.

http://forum.unity3d.com/viewtopic.php?p=350136#350136

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.