<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx" -->

---
title: Monetize your game with the new Google Mobile Ads C++...
description: Firebase's new Google Mobile Ads C++ SDK, released in June 2022, replaces the deprecated AdMob C++ SDK with a modernized API for adding banner, interstitial,...
canonical: https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Monetize your game with the new Google Mobile Ads C++ SDK from Firebase | daily.dev
og:description: Firebase's new Google Mobile Ads C++ SDK, released in June 2022, replaces the deprecated AdMob C++ SDK with a modernized API for adding banner, interstitial,...
og:url: https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx
og:image: https://api.daily.dev/og/posts/1hequnAxX.png
og:image:alt: Monetize your game with the new Google Mobile Ads C++ SDK from Firebase
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Monetize your game with the new Google Mobile Ads C++ SDK from Firebase

**[Firebase](https://daily.dev/sources/firebase-blog)** · 6 min read · 0 upvotes · 0 comments

## Summary

Firebase's new Google Mobile Ads C++ SDK, released in June 2022, replaces the deprecated AdMob C++ SDK with a modernized API for adding banner, interstitial, and rewarded video ads to C++ games and apps. It unifies iOS and Android behavior into a single API, handles main-thread threading complexity internally, and returns richer AdResult objects with detailed success/failure metrics and mediation adapter insights. Rewarded ads now support per-instance listeners instead of a single global listener, and a migration guide is provided for developers moving off the old SDK.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://firebase.blog/posts/2022/10/gma-sdk-introduction>

## Questions this post answers

### What replaced the deprecated Firebase AdMob C++ SDK?

The Google Mobile Ads C++ SDK, introduced by Firebase in June 2022, replaces the deprecated AdMob C++ SDK. It unifies iOS and Android ad behavior into a single API, handles main-thread threading internally, returns an AdResult object with detailed success and failure information, and supports per-instance listeners for rewarded ads instead of one global listener.

_Developers migrating off deprecated ad SDKs can track breaking changes like this one on daily.dev._

### How do I migrate from the deprecated Firebase AdMob C++ SDK to the new Google Mobile Ads C++ SDK?

A dedicated migration guide from Firebase walks through the transition, covering the shift from function-based rewarded ad APIs to class-based interstitial and rewarded ad implementations with automatic cleanup via destructors, along with the new shared content listener interface and updated AdResult-based error and success handling.

_Teams planning an SDK migration can follow ongoing coverage of C++ mobile ad tooling on daily.dev._

### How does the new Google Mobile Ads C++ SDK report why an ad request failed?

Ad loads return a Future containing an AdResult object; calling is_successful() indicates success or failure. On failure, the result includes an AdError with an error code, message, and domain, plus per-adapter failure details, helping diagnose network connectivity or mediation configuration issues; on success it reports load latency and which mediation adapter served the ad.

_Developers debugging ad mediation issues can follow SDK-specific fixes like this on daily.dev._

## Similar posts on daily.dev

- [The power of play: Unlocking growth with playables](https://daily.dev/posts/the-power-of-play-unlocking-growth-with-playables-rcl4lcnro) · Unity · 1 upvotes · 0 comments
- [The Redesigned Offerwall Monetization Dashboard: What’s New and Next](https://daily.dev/posts/the-redesigned-offerwall-monetization-dashboard-what-s-new-and-next-ax4tinjzc) · Unity · 0 upvotes · 0 comments

---

Tags: [#game-development](https://daily.dev/tags/game-development), [#c++](https://daily.dev/tags/c++), [#firebase](https://daily.dev/tags/firebase)

[View this post on daily.dev](https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Monetize your game with the new Google Mobile Ads C++ SDK from Firebase","url":"https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx"},"datePublished":"2026-08-23T12:21:12.683Z","dateModified":"2026-08-23T12:37:01.154Z","description":"Firebase's new Google Mobile Ads C++ SDK, released in June 2022, replaces the deprecated AdMob C++ SDK with a modernized API for adding banner, interstitial,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Firebase","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Firebase","logo":"https://media.daily.dev/image/upload/s--i395oqZH--/f_auto,q_auto/v1787487448/logos/firebase-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/firebase-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development,c++,firebase","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Firebase","item":"https://daily.dev/sources/firebase-blog"},{"@type":"ListItem","position":3,"name":"Monetize your game with the new Google Mobile Ads C++ SDK from Firebase"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/monetize-your-game-with-the-new-google-mobile-ads-c-sdk-from-firebase-1hequnaxx#faq","mainEntity":[{"@type":"Question","name":"What replaced the deprecated Firebase AdMob C++ SDK?","acceptedAnswer":{"@type":"Answer","text":"The Google Mobile Ads C++ SDK, introduced by Firebase in June 2022, replaces the deprecated AdMob C++ SDK. It unifies iOS and Android ad behavior into a single API, handles main-thread threading internally, returns an AdResult object with detailed success and failure information, and supports per-instance listeners for rewarded ads instead of one global listener. Developers migrating off deprecated ad SDKs can track breaking changes like this one on daily.dev."}},{"@type":"Question","name":"How do I migrate from the deprecated Firebase AdMob C++ SDK to the new Google Mobile Ads C++ SDK?","acceptedAnswer":{"@type":"Answer","text":"A dedicated migration guide from Firebase walks through the transition, covering the shift from function-based rewarded ad APIs to class-based interstitial and rewarded ad implementations with automatic cleanup via destructors, along with the new shared content listener interface and updated AdResult-based error and success handling. Teams planning an SDK migration can follow ongoing coverage of C++ mobile ad tooling on daily.dev."}},{"@type":"Question","name":"How does the new Google Mobile Ads C++ SDK report why an ad request failed?","acceptedAnswer":{"@type":"Answer","text":"Ad loads return a Future containing an AdResult object; calling is_successful() indicates success or failure. On failure, the result includes an AdError with an error code, message, and domain, plus per-adapter failure details, helping diagnose network connectivity or mediation configuration issues; on success it reports load latency and which mediation adapter served the ad. Developers debugging ad mediation issues can follow SDK-specific fixes like this on daily.dev."}}]}
```

