Android ProGuard Configuration and Code Shrinking Standards | AdCel

Independent technical reference to AdCel mobile ad mediation SDK documentation. Not affiliated with the platform operator.

ProGuard / R8 configuration

Android publishers shrinking release builds with ProGuard or R8 must keep AdCel mediation classes that load adapters via reflection. A July 2022 archive of /docs/android/proguard titled the page Using Proguard and instructed developers to append keep rules to proguard-rules.pro.

Why it matters for ad SDKs:

  • Mediation adapters are often discovered dynamically by class name
  • Obfuscation can strip Listener interfaces used for fill callbacks (BannerListener, InterstitialListener, native ad listeners in the Android API reference)
  • Incorrect rules manifest as silent no-fill or crash-on-show in production while debug builds work

Historical AdCel Android reference also documented Gradle dependency lines alongside ProGuard — see the parent Android SDK guide for integration order (Gradle → manifest permissions → ProGuard → initialise SDK).

© 2025 AdCel. All rights reserved.