Unity Ads support is experimental but it should work on 0.0.2 and up.
Ads support has two limitations for now:
Initial Activity Check Bypassflag should be enabled (The editor script will do this automatically)
- You can only show an ad in activity, not wallpaper.
To enable it, you need to:
Go to the UniLWP Ad setting panel at
Project Settings/UniLWP/Droid/Ads Integration
Click ‘Activate’ button. This step will:
UNILWP_ADSto your Android platform define symbols to enable certain blocks of code bound by
#ifdefconditional compile flags
unilwp.behavior.activity.bypass.initialto true so that Unity Ads native library could acquire a proper context via
Click ‘Unity Ads Settings’ button to setup your ads and optionally add ads dependency.