Skip to content

AdMob Banner

Category Requires Version
Monetization > Advertising API 19, Android 4.4 - 4.4.4 KitKat 3

Overview

A visible component that shows AdMob ads as static banners.

Permissions

Commission

Type: Fixed Rate Value: 7%

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 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 Banner ad.

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

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/6300978111 ➖ Write - Designer

Set Ad Unit ID

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.

Personalized Result

Boolean ➖ Read - Blocks

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

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.

Visible

Boolean Default: True ➖ Read Write - Designer Blocks

Returns true iff the component is visible.


Last update: July 15, 2021