/
1.0.0 - Banner
1.0.0 - Banner
Prerequisites
Wrapper
For creating a wrapper, you can follow this small guide: Creating a Wrapper.
Show the Ad
In the example we are using a Test Id.
If you are not testing the app, change it for the proper ID that you got from us.
# MainActivity.kt
val wrapper = <Get Your wrapper>
val bannerConfigId = ConfigBuilder.BANNER_TEST_R89_CONFIG_ID
RefineryAdFactory.createBanner(bannerConfigId, wrapper)
Lifecycle Events
You can subscribe to these events with the same method but passing a new object as a parameter. Details about this object can be found in the Reference.
# MainActivity.kt
val wrapper = <Get Your wrapper>
val bannerConfigId = ConfigBuilder.BANNER_TEST_R89_CONFIG_ID
val bannerLifecycleListener = <create the listener with a method or inplace>
RefineryAdFactory.createBanner(bannerConfigId, wrapper, bannerLifecycleListener)
, multiple selections available,
Related content
Banner
Banner
More like this
1.0.0 - Outstream
1.0.0 - Outstream
More like this
1.0.0 - iOS SDK - Banner
1.0.0 - iOS SDK - Banner
More like this
1.0.0 - SDK - Manual Initialization
1.0.0 - SDK - Manual Initialization
More like this
Interstitial
Interstitial
More like this