That feature is for the Mac simulator only.
Rob
That feature is for the Mac simulator only.
Rob
Came back from vacation with fresh eyes on this problem.
I got the sample code running, it works fine.
I plugged my API key into the sample code…same problem as before.
Put the sample code API key into my app that wasn’t working, it now works fine.
I can only assume the API key generated for my app is bad.
If that’s the case then email ads AT coronalabs.com and see if they can make sure your placement ID’s all have a ads going to them.
Rob
You should be able to test with out publishing your game to the stores.
My version of the Corona SDK seems quite old.
How do I go about updating it?
Log in on the site https://coronalabs.com (top right corner),
From bottom menu pick link Get Corona -> Download,
Click Download button (orange). Version for Win about 65MB, for Mac about 99MB .
Or better, scroll to the top of the page and click where it says Daily Builds. If you want to only run release versions, @Idurniat’s advice is correct. If you want the latest bug fixes, added features (understanding that new features might introduce new bugs), then daily builds are for you.
Rob
Thanks,
I’m updated.
I get this warning now:
WARNING: The ‘plugin.coronaads’ library is not available on this platform.
You will get that warning in the simulator. Most plugins only work on real devices because they depend on SDK’s that are mobile only. If you’re getting that error on a device we need to look at your build.settings and additional messages to try and troubleshoot. But if you’re only in the sim, this is to be expected.
Rob
Thanks,
I’ll give it a try.
All I see is a blank screen.
I know the ad listener function is being called because I play a sound when it’s called.
No idea how to debug on my phone instead of the simulator 
– Corona Ads listener function
local function adListener( event )
– Successful initialization of Corona Ads
if ( event.phase == “init” ) then
– Show an ad
audio.play(sndCya)
--coronaAds.show( bannerPlacement, false )
coronaAds.show( interstitialPlacement, true )
end
end
– Initialize Corona Ads (substitute your own API key when generated)
coronaAds.init( “xxxxxx”, adListener ) <-- removed my key
Please read our debugging guide:
http://docs.coronalabs.com/guide/basics/debugging/index.html
You’ve asked this question in two different threads. Lets keep future conversations here please.
Rob
Not sure what other thread you’re talking about.
Is it possible I don’t see ads yet because my app status is still “Pending” in the ad dashboard?
This thread: https://forums.coronalabs.com/topic/62661-issue-displaying-an-interstitial-with-corona-ads/
Does your app do anything more than show ads?
Have you put any print statements in your listener function to print out values from the event table?
Sorry, that was a mistake.
I wondered where that comment went to 
Just got this message when loading my game:
23:54:28.979 PluginSync: plugin com.coronalabs/plugin.coronaAds needs to be updated for platform win32-sim to build number: 2828
23:54:28.979 PluginSync: downloading plugin: http://plugins.coronasphere.com/com.coronalabs/plugin.coronaAds/2016.2828/win32-sim/plugin.coronaAds.zip
The zip contained a file called plugin.coronaads.lua
Not sure where to put it.
What values do you want from the event table?
event.name = adsRequest
event.phase = init
You don’t need to do anything with it. It’s just informational messages. Corona Ads won’t work on the simulator, so you will have to build for device to test them.
If printing event.name resulted in “adsRequest” and event.phase resulted in “init” that’s telling me that you managed to call “coronaAds.init()” correctly.
Now you need to call:
coronaAds.show(“yourPlacementId”) to display an ad.
Then your call back function should print different results. Remember you can only test this on a real device. The simulator will call functions that will just tell you that you can’t run on the simulator.
Rob
I use this to try to display the ad:
local interstitialPlacement = “interstitial-1”
coronaAds.show( interstitialPlacement, true )
The callback function seems to be called twice.
The first time event.phase = init
The second time event.phase = request failed
My app’s status in the Corona ads dashboard is still “pending”
Can you copy/paste your console log around the “event.phase request failed” message (grab a hundred or so lines before that).
If you’re doing adb logcat and you’re putting more parameters on the end of the line, just to “adb logcat”. I need to see the unfiltered messages.
Rob
I’m just using a print statement in my code 