Corona ads not showing

Is the url necessary right now? I made a new placement and the ads still dont show up! I do not know what is wrong? Are my app domains and bundle ids messed up. My package name is com.gmail.shadowknight1873.TrumpAttack

So i put that exact package name for my bundle id and app domain in the details for the my app “Trump Attack” in the My Apps section in Corona Ads. Is that ok? Are the bundle ids and app domains supposed to be different?

If you package name is:  com.gmail.shadowknight1873.TrumpAttack, then put that into the “Play Store Bundle ID” field. Then in the “Play Store URL field” enter: https://play.google.com/store/apps/details?id=com.gmail.shadowknight1873.TrumpAttack

It sounds like that’s what Support told you to do. I saw some chatter about ad providers only delivering ads to live apps so maybe taking care of this will help you. As for the new placement, it can take up to 24 hours for that to get wired up for you.

Rob

What about the app domain do I leave that as com.gmail.shadowknight1873.TrumpAttack?

I’m not really sure what goes in that field. I put in the web address for my app’s support site. 

Rob

The corona ads support said the only reason I’m not getting ads is because my app isn’t live. But I have another question about admob and the turtoial you made about how to integrate it.

In the ads.init line you had appID but in the code there is no variable appID but there is a variable interstitialAppID so is the ads.init line supposed to ads.init(adProvider, interstitialAppID, adListener)?

Are your ads active in your dashboard? It generally takes 24 hours after setting up a placement before they go active?

Are you getting any messages in your console log?

If the forums didn’t mess up your indentions in build.settings, you might want to consider trying to reformat it so that you can make sure all your curly braces line up properly.

https://coronalabs.com/blog/2015/06/09/tutorial-the-value-of-well-formatted-code/

https://coronalabs.com/blog/2014/07/08/tutorial-understanding-build-settings/

Those both can help with code formatting and having an easy to read build.settings file.

Rob

I just incorporated the ads today but my app is already “Live” for its status when I see it on the My Apps section. So do I have to wait for 24 hours for the ads. Also all my console log says is that plugin.coronaAds library is not available on this platform.

You cannot test Corona Ads (or any ad provider for that matter) in the simulator. You have to test on a real device.

Rob

I am testing on real device that plugin message just came on for the simulator I know I have to test on real device and I am doing that but my ads aren’t showing on that device. You said I may have to wait for 24 hours but my app status is live but do I stil have to wait since I just added the code in for ads?

If your status is live, then you should be seeing ads. Again, look in your device’s console log for messages. On Android that means running “adb logcat”.

Rob

What do you mean by my device console log and what is add logcat?

Please read:

https://docs.coronalabs.com/guide/basics/debugging/index.html

Rob

I found an error in my build.settings. I forgot a comma after the android permission access network state line. Now this is what shows up in the console log for the simulator. 

17:17:52.014  PluginSync: plugin com.coronalabs/plugin.coronaAds needs to be updated for platform win32-sim to build number: 2828

17:17:52.014  PluginSync: downloading plugin: http://plugins.coronasphere.com/com.coronalabs/plugin.coronaAds/2016.2828/win32-sim/plugin.coronaAds.zip

17:17:52.369  WARNING: The ‘plugin.coronaads’ library is not available on this platform.

Am i supposed to update because i updated to newest version of corona about 2 weeks ago.

So i think my API Key is messed up. I used the API key in the example and the ads worked! How should i fix this?

What version of Corona are you using?

v2016.2949 but the api key is the problem, does the version affect that?

It shouldn’t be telling you that you need a newer version.

You’ve verified the version by find the version in the console log? or By Doing a Help->About?

Rob

How long should I expect for an email with a new Api key for my app? I just need to know how long it will take because I am going to release my app in four days on Google play store so I need this ASAP. Where is the help button?

I don’t think the version is the problem because if it was then the ads wouldn’t be showing up for the Api key shown in the example in the integration guide, but they are it just that my Api key isn’t working so I sent email requesting for new one. How long till I get a response, do you have an estimate?

Regarding the download version it says 2016.2949 on the home screen when i click on corona simulator. The console log shows this:

18:49:20.246  Platform: iPhone / x64 / 10.0 / Intel® HD Graphics / 2.1.0 - Build 8.15.10.2900 / 2016.2949 / en_US | US | en_US | en

So the version is 2016.2949, but i am almost super sure i need new API key.

Hopefully they can get back to you soon. 

Rob