public void loadNativeAd(string unitId, string mapJson)
 {
     if (listener != null)
     {
         listener.onAdLoadFail(unitId, "-1", "Must run on Android or IOS platform!");
     }
 }
예제 #2
0
 /**
  * 广告加载失败
  */
 public void onNativeAdLoadFail(string placementId, string code, string msg)
 {
     Debug.Log("onNativeAdLoadFail...unity3d. code:" + code + " msg:" + msg);
     if (mlistener != null)
     {
         mlistener.onAdLoadFail(placementId, code, msg);
     }
 }
예제 #3
0
 public void onNativeAdLoadFail(string unitId, string code, string msg)
 {
     Debug.Log("Unity:ATNativeAdClient::onNativeAdLoadFail...unity3d. code:" + code + " msg:" + msg);
     if (mlistener != null)
     {
         mlistener.onAdLoadFail(unitId, code, msg);
     }
 }