Skip to main content
Participant
November 1, 2010
Question

Admob - Google Ads?

  • November 1, 2010
  • 27 replies
  • 151314 views

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 ...

This topic has been closed for replies.

27 replies

Known Participant
February 16, 2011

I'm using the latest BETA of Adobe Flash Builder 4.5 (Burrito) and Hero 4.5.

My limited research led me to believe that AdWhirl is a spin off of AdMob and the best option availible (most desirable MobileApplication ad solution).

Unfortunately at this time libraries only exist for iPhone and Android (not AS3).

I started a repository version of the free source code for AS3 but ramming it the Android Java version through a Java to AS3 converter.

It lacks certain classes that would need porting.

I've left it open ended and kind of requested a call to action there a month or so ago and thought I would get to it at the end when I need it if there isn't a solution. That time will soon be apon me and others.

I think maybe there is a simpler (but likely not better) solution here to explore first. Still I wanted to put my thoughts out there in hopes the community can get on bored with this AdWhirl solution (still needing further porting).

Known Participant
February 16, 2011

Oh wait up what's this...???

http://labs.adobe.com/technologies/rmadvertising/

Oh RM=RichMedia it's not a distribution platform.. I don't think. Just using Flash for Ads of which is another content form the ad distributors need to incorporate... or die (okay apparently HTML 5 too but it's more open sourced via java, so I'm not interested in using that.)

It's suggested through a description section called "analytics" but one can already do that within flash on the conventional Google Analytics (which is totally off topic here). And more important from the distribution side of things for tracking payout (which is ultimately the point of my bothering here).

What what's this?...

http://www.adobe.com/digitalpublishing/

still a NO?, F! Well I'm sure somethings on their minds to actually provide a distribution network that pays out App developers. Then again maybe not.

Back to AdWhirl porting I guess.

February 4, 2011

This looks nice:

http://us.blackberry.com/developers/platform/adservices/

According to a post on the forum there will be support for the PlayBook soon; so this would work with AIR then.

But if Adobe could copy this service that would be even better

Inspiring
January 30, 2011

Does Adobe even track these forums?

Adobe needs to throw some weight over at Admob and get them to release an official API for A4A (Air 4 Android).

January 30, 2011

I agree. I love as3. It is a beautiful language. But I keep looking into Unity/Java(Script) etc... just because of the Ad api's.

To me a perfect Ad integration would be the killer-flash apl. Maybe it's not Adobe's core business; but they even have the

power to become the default ad-broker for flash apps.

just my 2cts

Participant
January 30, 2011

Hey guys,

I'm trying to setup an admob account, but couldn't get any ads to display. Do I need a wap site for this, or can I use my regular server?

I copied the code posted here by someone, and when I tried it in my browser, all I got was just an empty page...

swamp222
Inspiring
January 30, 2011

heya!

make sure there's ads available for your "location", I only got a banner once from my location (sweden)

I do more often get more ads when rendering my page @ http://ipinfo.info/netrenderer/index.php (germany)

Participant
February 4, 2011

Ive got ads loading into air apps. You can click on them but it throws a sandbox error. Maybe some one else  can help. Code is real simple and derived from the flash lite sdk.

Remember to update your site ID. Below are URL's to regular and test ads. The only differences is the additions of 'm=true' to enable test mode. Download the flash lite sdk if you would like to decode the URL or use other options not included here.

** Ad URL **

var remoteSwfUrl:String =
                    "http://r.admob.com/ad_source.php?f=swf&client_sdk=1&s=<SITE_ID>&u=Adobe%20Device%20Central&screen_width=480&screen_height=816&so=normalp&v=20100322-FlashLite-23e06b5ca61845dc&pub_data[fl_gif]=0&pub_data[fl_jpg]=0&pub_data[fl_png]=1&pub_data[flash_lite_version]=FlashLiteVersion";

** Test Ad URL **

var TestUrl:String =
                    "http://r.admob.com/ad_source.php?f=swf&client_sdk=1&s=<SITE_ID>&m=true&u=Adobe%20Device%20Central&screen_width=480&screen_height=816&so=normalp&v=20100322-FlashLite-23e06b5ca61845dc&pub_data[fl_gif]=0&pub_data[fl_jpg]=0&pub_data[fl_png]=1&pub_data[flash_lite_version]=FlashLiteVersion";

Ad.load(remoteSwfUrl);

<mx:SWFLoader id="Ad" />

It appears that one of the biggest problems is the loaded SWF(Ad) is an older version, Avm movie 1 (or something). If this were updated to an actions scrip 3 - avm move 2, then retrieving variables from the swf (including the link url) would be possible/easier.

Participating Frequently
January 28, 2011

I have it working with Admob now. I think there was a time

period that I had to wait for the server to update? I don't know but it works now. I manually added the d

imensions of the webview object to make the scrollbars go away. I can't believe it!


Laxidasical
Known Participant
January 28, 2011

Has anyone tried using the Flash Lite code that Admod provides?  The classes are in ActionScript.  I'm still learning ActionScript, so I'm not sure if I can get this working...

Participating Frequently
January 27, 2011

I also would like to include Admob in my Flash/AIR apps. I have published 2 so far and the only thing holding me back now is the integration with Admob. If a solution from within the Flash/AIR SDK was possible, that would be incredible. I hope something becomes available soon.

Participating Frequently
January 27, 2011

Has anyone tried using a StageWebView object and the JavaScript provided by Admob here: http://developer.admob.com/wiki/Android ?

Or constructing a URL request using the information here http://developer.admob.com/wiki/Requests ?

I haven't had a chance to try it yet -- just wondering if anyone had already gone down that path.

January 27, 2011

I was going down this path; but It doesn't run:

Error #1014: Class flash.media::StageWebView could not be found.

the import is fine in the IDE; it compiles also.
So I have to figure out why it's not working; but it looks like a nice option to build a view and connect to the ad-site of you choice.

swamp222
Inspiring
January 25, 2011

My solution (requires running .net website)

1. create admob mobile web project which points to your website

2. copy the code you get (c#) in my case and paste into http-handler/webservice

4. filter the html returned by admob so flash can read it as urlvariables

3. get the variables into flash (url, banner-image-url, text) by loading the http-handler

4. make banner from variables

5. profit ?

I guess this also works via php/java ......

swamp222
Inspiring
January 25, 2011

ofcourse this is only a temporary solution, since you only will get mobile-web related ads and no app-ads etc.

Participant
January 19, 2011

Update? Has anyone made progress on this?

Laxidasical
Known Participant
January 9, 2011

Another vote for this to bu built in!!!

Inspiring
January 11, 2011

Update

I've been searching the web for the last 2 weeks and haven't found anyway to do this. Does anyone have any idea how to get any ad into any app?

Laxidasical
Known Participant
January 11, 2011

I planned to look at the AdMob PHP API client sometime this week and see if I can port it to ActionScript.  I have 12 years of PHP development under my belt but unfortunately I'm very new to ActionScript.  I'll make a deal with you though.  If you can solve this issue for me I'll attempt the port later today and reply here with results!!!