Disable ad networks at runtime
Last updated 5 months ago
Disabling ad networks at compile time using will always override runtime settings (since the ad network’s SDK won’t be present physically).
To disable ad networks at runtime, call the following method passing the to disable:
AATKit.setNetworkEnabled(<AdNetwork>, false);
To enable an ad network that has been disabled earlier, call the following method passing the to enable:
AATKit.setNetworkEnabled(<AdNetwork>, true);
AATKit.setNetworkEnabled(<AdNetwork>, true)