> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-unity-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-unity-integration/other/reference/aatkitbinding/delegates/onuserearnedincentive.md).

# 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());
}
```

\\
