Skip to main content
SDK · Android 8+ (API 26)

Android AI ads SDK.

Native Kotlin SDK for monetizing Android AI apps. Jetpack Compose and classic View support, coroutines-first, Play Store policy compliant.

Get SDK accessRead the full docsEstimate revenue

Install

// Gradle
implementation("com.surfacedd:surfacedd:1.0.0")

Import

import com.surfacedd.Surfacedd

Initialize

Surfacedd.configure(context, appId = "app_xxx")

Fetch a sponsored answer

val ad = Surfacedd.fetchSponsoredAnswer(context = AdContext(query = userMessage))

Features

  • Gradle / Maven Central distribution
  • Jetpack Compose SponsoredAnswer composable + classic View
  • Kotlin Coroutines and Flow APIs
  • Play Store User Data and Families policy compliant
  • Android 8+ (API 26), 100% Kotlin

Install in three steps

  1. Add to Gradle. Add implementation("com.surfacedd:surfacedd:1.0.0") to your app-level build.gradle dependencies block. Sync Gradle.
  2. Configure in Application. In your Application.onCreate(), call Surfacedd.configure(this, appId = "app_xxx"). Done once, at startup.
  3. Render in Compose or View. Use SponsoredAnswer() composable inside your chat LazyColumn or bind SponsoredAnswerView to a message RecyclerView row.

Frequently asked questions

Which Android API levels are supported?

API 26 (Android 8) and above. The SDK is 100% Kotlin, uses coroutines internally, and ships as an Android Archive (AAR) via Maven Central.

What's the APK size impact?

The SDK adds approximately 95 KB to your APK after ProGuard/R8. Transitive dependencies are minimal: OkHttp (usually already present) and kotlinx-serialization.

How does it handle Data Safety on Play Console?

We publish a Data Safety declaration at /docs that you can reference verbatim. The SDK collects: user-provided query context, anonymized ad interaction events, and your app ID. No personal identifiers, no device fingerprints.

Related SDKs

Ready to ship ads in your Android app?

Join the waitlist for SDK access. 60% revenue share, no minimums, no contracts.

Join the SDK waitlist →See pricing