• 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

146.3K

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
Guest
Feb 04, 2011 Feb 04, 2011

Copy link to clipboard

Copied

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

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 ,
Feb 15, 2011 Feb 15, 2011

Copy link to clipboard

Copied

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

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 ,
Feb 15, 2011 Feb 15, 2011

Copy link to clipboard

Copied

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.

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 ,
Feb 23, 2011 Feb 23, 2011

Copy link to clipboard

Copied

Has anyone tried this?

http://pixelpaton.com/?p=3313

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
Feb 24, 2011 Feb 24, 2011

Copy link to clipboard

Copied

Yes, this example is great, I now have two applications in the market both with Admob.

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, 2011 Mar 16, 2011

Copy link to clipboard

Copied

Is anyone else having difficulty getting the ads served?  The page loads, admob says I

requested an ad, but they're not filling.  Thoughts?

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 ,
Mar 22, 2011 Mar 22, 2011

Copy link to clipboard

Copied

1) Are you viewing it on an actual mobile device, or just on your computer? Seems you need to actually be viewing the requested page or app on a mobile device for the ads to show.

2) In the AdMob settings, does it show as "Active" (I think that's what it should say, I forget exactly) for that "Page/App" that you set up?

3) Make sure you have the correct code in your page (JavaScript, if I remember correctly) and with the correct ID given by AdMob. Make sure test mode is false also, though you should see something either way, if it's hooked up correctly.

4) If you request the same page over and over, I think it stops your IP from seeing ads on that page (or it replaces them with only House Ads, if you have any set up).

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 ,
May 18, 2011 May 18, 2011

Copy link to clipboard

Copied

So... finally, fully mastered.  No scroll bars. All options. Location tracking. Everything.

Got it all working in both AdMob and Smaato.  And NEITHER require you host your own server or know PHP.

http://market.android.com/details?id=air.com.CarrSolutions.AdTest

Exciting times, sorry it took so long.  You can contact me at adhelp@carrsolutions.com if you want info/code on how to enable all advanced features.  Or, if you don't feel like getting into the code yourself, I can set up all the AdMob accounts needed and do the coding/customization for you at a reasonable price.

AdTest-ss1-new.png

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 ,
Jul 10, 2011 Jul 10, 2011

Copy link to clipboard

Copied

Bump. Does anyone have any an ad network runing in their app? Carr's admob demo stopped working due to click fraud?? How in the world is a small developer going to satisfy the need for a million impressions per month? That's insane.

I'm really regretting learning flash.

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
Engaged ,
Jul 10, 2011 Jul 10, 2011

Copy link to clipboard

Copied

it still works for me. i see both admob and smato ads in his app. Sometimes admob does not have an ad to serve to you, is it possible this is what your seeing? Or did you hear there was a click fraud issue?

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 ,
Jul 10, 2011 Jul 10, 2011

Copy link to clipboard

Copied

Thanks for replying boat5!

I only see the smaato ad and the admob ad is just a light grey rectangle on my android device. Would it matter if my device happens to be a samsung galaxy tab?

This guy has a long article on how he got his working here:

http://pixelpaton.com/?p=3313

But then in one of his comments he says his account got suspended for click fraud.

But you say carr's app is working ok on your device? Have you loaded it recently and looked at it?

Thanks

-Scott

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
Engaged ,
Jul 10, 2011 Jul 10, 2011

Copy link to clipboard

Copied

Yes I just tried it today when posting that reply. It works in carrs app both admob and smatto. I also have it working with my own app using StageWebView with the same technique described by Terry Patton (also described by adobe here). It should work on any android device (i'm not sure about iOS).


It does work and it does credit the impressions...But! my app is not public yet, so my (and perhaps carrs) apps are not getting near the traffic that terrys apps would get on a daily basis. If you get high traffic i have no idea if admob will cut your account or not... so far they don't seem to mind my $0.85 account

The admob mode we are using is 'smartphone/web' ads for mobile web sites. StageWebView is a browser window to a mobile website containing your ad. I personaly don't understand why this would be viewed as fraud, especially "click fraud" but again i have no real experience with admob or smatto. my account $ level is a joke.

Another issue is that under the 'smartphone web' in admob, much of the time no ads show up. I think this has to do with the amount of advertisers using the  smartphone web option, your location, the admob account, and your network connection. For example i might get no ads under my WIFI connection, but i do get ads if i switch to the phone providers Internet (3g connection in my case). Or i might get the same ad for 5 days in a row under 3g, then switch to my local network and immediately get different types of ads.

Sorry i just realized i can't really answer your question. Mine works, Carrs works, but if you get any real use out of it will admob cut you off for some reason? Not sure...

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 ,
Jul 10, 2011 Jul 10, 2011

Copy link to clipboard

Copied

Thanks again for your info. I wrote to carr. I hope he writes back.

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 ,
Aug 12, 2011 Aug 12, 2011

Copy link to clipboard

Copied

Did carr write you back?  I am looking for someone to do this part of the coding for me.  even if for a fee.

also, i did check carr's app, and I also can not see the Admob ad.  But I do see the smaato ad.

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 12, 2011 Aug 12, 2011

Copy link to clipboard

Copied

Yes I was able to contact him. I have not opted for his service. I am currently working with admedia.com for an as3 solution. So far nothing but I will post a thread if they are able to pull it off. Looks like a good company. They respond very quickly to inquiries.

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 09, 2011 Aug 09, 2011

Copy link to clipboard

Copied

Adobe, this is a must if you want AS3 to be successful in mobile, especially 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
Community Beginner ,
Aug 22, 2011 Aug 22, 2011

Copy link to clipboard

Copied

After a lot of trouble (account canned on ADMOB ) and research, I have gotten Ads to work in all my Android Apps. This will work on a lot of AD networks, but most will ban you click fraud. Only one network allows this method and they provide support for it too.

I have over 100 games apps. with this method implemented and working. Here is a link to one of them for you to see how it will look in game. I am using multiple ads in this to force the user to click and make me some money: https://market.android.com/details?id=air.GraffitiCityMarketFree&feature=search_result

Does LeadBolt offer HTML integration for banner ads?

LeadBolt does allow banner ads to be integrated into your app using HTML, rather than using our SDK. To create a HTML banner ad after adding an app to the LeadBolt portal, simply click “Add Ad” and select “App Banner (HTML)” from the drop down box. The HTML snippet can then be added directly into your app’s HTML framework.

So far my eCPM is $6.15

I have created this guide to show my appreciation:

Publisher Code:

STEP I:

Get an Account: http://leadboltapps.com/web/publishers/signup.php?ref=10022842

STEP II:

Click on the “APPS” tab and “Create New APP” to create an AD. Remember to change content unlocker to HTML Banner. While in the process.

STEP III:

Get the HTML AD Code and keep it safe. That is all we need from the site. How simple was that?

AD HTML FILE:

Create an HTML File and Load it to your site. Remember to replace your HTML Code from above step with where I have put: ****ENTER HTML AD CODE HERE****

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

<title>Untitled Document</title>

<style type="text/css">

body,td,th {

     color: #FFF;

}

body {

     background-color: #000;

     margin-left: 0px;

     margin-top: 0px;

     margin-right: 0px;

     margin-bottom: 0px;

     text-align: center;

     position: relative;

}

</style>

</head>

<body>

****ENTER HTML AD CODE HERE****

</body>

</html>

Action Script Code:

STEP I:

Credit: I found this on another site and would like to give credit to the author of pixelpaton.com

The only change you need to make is to enter your website html url where you have placed the AD HTML FILE in the space where I have put : "****ENTER COMPLETE HTML URL HERE****". Where ever you want the AD, place the following code:

// imports

import flash.events.Event;

import flash.events.LocationChangeEvent;

import flash.geom.Rectangle;

import flash.media.StageWebView;

import flash.net.navigateToURL;

import flash.net.URLRequest;

import flash.events.MouseEvent;

// setup variables

var _stageWebView:StageWebView;

var myAdvertURL:String = "****ENTER COMPLETE HTML URL HERE****";

//

                {

                // check that _stageWebView doersn't exist

                if (! _stageWebView) {

                                _stageWebView = new StageWebView () ;

                                // set the size of the html 'window'

                                _stageWebView.viewPort = new Rectangle(0,0, 800, 100);

                                // add a listener for when the content of the StageWebView changes

                                _stageWebView.addEventListener(LocationChangeEvent.LOCATION_CHANGE,onLocationChange);

                                // start loading the URL;

                                _stageWebView.loadURL(myAdvertURL);

                }

                // show the ad by setting it's stage property;

                _stageWebView.stage = stage;

}

function toggleAd(event:MouseEvent):void {

                trace("toggling advert",_stageWebView);

                // check that StageWebView instance exists

                if (_stageWebView) {

                                trace("_stageWebView.stage:"+_stageWebView.stage);

                                if (_stageWebView.stage == null) {

                                                //show the ad by setting the stage parameter

                                                _stageWebView.stage = stage;

                                } else {

                                                // hide the ad by nulling the stage parameter

                                                _stageWebView.stage = null;

                                }

                } else {

                                // ad StageWebView doesn't exist - show create it

               

                }

}

function destroyAd(event:MouseEvent):void {

                // check that the instace of StageWebView exists

                if (_stageWebView) {

                                trace("removing advert");

                                // destroys the ad

                                _stageWebView.stage = null;

                                _stageWebView = null;

                }

}

function onLocationChange(event:LocationChangeEvent):void {

                // check that it's not our ad URL loading

                if (_stageWebView.location != myAdvertURL) {

                                // destroy the ad as the user has kindly clicked on my ad

                                destroyAd(null);

                                // Launch a normal browser window with the captured  URL;

                                navigateToURL( new URLRequest( event.location ) );

                }

}

// setup button listeners

Hope this works and helps you. If you have questions, let me know. Enjoy.

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 23, 2011 Aug 23, 2011

Copy link to clipboard

Copied

Wow thanks for sharing. I will look into your solution!

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 24, 2011 Aug 24, 2011

Copy link to clipboard

Copied

Thanks for sharing.  I will check it out.

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 24, 2011 Aug 24, 2011

Copy link to clipboard

Copied

Couple quick questions?  I am waiting for registration to go through.

1) Are there standard ad sizes?  I noticed the one in your app is quite large but the space I have in my apps are more aligned with the admob size.  Also, how do these look when used on tablet devices?  With the current admob way, the ad only takes up a small amount of the scaled webview component but full webview on the smaller screen resolutions.  If I try to make the size of webview smaller on tablets (relative pizel), it will not display ads.  Wondering if you have any experience there.

2) On your app, I only get ads for the ad provider (leadbolt) to advertize with them.  Do they have enough ads to fill requests? 

3) Did you get your admob account suspended because of how you implemented your ads?  My account is working fine (but not generating lots of $) and I contacted admob about suspension regarding this method and the response was:

Hello Matthew,

Thank you for your inquiry.  While this method may not currently be supported, which means it may not give you the results you are expecting, you would not be at risk of having your account suspended unless your app is found to be malicious.

Also, keep in mind as AdMob continues to integrate with the Google platform, you may also consider reviewing the AdSense ToS as standards may be slightly different than the current AdMob standards.

Best regards,

AdMob Support

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 24, 2011 Aug 24, 2011

Copy link to clipboard

Copied

1. With ADmob my ads did not always load in the game. They were there, and

you could click it, but couldnt see them. There are standard banner sizes. I

use 468x60 and 300x250. It does auto scale in tablets. Not found a fix to

that.

2. Which country are you in? If they do not support your country too much,

that is the ad you will see. Has good PPC though.

3. What i did was kinda dumb. I made two pages and linked all my 100 games

to load ads from those two pages. So i made a lot of money and had a lot of

clicks. They called that click fraud.

Use what works best for you. The only real thing i like about leadbolt is

they advertise they support html ads and plan to make their api work with

adobe. So i am going to support them.

Hope that helps.

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 24, 2011 Aug 24, 2011

Copy link to clipboard

Copied

1. Thanks

2. Canada but my apps are global so I may experiement with one of them and this way

3. All my apps are linked to the same ad page as well.  I don't have 100's of them or a high click rate.  To be honest I am making nothing off of ads but have lots of downloads so I need to explore some options around making money off of this.  Agree, that if they are committed, pay more and have lots of ads that this is a great option.  I don't want to invest time in a banned account.  I wish Adobe would partner and make it simpler to do all this. 

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 ,
Aug 25, 2011 Aug 25, 2011

Copy link to clipboard

Copied

Hi,

just a few minutes ago I got admob running on my android game, using a method James Ward found http://www.jamesward.com/2011/05/11/extending-air-for-android/ Flash can talk to the android api via a localhost service and trigger the ad view. Whenever you want it to show or remove

I will write a tutorial on my google+ page tomorrow. Its not using the method with a html page and JS, where lots of accounts got cancled due to click fraud.

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 25, 2011 Aug 25, 2011

Copy link to clipboard

Copied

That would be awesome buddy... Do share. So you got it working via the

android ad and not smartphone?

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 25, 2011 Aug 25, 2011

Copy link to clipboard

Copied

JoeCoo7 - I guess it is not tomorrow for you. IST time here, awake and

wanted to take a crack at your solution. Do write it, and kindly make it

dummy proof for me. Also hoping that your solution is for Flash Pro and not

Flash Builder. I had found that solution a while back, just couldnt

understand it.

Actually if possible, could you make it work smaato? They seem to more easy

to integrate and they have some pretty cool ad formats.

Vik.

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