firebase::gma::PaidEventListener
#include <types.h>
Listener to be invoked when ads have been estimated to earn money.
Summary
Public functions
|
OnPaidEvent(const AdValue & value)
|
virtual void
Called when an ad is estimated to have earned money.
|
Public functions
OnPaidEvent
virtual void OnPaidEvent(
const AdValue & value
)
Called when an ad is estimated to have earned money.
~PaidEventListener
virtual ~PaidEventListener()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[[["`PaidEventListener` is triggered when ads are estimated to have generated revenue."],["It provides a callback function, `OnPaidEvent`, which receives an `AdValue` object containing information about the earned value."],["This listener helps developers track ad revenue in their applications by providing real-time updates on ad earnings."]]],["The core content defines `PaidEventListener`, a listener triggered when ads are estimated to generate revenue. The key action is the `OnPaidEvent` function, which is called when an ad earns money, receiving an `AdValue` object detailing the estimated earnings. Additionally, `~PaidEventListener` is its destructor. This provides a mechanism to react specifically when ads are deemed to have earned money within the system.\n"]]