Integrating AdMob ad network into a mobile application

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Integrating AdMob ad network into a mobile application
Medium
from 1 business day to 3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

AdMob Network Integration in Mobile Application

AdMob is not just "add a banner." Incorrect integration leads to two consequences: low eCPM due to misconfigured targeting, and rejection in Google Play/App Store due to ad placement policy violations. Both are consequences of inattentive documentation reading.

Initialization and GDPR

Since 2023, AdMob requires integration of User Messaging Platform (UMP) for GDPR/CCPA compliance. Without requesting consent, ads in the EU are shown without personalization (non-personalized) — eCPM drops 3–5 times.

// Android
val params = ConsentRequestParameters.Builder()
    .setTagForUnderAgeOfConsent(false)
    .build()

ConsentInformation.getInstance(context).requestConsentInfoUpdate(
    activity, params,
    {
        if (ConsentInformation.getInstance(context).isConsentFormAvailable) {
            UserMessagingPlatform.loadAndShowConsentFormIfRequired(activity) { error ->
                // After displaying the form — initialize AdMob
                MobileAds.initialize(context)
            }
        } else {
            MobileAds.initialize(context)
        }
    },
    { error -> /* error handling */ }
)

MobileAds.initialize must be called strictly after obtaining consent status, but only once during the app lifecycle. Calling before consent-flow → ads are shown without correct targeting.

Formats and Their Placement

Banners (AdaptiveBanner) — do not use fixed sizes BANNER (320x50). AdaptiveBanner adapts to screen width and provides eCPM 10–20% higher due to better fill:

val adSize = AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(
    context, adContainerWidth
)

Google policy: banner must not overlap content and be fixed at the top or bottom of the screen. Floating banners, banners over buttons — causes ban.

Interstitial — show only in natural pauses: between levels, after task completion. Limit: no more than once per 60 seconds. Preload through InterstitialAd.load(), show when ready — interstitialAd.show(). Showing on button tap — violates policy, App Review catches it.

Rewarded — highest eCPM. User intentionally watches ads for reward (life in game, coins). Mandatory: award only in onUserEarnedReward, not in onAdDismissed.

rewardedAd.fullScreenContentCallback = object : FullScreenContentCallback() {
    override fun onAdDismissedFullScreenContent() {
        // Do NOT award here — user could have closed the ad early
    }
}
rewardedAd.show(activity) { rewardItem ->
    // Award only here
    addReward(rewardItem.amount)
}

Mediation to Increase Fill Rate

Clean AdMob often does not provide 100% fill rate in some regions. Google Ad Manager with mediation allows connecting multiple networks (Meta Audience Network, Unity Ads, AppLovin) — AdMob selects the network with the highest eCPM for each impression.

Mediation setup — in AdMob Console, adapter integration for each network via Gradle/CocoaPods.

Timelines — 1–3 days depending on formats: basic integration with UMP and one format — 1 day; full mediation stack with multiple networks — 3 days.