1. Android – Monetize ...
  2. Use Manual
  3. Anzeigenformate
  4. Outstream

Outstream

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 outstreamConfigId = ConfigBuilder.VIDEO_OUTSTREAM_TEST_R89_CONFIG_ID
          RefineryAdFactory.createVideoOutstreamBanner(outstreamConfigId, 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 outstreamConfigId = ConfigBuilder.BANNER_TEST_R89_CONFIG_ID
            val outstreamLifecycleListener = <create the listener with a method or inline>
            RefineryAdFactory.createVideoOutstreamBanner(outstreamConfigId, wrapper, outstreamLifecycleListener)

Wie können wir helfen?