Skip to content

AdMob Interstitial

Non-Visible component
Category Requires Version
Monetization > Advertising API 19, Android 4.4 - 4.4.4 KitKat 4

Overview

An interstitial ad is a full-page ad. AdMobInterstitial component allows you to monetize your app. You must have a valid AdMob account and AdUnitId that can be obtained from http://www.google.com/AdMob . If your id is invalid, the AdMobInterstitial will not display on the emulator or the device. Warning: Make sure you're in test mode during development to avoid being disabled for clicking your own ads.

Permissions

Commission

Type: Fixed Rate Value: 10%

Events

Ad Closed

Called when an ad was closed.

Ad Failed To Load

Called when an ad request failed to load. The message will display the error code and error message.

Params
error Code Number
error Message Text

Ad Failed To Show

Called when an an attempt was made to display the ad, but the ad was not ready to display.

Params
message Text

Ad Left Application

Called when an ad leaves the application (e.g., to go to the browser).

Ad Loaded

Called when an ad request was loaded.

Ad Opened

Called when an ad was opened.

Event triggered when the consent was changed.

Params
personalized Boolean

Methods

Load Ad

Load a new AdMob Interstitial ad.

Deletes the user's consent. Useful if you want to test the consent dialog in development.

Show Interstitial Ad

It will show the Interstitial Ad

Properties

Ad Enabled

Boolean Default: True ➖ Read Write - Designer Blocks

This property must be set to true to receive ads.

Ad Unit ID

Text Default: ca-app-pub-3940256099942544/1033173712 ➖ Write - Designer

Boolean Default: False ➖ Read Write - Designer Blocks

If enabled you will see the consent dialog no matter if you are located in Europe or not. Please use this option only in development. If this setting is enabled ALL taken consents will not be saved.

Text Default: Can we continue to use your data to tailor ads for you? ➖ Read Write - Designer Blocks

The message for the consent dialog.

Text Default: Data Protection ➖ Read Write - Designer Blocks

The title for the consent dialog.

Interstitial Commission

⚠ Deprecated

Text Default: unity ➖ Write - Designer Blocks

Sets the ad network used to take the commission.

Personalized Result

Boolean ➖ Read - Blocks

Returns the current personalized consent. If true user has consent to personalized ads.

Target Age

Number Default: 0 ➖ Read Write - Designer Blocks

Leave 0 for targeting ALL ages

Target For Children

Boolean Default: False ➖ Read Write - Designer Blocks

Indicate whether you want Google to treat your content as child-directed when you make an ad request. Info here: https://developers.google.com/mobile-ads-sdk/docs/admob/android/targeting#child-directed_setting

Target Gender

Text Default: ALL ➖ Write - Designer Blocks

Test Mode

Boolean Default: False ➖ Write - Designer

If you want to test the component then that this property to true. Then you will receive test ads.


Last update: July 15, 2021