Method signature

The method is meant to hide the banner block displayed with the FAPI.UI.showBannerAds method.

FAPI.invokeUIMethod("hideBannerAds")

Call example

function hideBannerAds() {
FAPI.invokeUIMethod("hideBannerAds")
}

Callback example

As a result of a call, a callback with a notification on an event that happened will be returned to the game. Possible callbacks are described below.

A callback for a case when the advertisement block was hidden

method: “hideBannerAds”

result: “ok”

data: “true”

A callback for a case when the advertisement block did not start displaying

method: “hideBannerAds”

result: “ok”

data: “false”