2014-09-09 1 views
1

내 코로나 게임에 Vungle 비디오 광고를 통합했는데 완벽했으나 며칠 전 비디오 광고를 완전히 캐싱하지 못했지만 며칠 후 코드에서 아무 것도 변경하지 않고 스스로 쳐다 보았다. . 이제 동영상 광고 캐싱이 다시 중단되었습니다. 나는이 문제가 코로나 또는 Vungle 측에서 의심 스럽지만 확신 할 수 없다.때때로 캐칭하지 않는 Vungle 광고 - 코로나

local vungleInterstitial = "540e9681c7ec2b6d4400000e" 
local videoCompletedCallback=nil 


videoAddListener=function(event) 

    if (event.isError) then 
     --Cached video ad not available for display 
     print("problem to show ad") 
    elseif event.type == "cachedAdAvailable" then 
     print("cachedAdAvailable") 
    elseif tostring(event.type) == "adView" then 
     print("called when add is viewed") 
    elseif event.type == "adStart" then 
     print("Corona ads started") 
     audio.pause() 
    elseif event.type == "adEnd" then 
     print("Corona ads ended") 
     videoCompletedCallback() 
     audio.resume() 
    end 
end 


    showVideoAd = function(callbackFunc) 
     print("showVideoAd function called") 
     videoCompletedCallback=callbackFunc; 
     if (vads.isAdAvailable()) then 
      print(" if (vads.isAdAvailable()) then, is true") 
      print("vads.show") 
      vads.show("interstitial", { isBackButtonEnabled = false }) 
     else 
      local alert = native.showAlert("Video Ad", "The Video Ad is not available at the moment. Please Try after some time.", { "OK" }) 
     end 
    end 

    vads.init("vungle",vungleInterstitial,videoAddListener) 

답변

0

이것은 지역 또는 일일보기 제한과 관련 될 수 있습니다. vungleTest를 AppID로 사용해 볼 수 있습니까? 추가 문의 사항이 있으면 또한, 저에게 이메일을 보내 주시기 [email protected]

건배, Jordyn /의 Vungle

관련 문제