2014-03-31 26 views
1

我使用Google Interactive Media Ads:Vast(V3)for iOS。我確實下載了iOS(Beta)的樣本。並嘗試將內容網址(kTestAppAdTagUrl_Instream1)更改爲我的其中一個。我得到一個錯誤信息VAST線性資產不匹配

2014-03-31 14:34:30.531 SampleApp[1450:60b] Relayout 
2014-03-31 14:34:30.565 SampleApp[1450:60b] AdsManager event (Loaded). 
2014-03-31 14:34:31.364 SampleApp[1450:60b] AdsManager error with type: 2 
code: 403 
message: Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities. 

這裏是我的媒體文件標籤:

<MediaFiles> 
<MediaFile delivery="progressive" bitrate="400" width="640" height="480" type="video/x-mp4"> 
<![CDATA[ 
http://www.xxxx.mp4 
]]> 
</MediaFile> 
<MediaFile delivery="progressive" bitrate="400" width="640" height="480" type="video/x-flv"> 
<![CDATA[ 
http://www.xxxx.flv 
]]> 
</MediaFile> 
<MediaFile delivery="progressive" bitrate="400" width="640" height="480" type="video/webm"> 
<![CDATA[ 
http://www.xxxx.webm 
]]> 
</MediaFile> 
</MediaFiles> 

,這裏是原來的媒體文件標籤:

<MediaFiles> 
<MediaFile id="GDFP" delivery="progressive" width="320" height="240" type="video/3gpp" bitrate="232"> 
<![CDATA[ 
http://redirector.gvt1.com/videoplayback/id/5c822b8b859554ed/itag/36/source/gfp_video_ads/ip/0.0.0.0/ipbits/0/expire/1396261757/sparams/ip,ipbits,expire,id,itag,source/signature/A9F9D4129DCC49C6DEA58E2883DD1BCC3B7C5581.15E62876AA0272EB01E0B8446A6705D29EDD8077/key/ck2/file/file.3gp 
]]> 
</MediaFile> 
<MediaFile id="GDFP" delivery="progressive" width="470" height="360" type="video/mp4" bitrate="446"> 
<![CDATA[ 
http://redirector.gvt1.com/videoplayback/id/5c822b8b859554ed/itag/18/source/gfp_video_ads/ip/0.0.0.0/ipbits/0/expire/1396261757/sparams/ip,ipbits,expire,id,itag,source/signature/51703D4C36236250DDA8DC35D18361E09D90E971.4509891310D8FBE49A47C1249E126F851E0E8BB3/key/ck2/file/file.mp4 
]]> 
</MediaFile> 
</MediaFiles> 

我不知道我怎麼能解決這個問題

謝謝

回答

0

它可能是您傳遞的無效視頻文件網址嗎? http://www.xxxx.mp4

+0

沒有。我打算用xxxx來隱藏它 –

3

您的MP4資產類型不正確,視頻/ x-mp4不起作用。

將其更改爲:

<MediaFile ... type="video/mp4"><![CDATA[http://www.xxxx.mp4]]></MediaFile> 

有效期:
視頻/ X-FLV
視頻/ MP4
視頻/ WEBM
視頻/ 3GPP