14 [Tooltip(
"Enables the callback for when an ad generates revenue. The option is available only for Google AdMob.")]
17 [Tooltip(
"Enables the callback for when an ad impression is recorded.")]
20 [Tooltip(
"Enables the callback for when an ad successfully loads.")]
23 [Tooltip(
"Enables the callback for when an ad fails to load, with an error parameter.")]
26 [Tooltip(
"Enables the callback for when an ad is clicked.")]
29 [Tooltip(
"Enables the callback for when an ad is shown.")]
32 [Tooltip(
"Enables the callback for when an ad is closed by the user.")]
35 [Tooltip(
"Enables the callback for when an ad fails to present content, with an error parameter.")]
38 [Tooltip(
"Enables the callback for when a reward is earned from interacting with an ad.")]
88#if LEVELPLAY_MOBILE_ADS
93#elif GOOGLE_MOBILE_ADS
98#elif YANDEX_MOBILE_ADS
150#if LEVELPLAY_MOBILE_ADS
155#elif GOOGLE_MOBILE_ADS
160#elif YANDEX_MOBILE_ADS
179#if LEVELPLAY_MOBILE_ADS
184#elif GOOGLE_MOBILE_ADS
189#elif YANDEX_MOBILE_ADS
Represents a backend-agnostic description of an ad reward.
bool AdImpressionRecorded
Enables the callback for when an ad impression is recorded.
bool AdClosed
Enables the callback for when an ad is closed by the user.
bool AdPaid
Enables the callback for when an ad generates revenue. The option is available only for Google AdMob.
bool AdShown
Enables the callback for when an ad is shown.
bool AdReward
Enables the callback for when a reward is earned from interacting with an ad.
bool AdLoadFailed
Enables the callback for when an ad fails to load, with an error parameter.
bool AdClicked
Enables the callback for when an ad is clicked.
bool AdLoaded
Enables the callback for when an ad successfully loads.
bool AdContentFailed
Enables the callback for when an ad fails to present content.
Defines options for enabling message callbacks related to ad events. These options allow you to subsc...
void AdClicked()
Handles the ad click.
Defines the callback invoked when an ad is clicked.
void AdClosed()
Handles the closed ad.
Interface defining the method to be invoked when an ad is closed by the user.
void AdContentFailed(object error)
Handles a failure to present ad content.
Interface defining the method to be invoked when an ad fails to present content, with an error parame...
Defines the callback invoked when an ad impression is recorded.
void AdImpressionRecorded()
Handles the recorded ad impression.
void AdLoadFailed(object error)
Handles an ad load failure.
Interface defining the method to be invoked when an ad fails to load, with an error parameter.
void AdLoaded()
Handles the successfully loaded ad.
Defines the callback invoked when an ad loads.
void AdPaid(object adValue)
Handles revenue generated by an ad when the active provider supports paid events.
Interface defining the method to be invoked when an ad generates revenue.
void AdReward(AdRewardBase reward)
Handles a reward earned from a rewarded ad.
Interface defining the method to be invoked when a reward is earned from interacting with an ad.
void AdShown()
Handles the displayed ad.
Interface defining the method to be invoked when an ad is shown.