The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Adsense Ads Not Displaying

View previous topic View next topic Go down

In progress Adsense Ads Not Displaying

Post by MarcoNecroX on November 16th 2016, 9:40 pm

hi,

This is my website: http://www.medianxl.com/

The ads are not displaying. You can search them with jQuery on the console
Code:
$('.adsbygoogle')
- there are four entries, but none of the
Code:
<ins>
tags has anything in it.

Yes I paid to remove forumotion ads to use my own.
Yes the adsense javascript library is loaded properly.
Yes I have tested the ad codes on a different site and they work.

MarcoNecroX
Forumember

Posts : 97
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Adsense Ads Not Displaying

Post by SLGray on November 17th 2016, 3:49 am

Where did you add the codes?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36663
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Adsense Ads Not Displaying

Post by MarcoNecroX on November 17th 2016, 6:13 am

@MarcoNecroX wrote:You can search them with jQuery on the console
Code:
$('.adsbygoogle')
- there are four entries, but none of the
Code:
<ins>
tags has anything in it.

templates - overall header x2, footer and pre footer

MarcoNecroX
Forumember

Posts : 97
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Adsense Ads Not Displaying

Post by SLGray on November 17th 2016, 6:20 am

Did you publish the modified template?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36663
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Adsense Ads Not Displaying

Post by MarcoNecroX on November 17th 2016, 5:37 pm

Well obviously... hence why I said the <ins> tags are not displaying anything.

MarcoNecroX
Forumember

Posts : 97
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Adsense Ads Not Displaying

Post by Nemo on November 17th 2016, 9:20 pm

Hey,

I visited your forum and you have some advertisements. Are you sure that you have removed the Forumotion's ads? If you are, then I possibly see the Google Adsense ads.

Hello

Nemo
Support Moderator
Support Moderator

Male Posts : 1083
Reputation : 114
Language : Greek, English, French

http://www.helpgr.forumgreek.com

Back to top Go down

In progress Re: Adsense Ads Not Displaying

Post by SLGray on November 17th 2016, 9:30 pm

I also see ads.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36663
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Adsense Ads Not Displaying

Post by MarcoNecroX on November 18th 2016, 12:22 am

hi, yes because I fixed them. But it's not pretty, there's some bug with forumotion template.

This code won't execute if you place it as an inline script in the template:
Code:
(adsbygoogle = window.adsbygoogle || []).push();

However if placed in Modules -> Javascript Codes, it worked. But it is a bit inconsistent, and I'm pretty sure it should work in the templates, in case you guys want to check it out. Maybe javascript is not enabled in the templates?

MarcoNecroX
Forumember

Posts : 97
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum