StartApp Banner¶
Category | Requires | Version |
---|---|---|
Monetization > Advertising | API 21, Android 5.0 Lollipop | 2 |
Overview¶
A visible component that shows StartApp 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
Commission
Type: Fixed Rate
Value: 5%
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 Receive Ad¶
Called when an ad request succeeds.
OnImpression¶
Called when an impression is recorded.
Methods¶
Load Ad¶
Load a new StartApp Banner ad.
Properties¶
App ID¶
Text Write - Designer
Property for AppId
EnableConsent¶
Boolean Default: True Write - Designer Blocks
Enables the Start.io disclosure/consent box.
SetUserConsent¶
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.