我使用适用于iOS的Google互动式媒体广告:Vast(V3)。我确实下载了iOS(Beta)样本。并尝试将内容URL(kTestAppAdTagUrl_Instream1)更改为我的一个。我收到了一条错误消息
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.
这是我的MediaFile标签:
<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 :(得分:3)
您的MP4资产类型不正确,视频/ x-mp4无效。
将其更改为:
<MediaFile ... type="video/mp4"><![CDATA[http://www.xxxx.mp4]]></MediaFile>
<强>有效:强>
视频/ X-FLV
视频/ MP4
视频/ WEBM
视频/ 3GPP
答案 1 :(得分:0)
可能是您传递的无效视频文件网址吗? http://www.xxxx.mp4?