有人通过dfp从rubicon项目投放视频广告吗?
我的代码设置如下,似乎我也从广告服务器上取回了一些东西,但oop视频广告没有显示?
<head>
...
<!-- google tag serice -->
<script src='https://www.googletagservices.com/tag/js/gpt.js'></script>
<!-- End google tag service -->
...
</head>
<body>
...
<!-- /net-work-id/ad-unit-code -->
<div id='div-gpt-ad-x-0'>
<script>
googletag.cmd.push(function () {
googletag.defineOutOfPageSlot('/net-work-id/ad-unit-code', 'div-gpt-ad-x-0')
.addService(googletag.pubads());
googletag.pubads().enableSyncRendering();
googletag.enableServices();
googletag.display('div-gpt-ad-x-0');
});
</script>
</div>
...
</body>
密切关注网络电话会显示3个电话:
GET: http://entitlements.jwplayer.com/xxx.json
Response:
{
"canPlayAds": true
}
GET: https://video-ads.rubiconproject.com/video/xx/xx/xx/xx/vast.xml?width=640&height=360:
<?xml version="1.0"?>
<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd" version="2.0">
<Ad id="1">
<InLine>
<AdSystem>ad sys</AdSystem>
<AdTitle>VPAID Wrapper</AdTitle>
<Description>VAST for ad sys VPAID ad serving</Description>
<Impression>
<![CDATA[https://xxx]]>
</Impression>
<Creatives>
<Creative sequence="1">
<Linear>
<Duration>00:00:30</Duration>
<AdParameters>
< ![CDATA[{
"host": "example.com",
"path": "\/a\/api\/vast.xml",
"assets_url": ":\/\/xxx.com\/video\/assets\/",
"query_parameters": {
"account_id": "xxx",
"site_id": "xxx",
"zone_id": "xxx",
"size_id": "xxx",
"width": "640",
"height": "360"
},
"stats_base_url": "https:xxx",
"emily_base_url": "https:xxx/usync.html",
"emily_accts": ["xxx", ...],
"whiteops_throttle": "10",
"moat_partner_code": "xxx",
"throttle_rate": {
"moat": "0.05"
},
"protocol": "https"
}
]] >
</AdParameters>
<MediaFiles>
<MediaFile apiFramework="VPAID" delivery="progressive" type="application/x-shockwave-flash" width="640" height="360">
<![CDATA[https://example.com/video/xxx.swf]]>
</MediaFile>
<MediaFile apiFramework="VPAID" delivery="progressive" type="application/javascript" width="640" height="360">
<![CDATA[https://example.com/video/xxx.js]]>
</MediaFile>
<MediaFile apiFramework="VPAID" delivery="progressive" type="application/x-shockwave-flash" width="640" height="360">
<![CDATA[https://example.com/video/xxx.swf]]>
</MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
</InLine>
</Ad>
我认为最后一次调用<iframe>
内部的查询参数,包括上述回复中的列表:
响应:
<iframe>
https://optimized-by.rubiconproject.com/a/api/vast.xml?account_id=xx&..
<?xml version="1.0" encoding="UTF-8"?>
<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.0" xsi:noNamespaceSchemaLocation="vast.xsd">
<!-- Code: psaNRF -->
</VAST>
响应中只有<!-- Code: psaNRF -->
。
有人能跳进我的鞋子吗?
答案 0 :(得分:0)
好像您有一个VPAID
xml,其中包含一组VAST
广告素材,这些广告素材又加载了另一个AdParameters
网址(签出http://
选项)
第二个VAST网址未返回任何内容(您的第二个空响应),因此没有显示任何内容