# A New Advertising API, Built From The Ground Up

DevFeed: [A New Advertising API, Built From The Ground Up](<https://devfeed.tech/articles/a-new-advertising-api-built-from-the-ground-up-19374.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/modern-advertising-api/>)

Author: Shai Almog

Published: 2026-06-08T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [AdMob](<https://devfeed.tech/topics/admob.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [admob](<https://devfeed.tech/tags/admob.md>), [advertising](<https://devfeed.tech/tags/advertising.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [gdpr](<https://devfeed.tech/tags/gdpr.md>), [ios](<https://devfeed.tech/tags/ios.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

## AI overview

Codename One replaces its outdated advertising mechanisms with a pluggable, format-complete advertising subsystem in the core. The new API supports modern ad formats, consent handling, event-driven callbacks, provider discovery, and a modern AdMob reference provider.

## Source excerpt

A single pluggable advertising subsystem in the core replaces a stack of dead-end legacy mechanisms, covering every modern ad format with a working AdMob reference provider.