public void loadNativeAd(string unitId, string mapJson) { if (listener != null) { listener.onAdLoadFail(unitId, "-1", "Must run on Android or IOS platform!"); } }
/** * 广告加载失败 */ 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); } }
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); } }