You've already forked Commercialization.topon
release: 1.4.2
This commit is contained in:
@@ -103,6 +103,19 @@ public class ToponAdController : IAdController
|
||||
return;
|
||||
}
|
||||
|
||||
if (options.InitCustomMap != null && options.InitCustomMap.Count > 0)
|
||||
{
|
||||
ATSDKAPI.initCustomMap(options.InitCustomMap);
|
||||
}
|
||||
|
||||
var rewardedPlacementId = _adConfig?.BaseAwardAdKeyValue?.value;
|
||||
if (!string.IsNullOrWhiteSpace(rewardedPlacementId) &&
|
||||
options.RewardedCustomData != null &&
|
||||
options.RewardedCustomData.Count > 0)
|
||||
{
|
||||
ATSDKAPI.setCustomDataForPlacementID(options.RewardedCustomData, rewardedPlacementId);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(options.Channel))
|
||||
{
|
||||
ATSDKAPI.setChannel(options.Channel);
|
||||
|
||||
Reference in New Issue
Block a user