> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-react-native-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-react-native-integration/other/reference/rnaatkit/functions/getinfeedbannercomponentscount.md).

# getInFeedBannerComponentsCount

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

Gets the amount of in-feed banner components attached to the UI.

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

```
getInFeedBannerComponentsCount(placementName, callback)
```

placementName **(REQUIRED)**

*string.* Name of the in-feed banner placement.

callbac&#x6B;**(REQUIRED)**

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

Parameters:

* **Int**- the amount of in-feed banner components attached to the UI.

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

```
RNAatkit.getInFeedBannerComponentsCount("InFeed", (count) => {
                console.log("amount of in-feed banners " + count);
            });
```
