Examples

All our examples can be downloaded here

Remember to register your placement tags, for more information, please visit the interstitials docs.

Mediation

Demonstrates how to initialise, load, show, reward users and use callbacks with all mediation networks included. Add your own Tapdaq AppID & Client Key to test your dashboard credentials have in set up correctly.

See further details on integrating:

Notes

  • Requires Unity 2017.1 or higher
  • Android must run with Gradle rather than internal build system as it requires multidex

More Apps

Demonstrates how to display our More Apps screen which cross promotes apps from the Tapdaq dashboard.

See further details on integrating More Apps

Notes

  • Requires Unity 5.4.0 or higher.

Native Ads

Demonstrates how to load and display Tapdaqs native ads to display promotions from the Tapdaq dashboard.

See further details on integrating Native Ads

Notes

  • Requires Unity 5.4.0 or higher.

Interstitial on bootup

Demonstrates how to display an interstitial when lauching an app.

Notes

  • Requires Unity 5.4.0 or higher.

The following code will display an interstitial on bootup for the "main_menu" placement tag:

private void Start() {
	AdManager.Init();
}

private void OnEnable() {
	TDCallbacks.AdAvailable += OnAdAvailable;
	TDCallbacks.TapdaqConfigLoaded += OnTapdaqConfigLoaded;
}

private void OnDisable() {
	TDCallbacks.AdAvailable -= OnAdAvailable;
	TDCallbacks.TapdaqConfigLoaded -= OnTapdaqConfigLoaded;
}

private void OnTapdaqConfigLoaded(string message) {
	AdManager.LoadInterstitialWithTag("main_menu");
}

private void OnAdAvailable(TDAdEvent e) {
	if (e.adType == "INTERSTITIAL" && e.tag == "main_menu") {
		AdManager.ShowInterstitial("main_menu");
	}
}

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.