2

我使用适用于 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>

这是原始的 mediaFile 标签:

<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>

我不知道我该如何解决这个问题

谢谢

4

2 回答 2

4

您的 MP4 资产类型不正确,video/x-mp4 将无法使用。

将其更改为:

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

有效:
video/x-flv
video/mp4
video/webm
video/3gpp

于 2015-12-09T09:57:02.790 回答
0

会不会是您传递的无效视频文件 URL?http://www.xxxx.mp4

于 2014-03-31T16:49:06.460 回答