applovin.*

Type Library
Revision Current Public Release (2017.3068)
Keywords ads, advertising, AppLovin
Platforms Android, iOS
Sample https://github.com/coronalabs/plugins-sample-applovin

Overview

The AppLovin plugin allows developers to monetize users through AppLovin static interstitial, video interstitial, and rewarded video ads.

Notes

Versions

The AppLovin plugin is offered in two varieties, aimed to accommodate different Corona developers and business models:

Monetization through the AppLovin Free plugin entails a revenue share with Corona Labs in the form of a fixed 5% flat rate, but the ad revenue you see in your AppLovin dashboard is all yours.

The AppLovin Paid plugin lets you keep 100% of your ad revenue and allows you to manage your account/settings with AppLovin directly. It is only available to users who have purchased the AppLovin Paid plugin.

Registration

To begin, please register with AppLovin. Once you have access to the AppLovin developer portal, you can view your apps, select ad preferences, and more.

Syntax

AppLovin Free
local applovin = require( "plugin.applovin" )
AppLovin Paid
local applovin = require( "plugin.applovin.paid" )

Functions

Events

Project Settings

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.

AppLovin Free
settings =
{
    plugins =
    {
        ["plugin.applovin"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}
AppLovin Paid
settings =
{
    plugins =
    {
        ["plugin.applovin.paid"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}
Note

For Android, the following permissions/features are automatically added when using this plugin:

  • "android.permission.INTERNET"
  • "android.permission.ACCESS_NETWORK_STATE"
  • "android.permission.WRITE_EXTERNAL_STORAGE"