Well recently I decided to stop relying on free sites and purchase a domain and a hosting plan from 1&1. The thing is, I tried posting the raw html of the adsense ad like listed on the adsense setup page, and usually, it would appear as an ad. But to my suprise, the raw html stayed well, raw html. Im curious to know what I could possibly do to remedy this situation. Im trying not to have to switch to other services becuase at the moment im pretty broke. Any ideas guys?
Make sure the file extension is .html, and make sure you're using a text editor like notepad to preserve formatting.
<script type="text/javascript"><!-- google_ad_client = "pub-6613910820738820"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_ad_channel = ""; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> I didn't mess up the code when I was pasting it onto the site. The site builder they provided didn't change the raw html into an ad like it does on blogs and other things. :?
Look for an HTML button on the site builder... or don't use the site builder to paste in adsense code.
I would recommend against using a site builder supplied by your hosting company. You don't want to get locked into one hosting company, especially one with a spotty history. You would be much better off if you use an open source HTML editor such as Nvu and learn to upload the files yourself. This way you can easily move to another host if there are any problems. Also, I think giraph is correct, you need to be sure to input the ad code in an HTML screen not a WYSIWUG design screen.
Unlike the blog services im used to using for adsense like SquareSpace, they actually have the option to go into raw html mode, but this site builder doesn't have it. I've contacted them like 5 times and have yet to recieve a response. How could I possibly use adsense on this site if I can't even make the html work right?
It would be a lot easier for us to help you if we could see the site. What probably is happening is that the post is turning the the code into html, instead of being code. For example, making the < Code (markup): a < Code (markup): . But who knows... are you sure your provider even allowed javascript?
I agree with PoemofQuotes. See if there is an option somewhere to not change the html code. It has happened to me before and I couldn't figure it out.
I contacted technical support but they can only give me this, "If you post it, it should work". Yet I've done that 4 times and nothing was wrong with the code. And I don't know if they allow javascript or not, but alot of the sites they host do seem to use html ads..
1and1 Internet supports basically everything other hosts do. I used it before, and Google adsense works fine. Maybe he's using the 1and1 Website Builder thing, it causes problems with everything. As someone else said, I recommend using your 1and1 Admin Panel to set up a FTP account, use a program on your computer like Nvu or an HTML editor, upload the files that way. Much better.
What is Nvu by the way? I'm not that knowledgeable to HTML thats why I'm more into Site building software becuase I'm so novice.
You will need (at least) two programs: FTP Client: Filezilla HTML Editor: Nvu Create your site using Nvu. Use Filezilla to upload your website files to your web server. You will need the FTP server settings that your host (1&1) provided. Or you may have to create and FTP account for yourself using the 1&1 control panel. Now, when your ready, you can easily move to a better web host company
I think he upload a file html with content: when begin to test , nothing show! 'coz he place ads code in an empty page. That's right?
Honestly I have no idea what your talking about. Thats why I haven't been able to do anything so far. I don't know what your talking about by server info or such. All I got when I got that domain was a welcome email but nothing else.
What html editor are you using? I would recommend the following (in this order): Dreamweaver, Front Page, Notepad. I use 1and1 and I never had this problem.