Rewarded/Interstitial Ads in Unity

Implementing rewarded and interstitial (both video and banner) is in the same way. Just select the type of ad from the panel.

Creating a Zone

first create rewarded-interstitial Zone from the Tapsell panel and use ZoneId when requesting Ad.

Requesting Ads

According to the following code, you can request Ad using the TapsellPlus.RequestRewardedVideoAd method

public void Request () {
  TapsellPlus.RequestRewardedVideoAd (ZONE_ID,

			tapsellPlusAdModel => {
				Debug.Log ("on response " + tapsellPlusAdModel.responseId);
				_responseId = tapsellPlusAdModel.responseId;
			},
			error => {
				Debug.Log ("Error " + error.message);
			}
		);
}

Use TapsellPlus.RequestInterstitialAd for the interstitial Ad instead.

If you want to request again in error Callback, Be sure to do this with the help of a variable as a Counter. Because with the help of that variable you can set a limit on the number of times for request. For example, when you disable this adZone from the panel and if you request again each time in error Callback , without limiting the number of times, Your program will fall into an infinite loop and its performance will get disrupted

Showing Ads

After receiving the responseId parameter from the previous step, the Ad is ready to be shown, and you can display it as the following

public void Show () {
  TapsellPlus.ShowRewardedVideoAd(_responseId,

			tapsellPlusAdModel => {
				Debug.Log ("onOpenAd " + tapsellPlusAdModel.zoneId);
			},
			tapsellPlusAdModel => {
				Debug.Log ("onReward " + tapsellPlusAdModel.zoneId);
			},
			tapsellPlusAdModel => {
				Debug.Log ("onCloseAd " + tapsellPlusAdModel.zoneId);
			},
			error => {
				Debug.Log ("onError " + error.errorMessage);
			}
		);
}

Use TapsellPlus.ShowInterstitialAd for the interstitial Ad instead. Also, You don’t need the onReward callback in interstitial ad, and you can remove it