Offerwall

The Offerwall is a full-screen visual that appears inside your application.

1. Enable offerwall

Before using the offerwall, it must be enabled in the Tapdaq settings panel, like so: Offerwall - Enable

2. Load the offerwall

Before displaying an offerwall, call loadOfferwall, this should be done after TapdaqConfigLoaded has been called, however offerwalls may still be available later than that.

AdManager.LoadOfferwall ();

3. Display the offerwall

Once the offerwall has loaded, check its ready and call show, like so:

if(AdManager.IsOfferwallReady()) {
    AdManager.ShowOfferwall ();
}

4. Load another offerwall on close

If you wish to load another interstitial after you have shown one, implement one of the following options:

A. Auto Reload all Ads

To auto reload all ads using the same placment tag set the Auto Reload option in Tapdaq Settings, like so: Interstitial - Auto Reload

B. Implement Delegate Event

Add a delegate event for OnAdClosed, then call load within the delegate method like so:

// Subscribe to Tapdaq events
private void OnEnable () {
	TDCallbacks.AdClosed += OnAdClosed;
}

// Unsubscribe from Tapdaq events
private void OnDisable () {
	TDCallbacks.AdClosed -= OnAdClosed;
}

private void OnAdClosed(TDAdEvent e) {
	if (e.IsOfferwallEvent ()) {
		AdManager.LoadOfferwall ();
	}
}

5. Reward the user

Offerwalls may provide users with rewards, this callbacks will be directed for the CustomEvent method.

// Subscribe to Tapdaq events
private void OnEnable () {
  TDCallbacks.CustomEvent += CustomEvent;
}

// Unsubscribe from Tapdaq events
private void OnDisable () {
  TDCallbacks.CustomEvent -= CustomEvent;
}

private void CustomEvent(Dictionary<string, object> e) {

}

Need help?

If you are having any problems integrating, feel free to contact us on [email protected] and we will be more than happy to help.

What's next?

Now that you have successfully integrated an offerwall into your app, what would you like to do next?