我似乎不能让clickTAG在Google Swiffy中工作。下面是我的代码:
<script>
var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
swiffyobject, { });
stage.start();
stage.setFlashVars("clickTag=http://google.com");
发布于 2015-08-27 03:28:45
我真的想通了!"stage.setFlashVars("clickTag=http://google.com");“后面需要有"stage.start();”行
正确的代码如下所示:
<script>
var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
swiffyobject, {});
stage.setFlashVars("clickTAG=http://www.google.com");
stage.start();
</script>发布于 2015-09-18 03:47:16
是的,就像VaIM说的那样。
如果您有更多疑问,请查看以下内容:
https://support.google.com/dfp_premium/answer/6263155?hl=en
<div id="swiffycontainer_%ecid!" style="width: %%WIDTH%%px; height: %%HEIGHT%%px"></div>
<script>
var stage = new swiffy.Stage(document.getElementById('swiffycontainer_%ecid!'),
swiffyobject, {});
stage.setFlashVars("clickTAG=%%CLICK_URL_ESC%%%%DEST_URL%%");
stage.start();
</script>
</body>
https://stackoverflow.com/questions/32214068
复制相似问题