# getAdInfo

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

After loading an ad, allows to access the loaded ad information by accessing the adInfo property of the fullscreen or rewarded video placement.

**Note:** To get ad info property of the native or in-feed ad, please listen to [onGetAdInfo](../events/ongetadinfo) event.

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

```javascript
getAdInfo(placementName, callback)
```

placementName **(REQUIRED)**

_string._ Unique name of placement. The same name will be used in addapptr.com account.

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

_Callback\<RNAatkitAdInfo>._ Used to provide the function call result to JavaScript.

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

```javascript
RNAatkit.getAdInfo("FullscreenAd", (adInfo) => {
    console.log("FullscreenAd AdInfo, price: " + adInfo.price + ", currencyCode: " + adInfo.currencyCode + ", precision: " + adInfo.precision);
});
```

