# isNetworkEnabled

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Returns true if ad network is enabled, false otherwise.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```javascript
isNetworkEnabled(network, callback)
```

network **(REQUIRED)**

*int* Ad network, click [here](https://aatkit.gitbook.io/aatkit-cordova-integration/other/reference/other/networks-list) to find supported values.

callback **(REQUIRED)**

*Callback\<Boolean>* Used to provide the function call result to JavaScript.

Parameters:

* Boolean - True if ad network is enabled, false otherwise.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```javascript
AATKitCordova.isNetworkEnabled("ADMOB", (networkEnabled) => {
                console.log("networkEnabled" + networkEnabled);
            });
```
