Start.io Banner¶
| Category | Requires | Version |
|---|---|---|
| Monetization > Advertising | API 21, Android 5.0 Lollipop | 3 |
Overview¶
A visible component that shows Start.io ads as static banners.
Permissions
- com.google.android.gms.permission.AD_ID
- android.permission.INTERNET
- android.permission.ACCESS_NETWORK_STATE
- com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
- android.permission.ACCESS_WIFI_STATE
- android.permission.ACCESS_ADSERVICES_TOPICS
- android.permission.RECEIVE_BOOT_COMPLETED
Events¶
Ad Clicked¶
Indicates that the user has clicked on the banner ad.
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 |
On Failed To Receive Ad¶
Called when an ad request failed to load.
| Params | |
|---|---|
| error Message | Text |
On Impression¶
Called when an impression is recorded.
On Receive Ad¶
Called when an ad request succeeds.
Methods¶
Load Ad¶
Load a new Start.io Banner ad.
Properties¶
Enable Consent¶
Boolean Default: True Write - Designer Blocks
Enables the Start.io disclosure/consent box.
Set User Consent¶
Boolean Default: False Write - Designer Blocks
Explicitly sets user's consent.
Test Mode¶
Boolean Read Write - Designer Blocks
If enabled, test ads will be shown. This should be used during development to avoid generating false impressions. Always enabled when in companion.
Visible¶
Boolean Default: True Read Write - Designer Blocks
Specifies whether the component should be visible on the screen. Value is true if the component is showing and false if hidden.