Icon

Vungle - Android

GM++

You must be logged in to obtain assets

Description

Display Vungle adverts in your android app and detect when the user has completed viewing and if they have clicked through to the advertiser's website. This can be used to create free-to-play games that reward the user with in-game currency, unlock levels and more.

Includes two functions:

if (vungle_ready())
    vungle_play();

To detect how the user responded to the advert (asynchronously):

if (async_load[? "view_completed"]) {
    //user watched whole advert
    if (async_load[? "advert_clicked"]) {
        // user clicked on the advert
    } else {
        // user just closed advert
    }
} else {
    // user did not complete advert
}

See the included demonstration for more details. Make sure you change the VUNGLE_APP_ID constant under the extension to your own App ID in the Vungle dashboard. The init function is called automatically, do not attempt to call it yourself.

Android Only (includes Amazon)

Need an Android extension or SDK Implementation?

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 1.0.0. Published April 27, 2017

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait