有谁知道错误“您为此广告素材使用启动器组件上传了错误数量的资源。广告素材必须恰好有 2 个使用启动器的资源。” 是什么意思?
我假设 DoubleClick 改变了一些东西。我尝试上传旧广告素材并收到相同的错误。
我正在使用 Hype3 来制作我的广告。这是文件头部的脚本。我想知道启用器是否发生了一些变化。
<head>
<script src="https://s0.2mdn.net/ads/studio/Enabler.js"></script>
<meta name="ad.size" content="width=1000,height=90">
<script>
// If true, start function. If false, listen for INIT.
window.onload = function() {
if (Enabler.isInitialized()) {
enablerInitHandler();
} else {
Enabler.addEventListener(studio.events.StudioEvent.INIT, enablerInitHandler);
}
}
function enablerInitHandler() {
// Start ad, initialize animation,
// load in your image assets, call Enabler methods,
// and/or include other Studio modules.
// Also, you can start the Polite Load
}
//If true, start function. If false, listen for VISIBLE.
//So your pageLoadedHandler function will look like the following:
function pageLoadedHandler() {
if (Enabler.isVisible()) {
adVisibilityHandler();
} else {
Enabler.addEventListener(studio.events.StudioEvent.VISIBLE,
adVisibilityHandler);
}
}
function bgExitHandler1(e) {
Enabler.exitOverride('Background Exit1', 'URL');
}
function exitClose(e) {
Enabler.reportManualClose();
Enabler.close();
}
document.getElementById('exit').addEventListener('click', bgExitHandler1, false);
document.getElementById('close_btn').addEventListener('click', exitClose, false);
</script>
<head>
我意识到问题是由于我选择了错误的格式引起的。我需要选择“插页式”才能使其与我的文件一起使用。
如果您不按照此处所述添加启用程序标记,您将收到类似的错误: https://support.google.com/richmedia/answer/2672553?hl=en&ref_topic=2672541