Google AdSense Easy: Which Code to paste, Ad not showing

Phoca modules - support for all Phoca modules except Phoca Gallery modules
Locked
sescha
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 02 Apr 2012, 14:29

Google AdSense Easy: Which Code to paste, Ad not showing

Post by sescha »

Hi there,

I am a bit confused about the actual code to paste into the AdSense Easy module.
Here is what I received from Google, it contains 2 Javascripts:

Code: Select all

<script type="text/javascript"><!--
google_ad_client = "ca-pub-...";
/* 1. "Banner" (468 x 60 pixels) */
google_ad_slot = "...";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
I feel that the second script ("show_ads.js") maybe should not be pasted since I need multiple ads on my page and this script only need to be called once per page, right?
Also, do I paste the code including the surrounding

Code: Select all

<javascript>
markers or without?

Reason I am asking is because no matter what I paste into the module, it never shows an ad ...
Using Version 2.0.2 with Joomla 2.5.2

Thanks
Sebastian
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Google AdSense Easy: Which Code to paste, Ad not showing

Post by Jan »

Hi, just read Google AdSense information - yes whole code needs to be pasted there, try to wait some minuts until your code will be active.

Jan
If you find Phoca extensions useful, please support the project
Locked