Page 1 of 1

adsense not show up on my site

PostPosted: 20. April 2015 03:34
by MonkeyKing
xampp + adsense ads not show up on my site i check code everything look ok
http://healthy-life.mooo.com/

Re: adsense not show up on my site

PostPosted: 20. April 2015 05:29
by gsmith
It's not an Xampp problem. Xampp just dumps what you see in a View Source to your browser.

I may have a clue though, is your adsense account linked to you healthy-life.mooo.com domain name? If so, you need to understand the difference between a web forward, and actual DNS. What google sees as your referer, well just look at the header my browser sends.

http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js

GET /pagead/js/adsbygoogle.js HTTP/1.1
Host: pagead2.googlesyndication.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://73.20.45.75/healthyweightlossperweek/
DNT: 1
Connection: keep-alive


Notice that line in blue, that is where google thinks the request is coming from, because it is.

Re: adsense not show up on my site

PostPosted: 20. April 2015 12:38
by MonkeyKing
gsmith wrote:It's not an Xampp problem. Xampp just dumps what you see in a View Source to your browser.

I may have a clue though, is your adsense account linked to you healthy-life.mooo.com domain name? If so, you need to understand the difference between a web forward, and actual DNS. What google sees as your referer, well just look at the header my browser sends.

http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js

GET /pagead/js/adsbygoogle.js HTTP/1.1
Host: pagead2.googlesyndication.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://73.20.45.75/healthyweightlossperweek/
DNT: 1
Connection: keep-alive


Notice that line in blue, that is where google thinks the request is coming from, because it is.


before i tried http://73.20.45.75/healthyweightlossperweek/ without domain ads still not show up