Disabling Ad Networks

Disable ad networks at runtime

Disabling ad networks at compile time using Maven will always override runtime settings (since the ad network’s SDK won’t be present physically).

Disable Ad Network

To disable ad networks at runtime, call the following method passing the AdNetwork to disable:

AATKit.setNetworkEnabled(<AdNetwork>, false);

Enable Ad Network

To enable an ad network that has been disabled earlier, call the following method passing the AdNetwork to enable:

AATKit.setNetworkEnabled(<AdNetwork>, true);

Last updated