adsense problems

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Dec 01, 2016 10:03 pm
Reply with quote
Report this post
Hi everybody!
I have some problems with the adsense code that gives google: they do not look in the fronted. I already tried with the creation of a custom module (text editor off) and there´s no solution.
I've already read https://www.gavick.com/documentation/jo ... s-php-code And tried with the Sourcerer, BlankModule, phoca module etc and nothing.

Can anybody help me?
User avatar
Expert Boarder

teitbite
Wed Dec 07, 2016 2:05 pm
Reply with quote
Report this post
Hi

Do You mean to add a code so adsense can recognise Your site ? Simply copy it at the bottom of /layout/blocks/head.php file.
User avatar
Moderator

GK User
Wed Dec 07, 2016 4:01 pm
Reply with quote
Report this post
Thanks but what I mean is

I've already put the recognise code in /layout/blocks/head.php file and Google already recognise my site.
I've created an ads in adsense and I got the ads code but when I've tried to put in a specific position (inset for example) don't shows anything!
I've already read https://www.gavick.com/documentation/jo ... s-php-code
Extra info:
I dont use any text editor, I mean, I've deactivated it.
captures:
Image
Image

Please, please please, help me
User avatar
Expert Boarder

teitbite
Fri Dec 09, 2016 8:07 pm
Reply with quote
Report this post
Hi

Please tell me the url to Your site. Make sure this module is still published.
User avatar
Moderator

GK User
Fri Dec 09, 2016 8:20 pm
Reply with quote
Report this post
Thanks so much! my url is http://www.bikeandroad.com.mx, I'll send you a PM with my access data. Thanks in advance.

PS. By the way, the adsense module is published in the Inset position
User avatar
Expert Boarder

teitbite
Sun Dec 11, 2016 5:41 pm
Reply with quote
Report this post
Hi

In console there is an error saying that "Zablokowano zasób „http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js.pagespeed.jm.irg6PnVDxI.js” z powodu niezgodności typu MIME (X-Content-Type-Options: nosniff)." It's in polish, but it basically means that connection to the asd page was blocked because of wrong type. Try changing the url in module to "https//:" instead of nothing as now "//:".
User avatar
Moderator

GK User
Sun Dec 11, 2016 6:34 pm
Reply with quote
Report this post
Man this is weird,
"Zablokowano zasób „http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js.pagespeed.jm.irg6PnVDxI.js”
it's not in my original code, Image
from where come the "pagespeed.jm.irg6PnVDxI.js" ???
User avatar
Expert Boarder

teitbite
Wed Dec 14, 2016 1:45 pm
Reply with quote
Report this post
Hi

Than I believe it's one of the subfiles adsbygoogle.js is including. Try add "https" in front of the link in first line. Than check what will happen if You will open website with http and https.

Also make sure template's feature for google ads is disabled.
User avatar
Moderator

GK User
Tue Jan 03, 2017 9:06 pm
Reply with quote
Report this post
Man, I've tried everything and there's no ads... any idea?
User avatar
Expert Boarder

teitbite
Sun Jan 08, 2017 11:13 am
Reply with quote
Report this post
Hi

All I can see is that You are including a file to ads scripts and this file simply doesn't exists: file:////pagead2.googlesyndication.com/pagead/js/adsbygoogle.js.pagespeed.jm.irg6PnVDxI.js are You sure it's a correct file name ?
User avatar
Moderator

GK User
Wed Jan 11, 2017 6:06 pm
Reply with quote
Report this post
Yes, pretty sure. I've tried everything.... Please help me.
User avatar
Expert Boarder

teitbite
Sun Jan 15, 2017 3:15 pm
Reply with quote
Report this post
Hi

I've used https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js in layout/blocks/head.php and looks like some ads is showing now, but I keep seeing same file being loaded in a different location as well, but with a standard "http", try disable it.
User avatar
Moderator

GK User
Sat Apr 22, 2017 8:49 pm
Reply with quote
Report this post
Hi, how are you?
Well, after try many things some ads are already visible on the web.
I've solve it uninstalling the text editor (drop editor) and cleaning the web. I´ve unpublish all the other banners and custom modules. Results, ads are alive!

But I have another problem. The ads appears in a random places and that´s broke the design.
¿How can I fix it?
User avatar
Expert Boarder

teitbite
Sun Apr 23, 2017 2:28 pm
Reply with quote
Report this post
Hi

Somehow I am not able to see many ads on Your site now, except for the 2 on a bottom of the site. BUT what I can see is that both this ads is placed outside joomla's module positions and the name of the layer used by it is called "google-auto-placed", which leads to think than it's a GA code which picks a place on the site to show. Not sure how to deal with it, haven't been using this feature yet. I think there must be a way to disable it and use Banners module to show available placec for ads.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.