Admob and Corona Ads

plugins=

  {

     [“plugin.google.play.services”]=

     {

     publisherId=“com.coronalabs”,

     supportedPlatforms={iphone, android=true}

     },

     [“plugin.coronaAds”] =

        {

          publisherId = “com.coronalabs”,

          supportedPlatforms = {iphone=true, android=true }

        },

  },

I added that code in the build.settings and other code in my menu screen so i can test to see how ads in my app would look in the simulator (this is the last step for my app before i publish it!!!). But I first tried to incorporate admob ads and when i ran my app on the simulator of course, it said that admob cannot be ran on the simulator. IF this is the case how can I see if im getting the ads? So then I tried CoronaAds and i added all the necessary code and it said that the module plugin.coronaAds cannot be found. Am i supposed to download something for coronaAds to work? Please help! Also, Rob Miracle my build.settings file works now I know i asked a question yesterday about the order of it the settings but it works now. Now this new problem arised. Please help, thank you! 

**Update**** regarding the coronaAds error a messagebox also pops up and says that coronaAds is not supported in this version of the simulator. I have a picture of the error that pops up.

You need to update to a newer version. If you plan to deploy to Apple’s iOS you must use 2949 or later. 2949 is the current public build also.

Also I think CoronaAds now also needs a second support plugin in addition to plugin.google.play.services. See the plugin documentation to get that info.

Rob

What about the admob issue?

Many plugins including all advertising plugins do not work in the simulator. There is a technical reason for this. The ad providers are making SDK’s for mobile devices. The simulator is a Windows .exe app on Windows and an macOS app on a Mac. The SDK’s simply don’t exist. You have to test your advertising tests on an actual device.

Rob

Yea, so i am getting error that says, " WARNING: The ‘plugin.coronaads’ library is not available on this platform." I downloaded the new version of Corona as well. So does this mean that coronaAds will not work on the simulator and I will have to build for actual device to see if the ads work or not for the coronaAds plugin, and the same applies for admob as well?

Yes, this applies to CoronaAds, AdMob and any other ad provider. On the simulator all of the ad api calls will return that warning. You must test on devices to see the aids.

Rob

Thank you!

You need to update to a newer version. If you plan to deploy to Apple’s iOS you must use 2949 or later. 2949 is the current public build also.

Also I think CoronaAds now also needs a second support plugin in addition to plugin.google.play.services. See the plugin documentation to get that info.

Rob

What about the admob issue?

Many plugins including all advertising plugins do not work in the simulator. There is a technical reason for this. The ad providers are making SDK’s for mobile devices. The simulator is a Windows .exe app on Windows and an macOS app on a Mac. The SDK’s simply don’t exist. You have to test your advertising tests on an actual device.

Rob

Yea, so i am getting error that says, " WARNING: The ‘plugin.coronaads’ library is not available on this platform." I downloaded the new version of Corona as well. So does this mean that coronaAds will not work on the simulator and I will have to build for actual device to see if the ads work or not for the coronaAds plugin, and the same applies for admob as well?

Yes, this applies to CoronaAds, AdMob and any other ad provider. On the simulator all of the ad api calls will return that warning. You must test on devices to see the aids.

Rob

Thank you!