ADMOB HELP

main.lua  ( http://docs.coronalabs.com/daily/api/library/ads/init.html )


local ads = require “ads”

local function adListener( event )
if event.isError then
– Failed to receive an ad.
end
end

ads.init( “admob”, “myAppId”, adListener )
ads.show( “banner”, { x=0, y=0 } )

What is appID? I only have the app name…

And “banner” is a reference to the bannerID that I have created in admob site???

Please help me

Thanks

hi

when you add  app in the admob you get Publisher ID. and you put that publisher id in
ads.init( “admob”, “Publisher ID”, adListener )

http://jimmod.com/blog/wp-content/uploads/2012/07/admob_publisher_id.png

So why the corona docs says “app ID” and not “Publisher ID”.

Anyway, that link shows a screenshot of old admob site, not the new.

But I’m going to try use PublisherID in place of “appID”.

hi

when you add  app in the admob you get Publisher ID. and you put that publisher id in
ads.init( “admob”, “Publisher ID”, adListener )

http://jimmod.com/blog/wp-content/uploads/2012/07/admob_publisher_id.png

So why the corona docs says “app ID” and not “Publisher ID”.

Anyway, that link shows a screenshot of old admob site, not the new.

But I’m going to try use PublisherID in place of “appID”.