• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Admob - Google Ads?

New Here ,
Oct 31, 2010 Oct 31, 2010

Copy link to clipboard

Copied

Innovative - will you? where can I find flash/air integration admob android ...

...where is Google Ads - Admob plugin or similar code?

This is a must in next release Flash CS5.5/AIR2.5!

this is very important ...

TOPICS
Development

Views

147.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
replies 104 Replies 104
New Here ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

I have posted the tutorial on my blog, google+ does not have any codeformatting I guess .

If you got any questions, please use the comments on my blog.

Its actually quite some work to set everything up and you need FlashBuilder because you have to compile an android project. You could also use the normal eclipse if you haven't got a flash builder license. I haven't written a complete tutorial, because James Ward did already write a good one for some vital steps. So you have to follow his steps first and then mine, as stated in my blog post.

The good thing is, if you have setup this, you can do really cool stuff, not only use admob, but any other ad provider which offers a android API and add splashscreens or  make us of any native APIs which are not supported by air yet.

I might look into iOS soon, but I guess that is probably even more complicated.

@Vik: to be honest, its still a little complicated, even with the tutorial steps. I haven't got the time to make everything dummy proof, but I can surley answer some questions if you are stuck.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 26, 2011 Aug 26, 2011

Copy link to clipboard

Copied

Thanks a ton. Will give it a go tonight or Sunday. Thanks again.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 30, 2011 Aug 30, 2011

Copy link to clipboard

Copied

Is it possible to put the HTML code into AS3 to be read by the webview or attach the HTML file and referencing it when you publish the app or does it need to be hosted somewhere on the web for this to work?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 30, 2011 Aug 30, 2011

Copy link to clipboard

Copied

It needs to be hosted. But there are a lot ofgood free hosting companies.

Use any one and you will be good.

The other method never worked for me. So i am still hosting and using that

method.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 31, 2011 Aug 31, 2011

Copy link to clipboard

Copied

I added leadbolt to a few apps, I will see what happens.  I noticed that with admob, when the air app was blown up to tablet size, the ad only took up a portion of the webview leaving a huge blank space (webview scaled but ad didn't).  When I tried to fit in the admob ad by scaling the webview down for tablets, it would not show at all, seems to need the dimensions of the webview to match but then doesn't scale the ad.  With leadbolt, I was able to modify the webview dimensions and remove the wasted space and ad showed as I wanted.  Leadbolt will be what I use for tablets going forward as well as testing a few other apps.  Anyone interested in seeing it, download it at the below link.  Install it on tablet and phone and compare.

https://market.android.com/details?id=air.FootballDoodFree

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 31, 2011 Aug 31, 2011

Copy link to clipboard

Copied

Can you share the code too? I have put leadbolt content unlocking on my site

too, getting good conversions. Cant wait for their API to support native

adobe air for android.

Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 31, 2011 Aug 31, 2011

Copy link to clipboard

Copied

I used the same method as the previous post a few above this one.  If you are asking about tablet specific, I simply changed the x,y values (position) of the webview and the height and width (size) according to the larger banner ad.  I can share those values if interested.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 31, 2011 Aug 31, 2011

Copy link to clipboard

Copied

Yea. The tablet specific. Could you give the values you used. Thx.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 15, 2013 Mar 15, 2013

Copy link to clipboard

Copied

I was interested in implementing the larger ads on tablets, but I noticed that fill rates plummeted because that size is not so popular?

I'm stuck using smaller ads with the black spaces as my attempts to resize have caused more problems than they solve. Is it possible to measure the dimensions of the device being used?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 16, 2013 Mar 16, 2013

Copy link to clipboard

Copied

yes it very easy to do a conditional statement;

protected function view1_viewActivateHandler(event:ViewNavigatorEvent):void

            {

               

                if (StageWebView.isSupported && screenX> 470 && screenY> 470)

                {

                    stage.addEventListener(Event.RESIZE, onStageResize);

                    webView.stage = stage;

                    webView.viewPort = new Rectangle(0, stage.height - 70, 480, 70);

                    webView.addEventListener( LocationChangeEvent.LOCATION_CHANGING, onLocationChanging );

                   

                    var html:String = "<html><body style='margin:0; text-align:center; padding:0;'><script type='text/javascript' src='http://ad.leadboltads.net/show_app_ad.js?section_id='></script></body></html>";

                   

                    webView.loadString(html);   

                    addEventListener(ViewNavigatorEvent.REMOVING,onRemove);

                }

                   

                else {

                    this.webView.stop();

                }

            }

so change this screenX> 470 && screenY> 470 to whatever you want, or change it to less than

Oh and use leadbolt if you dont already http://leadbolt.com/developers_signup.php?ref=10025809 <using my referral link please

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 15, 2013 May 15, 2013

Copy link to clipboard

Copied

LATEST

At last I have listed the new Adobe Native Extension for Android and iOS completely free, you can download it from here: http://www.enriquedavid.es/downloads/admob-native-extension.zip

And here the documentation (English): http://www.enriquedavid.es/doc/admob/

Enjoy it!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 27, 2011 Sep 27, 2011

Copy link to clipboard

Copied

I had a play with this but could only get it to work with the press of a button, does anyone have a fla available to display an admob ad correctly without pressing anything? It would save me muchos time and id be happy to give a donation for the help. email me if you can help pleeeeease info@crea8media.co.uk.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 28, 2011 Sep 28, 2011

Copy link to clipboard

Copied

Hi all,

Thanks for the information on this post. I have 2 questions if someone could reply please...

I got my air app working with admob, however I get the same results as many, where sometimes there are no ads... So I created a house ad to fill in when there are no ads. But, I did not see anywhere that I can link the house ad to my smartphone set up...

Is is even possible to fill in with house ads with "smartphone web" site/app?

There seems to be so many services out there, assuming we could get any of them working with Air.. what would be the one with the most payout? Does AdMob pay well? What about leadboltapps?

thank-you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 11, 2011 Oct 11, 2011

Copy link to clipboard

Copied

Hoping with the new native extension feature, someone comes up with admob extension...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 31, 2011 Oct 31, 2011

Copy link to clipboard

Copied

Yes, I would pay for it.

It is the most important extension: if we are not able to make money with advertising, we cannot waste time in android applications.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 05, 2011 Nov 05, 2011

Copy link to clipboard

Copied

I custom built my own system (many months ago) after making this post.

It integrates with AdMob fine enough. Now I see some concern that Google bought them out and want to switch everything to AdWords AdSense.

Further investigation led me to believe that there is no Mobile solution there and that was only for Web Ads, of which they reject a signup request without super content.

Anyway I used older 3D stuff to create awesome transitions etc.

When scaling the little mobile test app to various devices from the same mobius code, I noted 3D mouse clicks was not translating properly, so I had to hack an invisible button over the ad space, so not super ready for others to use but good enough for my own primtime I suppose (I haven't had time to get it out there yet BTW).

You basically need an awesome supporting website to convinece any advertiser to put an ad up with you, so it's your own ads only at first anyway.

Oh right I wanted to say that my solution has nothing to do with any HTML or Web Viewer window which can't go into a scroller and is only an overlay which is useless in my estimation for most things except maybe ads. Just use the simplist thing Anchor Link HREF and image reference IMG SRC to figure it out... done.

Added features I have figured out and impliments beside interface to all actions with GoogleAnalytics are GPS position, contry codes, unique device ids, etc. you name it. Custom coding this is totally worth it trust me.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 09, 2011 Nov 09, 2011

Copy link to clipboard

Copied

I just develop a Native Extension for adMob to iOs, I'm writing a post in my blog to explain and show examples to use. I hope that this week I have release it, maybe same one be very useful.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

No love for Android?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Until there are Native Extensions for Android. The web solution with Leadbolt / Admob is working ok.

http://tinyurl.com/7luytgo

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

That is my question.  @undereyes is developing one for iOS, was hoping one also for Android.  I have the webview and admob is moving away from mobile ads and replacing with adsense.  Admob will focus on apps only.  Adsense does not allow pages with ads and no content, so google will likely ban your account if it gets approved at all.  I tried Leadbolt but it served up phishing ads and never made any money where admob did & continues to trickle in money.  The fill rate is just poor because they are moving away from serving up mobile web ads. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

thanks mola2alex, great information. Gonna start looking into writing native extensions

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 11, 2011 Nov 11, 2011

Copy link to clipboard

Copied

Hello, I have so far only for IOS, but my intention is to make a consistent ANE IOS and Android ... I hope to have this version readysoon, I'll tell you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 14, 2011 Nov 14, 2011

Copy link to clipboard

Copied

Hey  guys,

I thought you might be interested to know our Native AdMob AIR 3 Extension for Android just came out.  You can check it out here:

http://www.milkmangames.com/blog/2011/11/10/announcing-native-android-admob-support-for-adobe-air/

This is a true native java/android extension, not a hack with StageWebView.  It supports creating, destroying, showing and hiding of ads, all the AdMob sizes and formats for phones and tablets, events dispatched for all lifecycle states, etc.  It also smartly handles any changes to stage orientation, and has included sample apps.  You can get your ads inserted with 2 lines of code.

You can also see it in action with our game Aqualux here.

Hope it's useful!  I'll be releasing a similar versin for iOS, and a GameCenter extension and some other goodies very soon!

Alex

Milkman Games

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 16, 2011 Nov 16, 2011

Copy link to clipboard

Copied

I guys, I have to say that you did an excellent job.

I made it work in few minutes and FINALLY I CAN EARN SOMETHING with banners!

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 16, 2011 Nov 16, 2011

Copy link to clipboard

Copied

Glad it worked for you BaronKarza!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines