Forum Moderators: martinibuster

Message Too Old, No Replies

iframe and adsense ads

is it ok?

         

digic

6:07 am on Jan 31, 2007 (gmt 0)

10+ Year Member



My site is currently in html format. And some 1,500 of them are currently being edited to place adsense ad on the sidebar.

I am using iframe (on all 1,500 pages) to call an external page (sidebar.htm) that is containing the adsense code.

I do it this way so that each time I want to change the ad/contents i will just have to edit one external file (sidebar.htm) and not all the 1,500 pages.

Has anyone done this? Will this violate TOS? Will it have conflict on the ads in terms of referrals because the click that it will generate will all come from a single page (sidebar.htm)?

Are there any other code/script that does the same trick?

chocorol

7:04 am on Jan 31, 2007 (gmt 0)

10+ Year Member



Why don't you better use php includes? I think that if you use iframes you are likely to get untargetted ads.

digic

8:17 am on Jan 31, 2007 (gmt 0)

10+ Year Member



chocorol, I'll consider that. thanks

joelgreen

9:57 am on Jan 31, 2007 (gmt 0)

10+ Year Member



you could also try SSI (if your hosting allows that). In this case you put SSI directive into your page to include sidebar.htm. Resulting page would contain both: content and AdSense. It has some restrictions though. Try searching for "SSI example" to learn more.