> 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/settargetinginfoforplacement.md).

# setTargetingInfoForPlacement

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

Sets the targeting information for the given placement. Information provided for placement overrides targeting information for application set by the [setTargetingInfo](/aatkit-cordova-integration/other/reference/functions/settargetinginfo.md).

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

```javascript
setTargetingInfoForPlacement(placementName, enabled)
```

placementName **(REQUIRED)**

*string* Unique name of placement. The same name will be used in gravite.net account.

enabled **(REQUIRED)**

*JSON* The JSON object containing targeting information.

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

```javascript
AATKitCordova.setTargetingInfoForPlacement(
    "placementName",
    {
        "one" : ["a","b"], 
        "three" : ["c","d","e"]
    }
);
```

<br>
