All our examples can be downloaded here
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:
Demonstrates how to load and display native ads from mediated networks AdMob, AppLovin & Facebook Audience Network.
See further details on integrating Native
Demonstrates how to display an interstitial when lauching an app.
The following code will display an interstitial on bootup for the "default" placement tag:
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TapdaqConfig config = new TapdaqConfig();
Tapdaq.getInstance().initialize(this, "<APP_ID>", "<CLIENT_KEY>", config, new TMInitListener() {
@Override
public void didInitialise() {
super.didInitialise();
Tapdaq.getInstance().loadInterstitial(MainActivity.this, TapdaqPlacement.TDPTagDefault, new TMAdListener() {
@Override
public void didLoad() {
super.didLoad();
Tapdaq.getInstance().showInterstitial(MainActivity.this, TapdaqPlacement.TDPTagDefault, new TMAdListener());
}
});
}
});
}
}
If you are having any problems integrating, feel free to contact us on [email protected] and we will be more than happy to help.