# addAdNetworkForKeywordTargeting

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

Adds an ad network to the list of ad networks that receive targeting keywords (if any set). If no ad networks are added, any set keywords will be delivered to all ad networks supporting keyword targeting. **Note:** This function doesn't affect in-feed banner ads. For in-feed banner placement, please use [addAdNetworkForKeywordTargetingForInFeedBannerPlacement](addadnetworkforkeywordtargetingforinfeedbannerplacement-1) function.

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

```javascript
addAdNetworkForKeywordTargeting(network)
```

network **(REQUIRED)**

_int._ Chosen ad network. See network constants [here](../../other/ad-networks).

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

```javascript
RNAatkit.addAdNetworkForKeywordTargeting(RNAatkit.AdNetwork_MILLENNIAL);
```
