# OnUserEarnedIncentive

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

Notifies that placement has earned incentive (by rewarded ads).

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

```csharp
OnUserEarnedIncentive(incentiveData)
```

incentiveData **(REQUIRED)**

_AATKitIncentiveData_ Object containing event's details. It contains below fields:

* string PlacementName - Unique name of placement. The same name will be used in gravite.net account.
* Reward Reward - Object containing information about reward. Might be null.
  * string Name - name of the reward.
  * string Value - value of the reward.

**returns&#x20;**_**void**_

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

```csharp
AATKitBinding.OnUserEarnedIncentiveDelegate += OnUserEarnedIncentive;

public void OnUserEarnedIncentive(AATKitIncentiveData incentiveData) {
    Debug.Log("onUserEarnedIncentive event: " + incentiveData.ToString());
}
```

\
