BlocosIA Wiki Editor

Ads (Start.io)

Show Start.io ads in your game exported to an app (Kodular, App Inventor or Android). In the editor, ads are simulated.

Start.io has no SDK for web pages: the APP that opens your project in a WebView shows the ad. Export as HTML, put it in an app with the Start.io extension/SDK and, in the WebViewStringChange event, read the request (JSON) and show the ad. To notify the project, use WebViewer.RunJavaScript("blocosiaAnuncio('recompensa')"). See the step by step in the Wiki.

To use it: in the editor, click "Extensions" (bottom corner) and add "Ads (Start.io)".

Stack

show [full-screen (interstitial)] ad

Asks the app to show a Start.io ad (full screen, rewarded, splash or exit). In the editor a simulation appears.

Stack

show [full-screen (interstitial)] ad and wait until closed

Shows the ad and waits until it is closed before continuing (good before giving the reward).

Stack

load [full-screen (interstitial)] ad

Asks the app to load the ad ahead of time, so it shows faster.

Stack

[show] the banner [embaixo]

Shows or hides the app banner, at the top or bottom.

Hat

when the ad [is closed]

Starts when the app reports an ad event: closed, reward, failed, shown, loaded or ready.

Reporter

rewards received

How many rewards the player has earned watching videos.

Reporter

last ad event

The last event the app reported (e.g. closed, reward).

Boolean

running in an app with ads?

True if the project is running inside an app that can show ads.

Stack

wait at least ( ) seconds between full-screen ads

Avoids too many ads: minimum time between full-screen ads (default 30 s).

Stack

test ads: [yes]

Asks the app for test ads (use while developing).

Stack

user accepted personalized ads: [yes]

Tells the app whether the user accepted personalized ads (GDPR/LGPD).

Stack

simulate ads outside the app: [yes]

Turns ad simulation outside the app on or off (it is on in the editor).