Rewarded Ads

Load

Rewarded Ads start loading automatically right after creation an instance:

string rewardedIdentifier = BidappBinding.Instance.CreateRewarded();

From creation function you will obtain an Rewarded Ad identifier that will be required to show and destroy ads, receive callbacks.

To check if Rewarded Ad is Ready to be displayed you may use next function:

BidappBinding.Instance.IsRewardedAdReady(rewardedIdentifier);

Show

To show an reward ad, call showRewarded instance function:

BidappBinding.Instance.ShowRewarded(rewardedIdentifier);

Destroy with resource release

Call the following function to destroy a rewarded:

BidappBinding.Instance.DestroyRewarded(rewardedIdentifier);

DestroyRewarded functions will also unregister all callback receiver instances, registered for the specified rewardedIdentifier

Callbacks / Delegates / Events

Register

To be able to register reward callbacks receiver you will need to inherit it from IBidappRewardedDelegate

Then you need to register receiver of the callbacks for rewarded instance identifier:

Observe

You can observe ad loading events in callbacks:

Events related to displaying rewarded ad can be observed in callbacks:

To be notified when user should be rewarded implement use callback:

Release

If you don't want to receive callbacks anymore you can unregister callback receiver instance:

Last updated

Was this helpful?