Share your feedback and help shape the Google Mobile Ads SDK roadmap. Take the Google Mobile Ads SDK Annual Survey for 2023 before it closes on May 5th, 2023.

firebase::gma::AdListener

#include <types.h>

A listener for receiving notifications during the lifecycle of a BannerAd.

Summary

Constructors and Destructors

~AdListener()

Public functions

OnAdClicked()
virtual void
Called when a click is recorded for an ad.
OnAdClosed()
virtual void
Called when the user is about to return to the application after clicking on an ad.
OnAdImpression()
virtual void
Called when an impression is recorded for an ad.
OnAdOpened()
virtual void
Called when an ad opens an overlay that covers the screen.

Public functions

OnAdClicked

virtual void OnAdClicked()

Called when a click is recorded for an ad.

OnAdClosed

virtual void OnAdClosed()

Called when the user is about to return to the application after clicking on an ad.

OnAdImpression

virtual void OnAdImpression()

Called when an impression is recorded for an ad.

OnAdOpened

virtual void OnAdOpened()

Called when an ad opens an overlay that covers the screen.

~AdListener

virtual  ~AdListener()