AdSense Error

classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Harvey
The error message is gone.

Did you change something else? Or maybe it takes some time.
HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Pedro
The last change was on monday. I replaced the "generic" url with the permalink, as you suggested.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Harvey
It's weird that it took so long to register this error.  2 years.

Is this something that should be applied to all nabble sites?

HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Pedro
The first thing I did when you warned about this error, was check Nabble's account. But there is no error message, so I think we don't have nothing to concern about.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Harvey
Pedro you designed this solution for me to this problem:
       
<macro name="ad_adSenseBoard">
    <div class="ad shaded-bg-color rounded" style="padding:.5em 0">
        <script type="text/javascript">                          
            google_ad_client = "ca-pub-0156740191883467";
            /* Leaderboard */
            google_ad_slot = "9529659947";
            google_ad_width = 728;
            google_ad_height = 90;
            google_page_url = "<n.current_url/>";
        </script>
        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
    </div>
</macro> 

This line solved the issue:  

google_page_url = "<n.current_url/>";

Google has introduced new code:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Leaderboard (Forum) -->
<ins class="adsbygoogle"
     style="display:inline-block;width:728px;height:90px"
     data-ad-client="ca-pub-0156740191883467"
     data-ad-slot="9529659947"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Where would you put the URL line?

Another issue not sure if it is related to the work we are doing in app_body_header... getting this error from adsense:

Your page has 3 blocking script resources and 3 blocking CSS resources. This causes a delay in rendering your page.
HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Pedro
Has it been fixed?
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Harvey
Pedro <Nabble> wrote
Has it been fixed?

I am using the old code because I'm not sure how to add in the URL specific info in the new code.

The old code will probably continue to work for a while but google is pushing you to move to the new asychronous code.  It loads faster and is more accurate counting page views.

Also it seems that in some places my google analytics code has some nabble modifications and in some places I've just put it in as is. Are they both ok?
HTTPS Please!
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Pedro
Doesn't google explain how the url should be given in the new code?
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: AdSense Error

Harvey
Unfortunately ll I have been able to find is the explanation on how to do this to the old code.

https://support.google.com/adsense/answer/2594855?hl=en

I will try to see if google support can answer this.
HTTPS Please!
12