Forum Moderators: martinibuster

Message Too Old, No Replies

Is it OK to have adsbygoogle.js on pages that aren't compliant?

         

csdude55

11:35 pm on Aug 21, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have pages on my site that Google doesn't like, so I've always kept ads off of them. But lately they're showing up in the policy center, anyway!

We know that to use Adsense on a page, you have to have this in the header:

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-12345" crossorigin></script>

And then an <ins...></ins> tag where you want the ad.

First question: If I remove the <script> but leave the <ins> tag, is that OK?

Second question: Opposite of the first question, if I leave the <script> on the page but remove the <ins> tags, is that OK?

LucasPerez

12:45 pm on Aug 24, 2023 (gmt 0)

Top Contributors Of The Month



In automatic ads configuration, pages such as policies, legal notice, files, etc. can be excluded.

No need to touch the script Adsense

csdude55

3:47 am on Aug 25, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I keep getting policy violations on pages that don't have ads, and I honestly don't know if it's a flub on Google's end, or if there's something wrong on my end and they just won't tell me what it is :-/

LucasPerez

12:11 pm on Aug 25, 2023 (gmt 0)

Top Contributors Of The Month



All pages that do not comply with the policy, insert into exclude pages, from the Auto ads panel.

And the problem is over since ads will not appear on those pages.

LucasPerez

12:14 pm on Aug 25, 2023 (gmt 0)

Top Contributors Of The Month



If ads still appear, it may be that they are not automatic, but rather fixed ad units, is that correct?

csdude55

6:11 pm on Aug 31, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Correct, I had terrible results from auto ads so all I have are fixed ads. I've discovered that it doesn't matter what I do, though; I've removed both adsbygoogle.js AND the <ins> tag, but I'm still constantly getting page violations. I'm pretty sure that the issue is on Google's end, I feel like they've started targeting me for some reason.

LucasPerez

12:00 pm on Sep 2, 2023 (gmt 0)

Top Contributors Of The Month



Adsense does unpredictable things in recent months, and I have noticed that it punishes you if you change something, lowering the CPC and RPM, it never seems like you do anything right.

It seems like they want us to leave without kicking us out out of boredom because everything is working poorly.

I read the Adsense Community in all languages and nothing is ever solved, everything goes wrong.