I want to integrate ads into the app’s startApp then how? THANKS
-
Decide what at vendors you want to use that we support. See: https://docs.coronalabs.com/plugin/index.html and activate the plugin. It could take a few hours before you can use it.
-
Setup whatever you need to setup at the ad vendor’s web portal. You will get some unique ID from them. It may be called App ID, Vendor ID, etc.
-
In your build.settings, add the appropriate plugin block as documented for that plugin.
-
In your main.lua, required the ads module, initialize it. See the individual plugin documentation from the link above on how to initialize the ad system.
-
In code/scene where appropriate call ads.show() with the right parameters where you want ads to show up.
Rob
-
Decide what at vendors you want to use that we support. See: https://docs.coronalabs.com/plugin/index.html and activate the plugin. It could take a few hours before you can use it.
-
Setup whatever you need to setup at the ad vendor’s web portal. You will get some unique ID from them. It may be called App ID, Vendor ID, etc.
-
In your build.settings, add the appropriate plugin block as documented for that plugin.
-
In your main.lua, required the ads module, initialize it. See the individual plugin documentation from the link above on how to initialize the ad system.
-
In code/scene where appropriate call ads.show() with the right parameters where you want ads to show up.
Rob