Documentation Integration API Reference Android SDK Web SDK Publishers Advertisers Log in Get Started
Android SDK

Native rewards for Android apps.

Initialize the SDK with a site key, attach the publisher user id and open the rewarded surface from your app flow. Use S2S postbacks on your server for final credit, reject and chargeback handling.

OfferwallPlaytime SDKHMAC postbacks
Install

Add the SDK dependency.

Add the Android SDK to the app module and keep the version placeholder tied to your approved integration package.

build.gradle
// App module dependency
dependencies {
  implementation "com.adswedmedia:android-sdk:{version}"
}
Initialize

Set site and user context.

Initialize once, then set the user id before opening a rewarded surface.

MainActivity.kt
// Android SDK initialization
Adswed.init(context, "{site_key}")
Adswed.setUserId("{user_id}")
Rewarded surface

Open the offerwall.

Offerwall.kt
// Show rewarded offerwall
Adswed.showOfferwall(activity)
Playtime SDK

Start a Playtime session.

Playtime flows connect app engagement to milestone-style reward events and the same S2S postback contract.

Playtime.kt
// Start Playtime surface
Adswed.playtime.start(activity)
Server-side events

Complete rewards with S2S.

Do final reward settlement on your server by verifying credit, reject and chargeback postbacks.

Read S2S Postback guide