Type Library Revision Release 2022.3683 Keywords ads, advertising, Vungle Platforms Android, iOS
The Vungle plugin offers easy integration of Vungle video ads.
This documentation is for the new Vungle Plugin(v6), click to view the Vungle legacy plugin
Notable changes from old plugin includes all event.type name being changed and moved to event.phase. Also these events have been removed: event.isAdPlayable
, event.didDownload
, event.completedView
and vungle.init() has been simplified
Using Vungle video ads requires a free account — please register before proceeding.
To use this plugin, add an entry into the plugins
table of build.settings
. When added, the build server will integrate the plugin during the build phase.
settings = { plugins = { ["plugin.vungle.v6"] = { publisherId = "com.solar2d" }, }, iphone = { plist = { NSUserTrackingUsageDescription = "This would allow the app to advertise better.", SKAdNetworkItems = { { SKAdNetworkIdentifier = "gta9lk7p23.skadnetwork" }, }, }, }, }
For Android, the following permissions/features are automatically added when using this plugin:
"android.permission.INTERNET"
"android.permission.ACCESS_NETWORK_STATE"