Banner Ad not working in Google Double Click

Hello!
I am working with a media buy company to place ads on Google double click and no matter what me and my colleague try they keep coming back to us saying
“You must include at least one click tag or select the DoubleClick environment in Google Web Designer and an exit event in your HTML file in order to set a click-through URL for your creative. Get in touch with the creative developer to resolve this issue.”

I have attached our hype file and final export. Please help. I do not understand what I am missing.

30246-JPMorgan-1P_12secTEST3.zip (122.1 KB)

30246-JPMorgan-1P_12sec HYPE.zip (57.4 KB)

Hi Natasha:

It looks like these files have not been setup for Double Click at all. The quick way would be to download the Double Click Studio Export script ( http://tumult.com/hype/export-scripts/ ), make sure it is working, and then set an element to serve as the exit in Hype:

Here’s what that script exports:

30246-JPMorgan-1P_12sec HYPE2.zip (50.3 KB)

When testing an upload to Double Click Studio it works for me.

I recommend reading the documentation to see the kind of additional code required to setup exits, the enabler, and other tracking: https://support.google.com/richmedia/answer/2672545

Daniel,

Thank you for getting back to me so quickly!
Downloading the export script for future use as well as making sure I have the enabler in there.

I’ll let you know how it goes.

I should have clarified -- the enabler is added by the script, so all you need to do is setup your exit in Hype using the dropdown I showed in the screenshot above.

Here's what is added to the HTML file (enabler on the 5th line)

<!DOCTYPE html>
<html>
  <head>
	<meta name="ad.size" content="width=728,height=90">
	<script src="https://s0.2mdn.net/ads/studio/Enabler.js"></script>
	

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
	<title>30246-JPMorgan-1P_12sec HYPE2</title>
	<style>
		html {
			height:100%;
		}
		body {
			background-color:#FFFFFF;
			margin:0;
			height:100%;
		}
	</style>
	<!-- copy these lines to your document head: -->

	<meta name="viewport" content="user-scalable=yes, width=728" />

	<!-- end copy -->
	<script type="text/javascript" charset="utf-8" src="./HYPE-576.thin.min.js"></script>
  
	<script>
	
	(function () {
		
		var thisHypeDocument = null;
	
		function preInit() {
			if (Enabler.isInitialized()) {
				init();
			} else {
				Enabler.addEventListener(studio.events.StudioEvent.INIT, init);
			}
		}
	
		function init() {
			// Polite loading
			if (Enabler.isVisible()) {
				show();
			} else {
				Enabler.addEventListener(studio.events.StudioEvent.VISIBLE, show);
			}
		}
	
		function show() {
			if(thisHypeDocument != null) {
				thisHypeDocument.showSceneNamed(thisHypeDocument.sceneNames()[0]);
			}
		}
	
		function hypeDocumentLoadCallback(hypeDocument, element, event) {
			thisHypeDocument = hypeDocument;
			if(!Enabler.isInitialized() || !Enabler.isVisible()) {
				// don't load the Hype document until DoubleClick Enabler has loaded and is visible
				return false;
			} 
			return true;
		}

		if("HYPE_eventListeners" in window === false) {
			window.HYPE_eventListeners = Array();
		}
		window.HYPE_eventListeners.push({"type":"HypeDocumentLoad", "callback":hypeDocumentLoadCallback});
	
		window.addEventListener('load', preInit);

	})();
	
	function hypeAdExit(identifier, url) {
		if(url != null) {
			Enabler.exitOverride(identifier, url);
		} else {
			Enabler.exit(identifier, url);		
		}
	}
	
	function hypeAdCounter(identifier) {
		Enabler.counter(identifier);
	}
	
	function hypeAdStartTimer(identifier) {
		Enabler.startTimer(identifier);
	}
	
	function hypeAdStopTimer(identifier) {
		Enabler.stopTimer(identifier);
	}
	
	function hypeAdDummyInteractions() {
				Enabler.exit();

	}
		
	</script>
</head>
  <body>
	<!-- copy these lines to your document: -->

	<div id="30246jpmorgan1p12sechype2_hype_container" style="margin:auto;position:relative;width:728px;height:90px;overflow:hidden;">
	</div>

	<!-- end copy -->
	<script type="text/javascript" charset="utf-8">
		//	HYPE.documents["30246-JPMorgan-1P_12sec HYPE2"]

(function(){(function k(){function l(a,b,d){var c=!1;null==window[a]&&(null==window[b]?(window[b]=[],window[b].push(k),a=document.getElementsByTagName("head")[0],b=document.createElement("script"),c=h,false==!0&&(c=""),b.type="text/javascript",b.src=c+"/"+d,a.appendChild(b)):window[b].push(k),c=!0);return c}var h=".",c="30246-JPMorgan-1P_12sec HYPE2",e="30246jpmorgan1p12sechype2_hype_container";if(false==!1)try{for(var f=document.getElementsByTagName("script"),
a=0;a<f.length;a++){var b=f[a].src,d=null!=b?b.indexOf("30246jpmorgan1p12sechype2_hype_generated_script.js"):-1;if(-1!=d){h=b.substr(0,d-1);break}}}catch(n){}if(true==!1&&(a=navigator.userAgent.match(/MSIE (\d+\.\d+)/),a=parseFloat(a&&a[1])||null,a=l("HYPE_576","HYPE_dtl_576",!0==(null!=a&&10>a||false==!0)?"HYPE-576.full.min.js":"HYPE-576.thin.min.js"),false==!0&&(a=a||l("HYPE_w_576","HYPE_wdtl_576","HYPE-576.waypoints.min.js")),a))return;f=window.HYPE.documents;
if(null!=f[c]){b=1;a=c;do c=""+a+"-"+b++;while(null!=f[c]);d=document.getElementsByTagName("div");b=!1;for(a=0;a<d.length;a++)if(d[a].id==e&&null==d[a].getAttribute("HYP_dn")){var b=1,g=e;do e=""+g+"-"+b++;while(null!=document.getElementById(e));d[a].id=e;b=!0;break}if(!1==b)return}b=[];b=[];d={};g={};for(a=0;a<b.length;a++)try{g[b[a].identifier]=b[a].name,d[b[a].name]=eval("(function(){return "+b[a].source+"})();")}catch(m){window.console&&window.console.log(m),d[b[a].name]=
function(){}}a=new HYPE_576(c,e,{"7":{p:1,n:"text3b.png",g:"236",t:"@1x"},"3":{p:1,n:"button-2.gif",g:"140",t:"@1x"},"8":{p:1,n:"text1b.png",g:"238",t:"@1x"},"4":{p:1,n:"text3a.png",g:"194",t:"@1x"},"0":{p:1,n:"background-image-2.jpg",g:"131",t:"@1x"},"5":{p:1,n:"text1a.png",g:"232",t:"@1x"},"1":{p:1,n:"footer-banner-2.png",g:"133",t:"@1x"},"6":{p:1,n:"text2.png",g:"234",t:"@1x"},"2":{p:1,n:"logo-2.png",g:"138",t:"@1x"}},h,[],d,[{n:"30246-JPMorgan-1P_12sec",o:"100",X:[0]}],[{o:"102",p:"600px",cA:false,Y:728,Z:90,L:[],c:"#FFFFFF",bY:1,d:728,U:{},T:{kTimelineDefaultIdentifier:{i:"kTimelineDefaultIdentifier",n:"Main Timeline",z:12,b:[],a:[{f:"c",y:0,z:1.19,i:"e",e:1,s:0,o:"251"},{f:"c",y:0.09,z:1.19,i:"e",e:1,s:0,o:"243"},{f:"c",y:1.19,z:1.11,i:"e",e:1,s:1,o:"251"},{f:"c",y:1.28,z:1.02,i:"e",e:1,s:1,o:"243"},{f:"c",y:3,z:1,i:"e",e:0,s:1,o:"243"},{f:"c",y:3,z:1,i:"e",e:0,s:1,o:"251"},{f:"c",y:3.28,z:1.19,i:"e",e:1,s:0,o:"245"},{y:4,i:"e",s:0,z:0,o:"243",f:"c"},{y:4,i:"e",s:0,z:0,o:"251",f:"c"},{f:"c",y:5.17,z:1.13,i:"e",e:1,s:1,o:"245"},{f:"c",y:7,z:1,i:"e",e:0,s:1,o:"245"},{f:"c",y:7.28,z:1.19,i:"e",e:1,s:0,o:"247"},{y:8,i:"e",s:0,z:0,o:"245",f:"c"},{f:"c",y:9.17,z:1.19,i:"e",e:1,s:0,o:"249"},{y:9.17,i:"e",s:1,z:0,o:"247",f:"c"},{y:11.06,i:"e",s:1,z:0,o:"249",f:"c"}],f:30}},bZ:180,O:["248","252","246","251","247","244","245","243","249","250"],n:"Untitled Layout","_":0,v:{"252":{h:"131",p:"no-repeat",x:"visible",a:0,q:"100% 100%",b:0,j:"absolute",r:"inline",c:728,k:"div",z:1,d:90},"245":{h:"234",p:"no-repeat",x:"visible",a:25,q:"100% 100%",b:28,j:"absolute",r:"inline",c:300,k:"div",z:14,d:34,e:0},"248":{c:726,d:88,I:"Solid",J:"Solid",K:"Solid",L:"Solid",aP:"pointer",M:1,N:1,A:"#320008",x:"visible",aA:{a:[{exportScriptOid:"DoubleClick Studio.hype-export.py",label:"Exit",p:15,s:"hypeAdExit",t:[]}]},B:"#320008",j:"absolute",O:1,dB:"button",z:19,C:"#320008",D:"#320008",k:"div",P:1,a:0,b:0},"251":{h:"232",p:"no-repeat",x:"visible",a:23,q:"100% 100%",b:12,j:"absolute",r:"inline",c:354,k:"div",z:18,d:34,e:0},"244":{h:"140",p:"no-repeat",x:"visible",a:597,q:"100% 100%",b:15,j:"absolute",r:"inline",c:111,k:"div",z:4,d:30},"247":{h:"194",p:"no-repeat",x:"visible",a:27,q:"100% 100%",b:14,j:"absolute",r:"inline",c:334,k:"div",z:13,d:35,e:0},"250":{h:"138",p:"no-repeat",x:"visible",a:588,q:"100% 100%",b:51,j:"absolute",r:"inline",c:126,k:"div",z:3,d:32},"243":{h:"238",p:"no-repeat",x:"visible",a:24,q:"100% 100%",b:47,j:"absolute",r:"inline",c:158,k:"div",z:15,d:30,e:0},"246":{h:"133",p:"no-repeat",x:"visible",a:477,q:"100% 100%",b:0,j:"absolute",r:"inline",c:251,k:"div",z:2,d:90},"249":{h:"236",p:"no-repeat",x:"visible",a:30,q:"100% 100%",b:51,j:"absolute",r:"inline",c:426,k:"div",z:11,d:27,e:0}}}],{},g,{},null,false,true,-1,true,true,false,true);f[c]=a.API;document.getElementById(e).setAttribute("HYP_dn",
c);a.z_o(this.body)})();})();

	</script>
  </body>
</html>
1 Like

Oh I see! Set up the script package and it worked like a charm!

Thank you!

Google Double Click Studio is still having problems with our creative - now they are saying they cannot override the exit url. Even if they change it, it still goes to google.com (the url we placed in the hype file as placeholder).

"They do click out on the creative level and the ad level, but I cannot override the placeholder URL “Google.com”. I tried to place Clients URL but the creative always clicks through to Google."

It can’t be a simple cache thing can it?

Have others run into this?

Thank you!

30246-JPMorgan-6PAR-728x90_30sec.zip (79.9 KB)

The issue is probably that you’re using the Exit Override custom event instead of Exit. Exit Override takes a URL and will override any other settings in DoubleClick Studio. Instead, change this event to Exit and they’ll be able to correctly modify in the DoubleClick Studio interface.

I also notice there is clickTag code in the HTML Head; this isn’t necessary if you’re using DoubleClick Studio.

If that doesn’t do the trick, please ask how they are trying to change the URL. You’re welcome to put us in touch as well as I’d like to learn about any common pitfalls and make sure they are avoided using Hype.

Hi. New here, and dealing with my first ad for Double Click for Publishers.

I have seen the the Export Scripts, which seems to work nicely, but not clear on the Exit issue.

Also, does the either the DoubleClick Studio or DoubleClick Campaign Manager Export Scripts work for Double Click for Publishers?

The ad is basically two images that rotate on and off screen. Each has its own link — so the ad has two links.

How does this work with Exits? Do I just set each as an Exit with a different ID, and then set the URLs to those IDs in DoubleClick Studio? ( The publication submits the ads here. )

Or should they be Exit Overrides that include the URLs?

It seems DoubleClick requires Clicktags — at least according to their validator.
How do Exits or Exit Overrides relate to Clicktags for multiple links in an ad?

Thanks.