Skip to content

About

Description: Banner and carousel ads for Android apps, in Kotlin, from Maven Central: implementation("com.adpluga:adpluga"). Mirror of the adPluga monorepo.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AdPluga Android SDK

Native Android SDK for ad serving with pluggable server-side mediation. Talks to the AdPluga edge (/v1/serve + /v1/track) and renders banner, native, interstitial, rewarded, HTML5, and video formats.

  • Coordinates: com.adpluga:adpluga on Maven Central
  • minSdk: 24 (Android 7.0) · JVM: 17
  • Zero Google Play Services dependency
  • License: Apache-2.0 — see LICENSE

Why AdPluga

  • 100,000 ad decisions free every month. No card, no expiry.
  • No traffic minimum. When there is no demand, a house ad fills the slot so it never renders empty.
  • Test mode first. A pk_test_ key serves ads with no billing and no quota use; switch to pk_live_ when you are ready.
  • One integration, every demand source. Direct deals, network demand and mediation behind the same slot.

Create a free account at https://adpluga.com/en/ and get your keys in the dashboard.

Install

dependencies {
    implementation("com.adpluga:adpluga:0.7.4")
}
dependencies {
    implementation 'com.adpluga:adpluga:0.7.4'
}

Quick start

// Application.onCreate()
AdPluga.initialize(publisherKey = "pk_test_...")
<!-- Layout -->
<com.adpluga.ui.AdView
    android:id="@+id/ad_view"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />
// Activity or Fragment
findViewById<AdView>(R.id.ad_view).load(
    slotId = "your-slot-id",
    listener = object : AdListener {
        override fun onImpression() {}
        override fun onClick() {}
        override fun onError(error: Throwable) {}
    },
)

Imports: com.adpluga.AdPluga, com.adpluga.AdListener, com.adpluga.ui.AdView. Min SDK 24; the INTERNET permission comes with the library.

Integration guides and API reference: https://adpluga.com/en/devs/sdks/ · quick start in two minutes: https://adpluga.com/en/devs/quickstart/.

Support

This repository is a read-only mirror of the internal monorepo. Pull requests are accepted for discussion but changes are integrated upstream.

About

Description: Banner and carousel ads for Android apps, in Kotlin, from Maven Central: implementation("com.adpluga:adpluga"). Mirror of the adPluga monorepo.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages