Forums / General / Google Adsense
Jan Frode Bentsen
Tuesday 08 April 2008 8:53:40 am
Hi. I tried to implement this in my front page left column without any luck. Do enyone have experience with google ads?
<script type="text/javascript"><!-- google_ad_client = "pub-xxxxxxxxxxxxxxxxxxxx"; /* 728x90, opprettet 08.04.08 */ google_ad_slot = "xxxxxxxxxxx"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Error message: Utkastet kunne ikke lagres. (English= the draft could not be stored)PĂ„krevde data mangler eller er ugyldige: (English = data is missing or are invalid)
Left column: Ukjent tag: <script>. (English = left column; unknown tag:<script>)
I could not find anything on this web page regarding google ads. So any suggestions would be helpful.
Tuesday 08 April 2008 10:34:50 am
Hi, I would suggest putting this code either directly in the frontpage template or create a custom tag and in the template for the custom tag you would place the AdSense code.
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/datatypes/xml_block/custom_tags
Saturday 19 April 2008 8:28:19 am
Hi.
I have not worked so much with ez publish. And I have difficulties do understand how to do this, and in with files? Is there any other detailed guideline avaliable?
Or any other way to implement java scripts easy, like google adsense?
H. K.
Sunday 20 April 2008 4:22:36 am
Google ads work with ez publish 4, so your doing something wrong.Past the rest of your left menu code
Sunday 20 April 2008 9:15:10 am
I do not have anything else in the left column. I tried on a site using 3.10 and on another using 4.0
I implement the code using the admin panel, and deactivate the editing tool, so the hard code appear. Is this the wrong way to implement the adsense code?
The error message is something like this in english:
The draft could not be stored, due to data are missing og incomplete* left colmn : unkonwn tag: <script>