RewardVideoCollect

A rewarded video’s reward was collected

Name
Type
Select
Backend name
Description

placement

string

Required

placement

The placement of the ad

reward

object

Required

reward

If rewards are given to the player at the time of the event, the reward object is used to track the items (e.g., boosters, coins, gems, etc) or currencies gifted or earned by the player to the player.

level

int

Optional

level_num

The level number when the event occurred

additionalData

Dictionary<string, object>

Optional

additional_data

Any additional information

Code examples:

Product product = new Product();
List<VirtualCurrency> virtualCurrencies = new List<VirtualCurrency>
{ new VirtualCurrency("coins", "gold", 100) };
product.virtualCurrencies = virtualCurrencies;
Reward reward = new Reward(product);
LionAnalytics.RewardVideoCollect("WinScreen", reward, 25, additionalData);

Last updated