iads.*

Type CoronaProvider
Library ads.*
Revision 2016.2824
Keywords ads, advertising, iads
Platforms iOS
Important

On January 15, 2016, Apple announced that the iAds network will be discontinued as of June 30, 2016. If you currently have iAds implemented in your projects, you should migrate to an alternative provider such as the Facebook Audience Network as soon as possible.

Overview

The iAds plugin offers easy integration of iAds using the ads library and ads.init().

Syntax

local ads = require( "ads" )

Functions

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.

settings =
{
    plugins =
    {
        ["CoronaProvider.ads.iads"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true, ["iphone-sim"]=true },
        },
    },      
}

Support