Trying to include google ads

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
Schibbelhut
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Jan 19, 2019 3:58 am

Trying to include google ads

Post by Schibbelhut » Sat Jan 19, 2019 7:36 am

This is my first time building a Joomla site. Spent a day learning and it only took a day to build a working site. It is all useless unless I can include Google ads (Adsense). I have now spent over a week trying different things and I can't get AdSense to show up at all. I have tried adding the code manually, tried the Banner Manager, downloaded modules and still I get nothing. Not even error messages showing on the site. Is there any documentation anywhere that explains how to do this.I find information on adding graphic ads but nothing on adding the code needed for AdSense. I really don't think I'm a dummy but I'm obviously overlooking something. Really need some help.
Thanks
Dale

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: Trying to include google ads

Post by Webdongle » Sat Jan 19, 2019 8:57 am

What extensions have you tried ?
Does their docucumentation say where to put the Adsense code ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Trying to include google ads

Post by Per Yngve Berg » Sat Jan 19, 2019 12:17 pm


Schibbelhut
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Jan 19, 2019 3:58 am

Re: Trying to include google ads

Post by Schibbelhut » Sat Jan 19, 2019 5:44 pm

I am using the protostar template (for now) and have tried entering the code using the banner module. I have also tried "Phoca Gae" and "KISS GooSence". I also used "Head CSS Script" to be able to add code to the header. Both Phoca Gae and KISS GooSence don't give any information about anything going in the header. In fact I'm not sure they will work with the newest Google code. I have tied them both with code in the header and without. nothing seems to work. I'm also not sure if Head CSS Script puts the code in the right place. I'm still trying different options but I was hoping to find a little guidance from someone who has already done this.


gws
Joomla! Champion
Joomla! Champion
Posts: 5951
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Trying to include google ads

Post by gws » Sat Jan 19, 2019 7:01 pm

Have you used google ads before on a website?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Trying to include google ads

Post by sozzled » Sat Jan 19, 2019 7:05 pm

Gee, thanks, @Webdongle. I'll have a look at those extensions (particularly https://extensions.joomla.org/extension/phoca-gae/). Here I've been, for a couple of years, thinking that Google Ads didn't like the brand of deodorant I've been wearing or some other reason why my—erstwhile successful—use of Google Adsense code has not worked. :D

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: Trying to include google ads

Post by Webdongle » Sat Jan 19, 2019 9:31 pm

Yes perhaps the OP can read the documentation (for the extensions he tried) that he says doesn't exist.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Schibbelhut
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Jan 19, 2019 3:58 am

Re: Trying to include google ads

Post by Schibbelhut » Sun Jan 20, 2019 8:24 am

To answer a few questions people have asked.
Yes I can read and have read the documentation on both websites. As I stated earlier, neither mentioned anything about code in the head section of the site, which the new tags require. Also it appears both are designed for "GAM tags" which were discontinued by Google 6 years ago. They continued to work until January 14, 2019.
Yes I have been using Google ads for nearly 15 years. I still have them operating on websites today and I'm quite sure it's not a problem with my deodorant.
This is my first Joomla Website and I am having a little difficulty with the ads. I'm not real familiar with the structure of Joomla and that is why I asked for help. I'll continue to work on this and I do read your responses and appreciate them. I defiantly don't claim to be any kind of expert and it may be I'm simply missing a step or even doing something stupid. What ever it is I will publish the answer to help others that may have the same or similar problem.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Trying to include google ads

Post by Per Yngve Berg » Sun Jan 20, 2019 9:08 am

I suggest you ask in the Phoca Forum.

https://www.phoca.cz/forum/viewforum.php?f=32

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Trying to include google ads

Post by leolam » Sun Jan 20, 2019 10:46 am

sozzled wrote:
Sat Jan 19, 2019 7:05 pm
for a couple of years, thinking that Google Ads didn't like the brand of deodorant I've been wearing
And suddenly after all those years realizing that the bottle was empty all that time huh? :-[

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

Schibbelhut
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Jan 19, 2019 3:58 am

Re: Trying to include google ads

Post by Schibbelhut » Sun Jan 20, 2019 4:53 pm

Per Yngve Berg wrote:
Sun Jan 20, 2019 9:08 am
I suggest you ask in the Phoca Forum.

https://www.phoca.cz/forum/viewforum.php?f=32
Thanks, I will check there. I am finding the tags are going into the page but the header code is not. I guess I'll have to put it in there a different way. Sometimes it takes longer to find the "quick" way to do things.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Trying to include google ads

Post by Per Yngve Berg » Sun Jan 20, 2019 5:02 pm

The header code must be placed between <head> and </head> in the template's index.php if you don't use an extension.

User avatar
Nidzo2203
Joomla! Explorer
Joomla! Explorer
Posts: 321
Joined: Sat Nov 21, 2009 4:52 pm
Contact:

Re: Trying to include google ads

Post by Nidzo2203 » Sun Jan 20, 2019 6:44 pm

@Schibbelhut
Make sure your site is included in Google AdSense
2019-01-20_192507.jpg
If you want to use Google Auto ads you will get code that must be placed in <head></head>. For this I suggest Phoca Site plugin. Download, install, enter AdSense code in Head Custom Code field and enable plugin.

If you want to use Google ad units then create Custom module in Joomla and place given code but make sure that text editor doesn't clean your code.

Make sure you don't use some AdBlocker browser extension.
You do not have the required permissions to view the files attached to this post.


Locked

Return to “General Questions/New to Joomla! 3.x”