Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense ads, on noindex pages?

         

JorgeV

5:06 pm on Oct 28, 2019 (gmt 0)

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



Hello-

Is it a problem, to display adsense ads, on page which have the noindex tag?

And what about pages blocked at the level of the robots.txt ?

Will the adsense bot visit the page , or not ?

engine

5:34 pm on Oct 28, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Noindex should not be a problem as long as you've not blocked adsesebot from crawling the pages.
If you've blocked adsensebot from visiting the page then you will have a problem.

JorgeV

5:37 pm on Oct 28, 2019 (gmt 0)

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



Okay, thank you. And, if the page is blocked at the level of the robots.txt file, I guess I need to add an entry to allow the adsense bot? Or may be the adsense bot doesn't mind the robots.txt?

engine

5:40 pm on Oct 28, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



adsensebot is meant to respect all protocols, so i'd let it in with permission for adsense sites.

JorgeV

5:43 pm on Oct 28, 2019 (gmt 0)

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



Okay, thank you!

JorgeV

6:10 pm on Oct 28, 2019 (gmt 0)

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



Me -again,

So let's say, I don't want pages in the folder "/some_folder/" to be indexed by search engines, BUT, still want to be able to display ads on these pages (as well as anywhere else). Should my robots.txt file looks like this?


User-agent: *
Disallow: /some_folder/

User-agent: Mediapartners-Google
Allow: /


I am still confused, if we should use "allow" in robots.txt file, or a "disallow:" with an empty string (nothing after the dots)

not2easy

6:23 pm on Oct 28, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



You can disallow bots and allow the AdSense bot as in your code above BUT if those pages are set to noindex AND Googlebot is not permitted to crawl, they won't know that those pages are set to noindex.

JorgeV

6:43 pm on Oct 28, 2019 (gmt 0)

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



Yes, sorry, I mixed two concepts in my questions.