public void RequestAd() { Tapsell.RequestAd(this.zoneID, this.cashed, (TapsellAd result) => { // onAdAvailable adID = result; }, (string zone) => { // onNoAdAvailable }, (TapsellError error) => { // onError Debug.Log(error.message); }, (string zone) => { // onNoNetwork }, (TapsellAd result) => { // onExpiring adID = null; RequestAd(); } ); }
public void Request() { Tapsell.RequestAd(ZONE_ID, true, (TapsellAd result) => { // onAdAvailable Debug.Log("on Ad Available"); ad = result; }, (string zoneId) => { // onNoAdAvailable Debug.Log("no Ad Available"); }, (TapsellError error) => { // onError Debug.Log(error.message); }, (string zoneId) => { // onNoNetwork Debug.Log("no Network"); }, (TapsellAd result) => { // onExpiring Debug.Log("expiring"); }, (TapsellAd result) => { // onOpen Debug.Log("open"); }, (TapsellAd result) => { // onClose Debug.Log("close"); } ); }
public void Load() { _currentAd = null; Tapsell.RequestAd(_zoneId, false, OnAdAvailableHandler, OnNoAdAvailableHandler, OnErrorHandler, OnNoNetworkHandler, OnExpiringHandler); }