i have code for google ads and I put in my blog show that <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> <script type='text/javascript'><!-- google_ad_client = "pub-1027961043641118"; google_ad_host = "pub-1599271086004685"; /* 728x90, created 13/06/09 */ google_ad_slot = "6266929024"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'> </script> <head> but google ads not appear
It appears that you've place the google code above <head> tag, and I think that's your problem. Try to place it within the <head> and </head> tags.
Actually it needs to be in the body of your content, not in the head section. Try putting the code in a text widget to show on your sidebar, or in your single.php file to show on single posts, if you are using Wordpress.
Yes it's better in the body of your content, but it takes a little time before the first ads appear if you have just put the code on your page so you might have to wait.