Q&A: GOOGLE AD ISN’T SHOWING UP ON MY WEBSITE?

Question by Alex L:
Google Ad is not showing up on my website?
Ive followed all the guidelines and chosen all the options i want all on their adsense site. I get the html code and copy and paste it into the html part of my website that i created free with google sites.
I click “update” and this message comes up – “Your HTML either contains unsafe tags (iframe, embed, styles, script) or extra attributes. They will be removed when the page is viewed.”
No ads are showing on my website. What do i do?
——————————————
Answer by psychopiet
Get a decent HTML editor.
——————————————
Give your own answer to this question below!









about 2 years ago
I think that you’ll want to look into languages like PHP and ASP.
I don’t think JavaScript can do what you want, as it operates on the client side, not the server (where the database is). If you’re proficient in JS though, PHP shouldn’t be too big of a step to learn. Plus it’s free.
about 2 years ago
I don’t think so. You must embed the codes (Javascript or VBscript) to a scriptting programming language like ASP (Active Server Pages)
about 2 years ago
Javascript wont be able to do it because it is a client side language. You can definitely do it with PHP, Perl or another server side language.
You will need a script that access the database using some queries and then display the returned data in whatever way you want.
about 2 years ago
You need a server side scripting language. javascript runs on the users browser so once the page is there its too late to change the content (not really but conceptually).
Have a look into PHP. it is open source (free) and the most widely used language. it also has many extensions for database connections. The purpose of php is exactly what you’ve said, you cant make thousands of html pages so php and othes like ASP and JSP dynamically create them.
about 2 years ago
Yes, if you use it with PHP. You should just use PHP, though.
about 2 years ago
While it would be possible, it is a very bad way to of doing this. Javascript is client side, so any of your connection settings (server, username, password) would be exposed to the client. Not to mention the HUGE risk of make SQL injection trivial for anyone who can right click > view source.
Another reason is performance, making many round trips to a database from the client to generate an HTML page would be very time consuming and very hard on the database. Because you would not be able to cache the results in Javascript, you would be calling the database to construct the page every time someone views it.
What you want is a server side language (PHP, C#, etc…). Any of these languages will allow you to create dynamic pages.
For example, if you have a parts table and want to view details of a part:
In HTML pages, you go to parts_details_XXX.html (requiring lots of HTML pages)
In PHP (or others), you go to parts_details.php?id=XXX (requiring one PHP page)
While creating a website with this functionality is not easy a simple thing to do, it is highly perferable and a much better solution to lots and lots of HTML pages.
about 1 year ago
First person is correct, get a different html editor, or open the page directly using notepad and add the google adsense in there. If you get a different html editor, try pagebreeze, its pretty simple to use.
about 1 year ago
contact
Google Adsense help forum here you ‘ll find answer .