Disabling Ad Networks

Disable ad networks at runtime

circle-info

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 AdNetworkarrow-up-right 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 AdNetworkarrow-up-right to enable:

AATKit.setNetworkEnabled(<AdNetwork>, true);

Last updated