> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-cordova-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-cordova-integration/other/reference/functions/isnetworkenabled.md).

# 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](/aatkit-cordova-integration/other/reference/other/networks-list.md) 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);
            });
```
