Phaser API Documentation

  Version: 
showAd(placementID)

Description:

Displays a previously loaded interstitial ad.

If the ad is successfully displayed this plugin will emit the adfinished event, with the AdInstance object as its parameter.

If the ad cannot be displayed, it will emit the adsnotloaded event.

Parameters:

name type description
placementID string

The ad placement ID to display.

Returns:
Description:

This Facebook Instant Games Plugin instance.

Since: 3.13.0