what is "YOUR_ADMOB_AD_UNIT_ID" and "YOUR_ADMOB_APP_ID"

what is  “YOUR_ADMOB_AD_UNIT_ID” and “YOUR_ADMOB_APP_ID”  ?

Can anyone tell me ? 

local admob = require( “plugin.admob” )

– AdMob listener function
local function adListener( event )

if ( event.phase == “init” ) then – Successful initialization
– Load an AdMob interstitial ad
admob.load( “interstitial”, { adUnitId=“YOUR_ADMOB_AD_UNIT_ID” } )
end
end

– Initialize the AdMob plugin
admob.init( adListener, { appId=“YOUR_ADMOB_APP_ID” } )

– Sometime later, show the interstitial ad
if ( admob.isLoaded( “interstitial” ) ) then
admob.show( “interstitial” )
end

You have to create an account with AdMob.  https://www.google.com/admob/

There you will add your app. You have to add separate apps for Android and IOS. You will get an App ID for both of them. Google refers to these on the AdMob dashboard as Ad Unit ID’s. 

The APP_ID can be found from the main dashboard page by clicking on the “Manage your apps” links. The Ad Unit ID’s can be found by clicking the “Monetize” link in the main menu at the top, then clicking on your app in the left sidebar.

Rob

thanks Rob.

I following the instruction and i have try to build a test on new admob plugin(US$495).  but no ad display on my mobile device.   

Does Corona will have sample project on this new admob plugin, which cost US$495? 

thanks!

We are looking into it.

thanks Rob,

i try many times of existing apps, which can display admob ad on (admov v2) plugin, but US$495 plugin no show. please help

Hi @raymondcheng,

We’ll have a sample prepared for our users soon. I’ll keep you posted.

Brent

thanks Brent.

Hi @raymondcheng,

I’ve created a new sample app on GitHub which you can use to model your own:

https://github.com/coronalabs/plugins-sample-admob

If you have issues, please post back here so we can diagnose. Our testing of this sample has cleared/passed on multiple platforms and devices.

Brent

Regarding pricing, also see: https://forums.coronalabs.com/topic/67049-announcement-welcome-unity-ads-plugin-pricing-changes/

Rob

Thanks Brent and Rob.

You have to create an account with AdMob.  https://www.google.com/admob/

There you will add your app. You have to add separate apps for Android and IOS. You will get an App ID for both of them. Google refers to these on the AdMob dashboard as Ad Unit ID’s. 

The APP_ID can be found from the main dashboard page by clicking on the “Manage your apps” links. The Ad Unit ID’s can be found by clicking the “Monetize” link in the main menu at the top, then clicking on your app in the left sidebar.

Rob

thanks Rob.

I following the instruction and i have try to build a test on new admob plugin(US$495).  but no ad display on my mobile device.   

Does Corona will have sample project on this new admob plugin, which cost US$495? 

thanks!

We are looking into it.

thanks Rob,

i try many times of existing apps, which can display admob ad on (admov v2) plugin, but US$495 plugin no show. please help

Hi @raymondcheng,

We’ll have a sample prepared for our users soon. I’ll keep you posted.

Brent

thanks Brent.

Hi @raymondcheng,

I’ve created a new sample app on GitHub which you can use to model your own:

https://github.com/coronalabs/plugins-sample-admob

If you have issues, please post back here so we can diagnose. Our testing of this sample has cleared/passed on multiple platforms and devices.

Brent

Regarding pricing, also see: https://forums.coronalabs.com/topic/67049-announcement-welcome-unity-ads-plugin-pricing-changes/

Rob

Thanks Brent and Rob.