Forum Moderators: martinibuster

Message Too Old, No Replies

putting adsense in includes

Will G think I am displaying adsense in blank pages?

         

pompousjohn

6:44 pm on Oct 7, 2005 (gmt 0)

10+ Year Member



So lets say I make 3 pages with nothing but adsense in them and then reference them in a little box from each page in my site, will G think that the ad units are on blank pages, since the pages being included hold basically nothing but the adsense code?

If not, will targeting work? My site has a common theme for each page, so I am sure I can manipulate ad targeting by keywords and descriptions, just wondering if anyone else has tried this.

lightning2004

6:49 pm on Oct 7, 2005 (gmt 0)

10+ Year Member



sounds good,but i think you can only have up to 3 banners per page?

pompousjohn

6:51 pm on Oct 7, 2005 (gmt 0)

10+ Year Member



Yeah, that's what I mean, one adsense unit in each include page.

ann

6:53 pm on Oct 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds good. When the bot calls the page it will execute the code and the bot will 'see' the completed page with the adsense ads same as any other browser calling it. I think...;)

Ann

ionchannels

6:54 pm on Oct 7, 2005 (gmt 0)

10+ Year Member



Yes, you can do this. We do it with PHP includes and it works very well. Never had a problem and it is much easier to change the format once and have it migrate to every page in our network. I couldn't imagine doing it any other way. Remember, that what google sees is only the final rendered HTML page and not the parts which were stitched together to create it.

pompousjohn

7:26 pm on Oct 7, 2005 (gmt 0)

10+ Year Member



Thanks, good to know this is the case.

I assumed as much, but I needed confirmation.

andrea99

7:33 pm on Oct 7, 2005 (gmt 0)



Yes. I have used ssi shtml includes for one block of ads and conventional "ad text in page" for two others on the same page, never had a problem. Made it much easier to switch adlinks with button or to replace the ad entirely globally just by changing the include page.

wizarddave

8:34 pm on Oct 7, 2005 (gmt 0)



Just to be clear, you said, "3 pages with nothing but adsense in them and then reference them in a little box from each page in my site". That can be accomplished two ways.

Method one: these little pages included via something like php (as commented above) or CGI. This way, the content is all presented together and it does all look like one page to Google, therefore this is OK.

Method two: these little pages included by using an IFRAME. With this method, the content is not perceived by the ad server to be part of the overall page, and would look to google like little pages being served with nothing but an ad on them. This would be BAD.

pompousjohn

9:32 pm on Oct 7, 2005 (gmt 0)

10+ Year Member



Wizard Dave,

I used the insert function from FP, (I am too much of a newbie to use php or cgi yet) Is this ok?

BTW the adsense is in cells in a table, not frames.

europeforvisitors

9:47 pm on Oct 7, 2005 (gmt 0)



Pompousjohn, you can use AdSense ads in FrontPage include pages or shared borders, as you prefer. (I use shared borders for all of my ads and navigation bars.)

pompousjohn

9:56 pm on Oct 7, 2005 (gmt 0)

10+ Year Member



ok, wow if I had figured out how to put it in a shared border I wouldn't have had to just spend all day rewriting my whole site.

Well at least I got more familiar with HTML spending all that time cleaning FP's messy code by hand. ;)

europeforvisitors

10:56 pm on Oct 7, 2005 (gmt 0)



Well at least I got more familiar with HTML spending all that time cleaning FP's messy code by hand. ;)

FP's code doesn't have to be messy. You just have to know the program well enough to be familiar with its options and how to use them. (For example, if you let the program generate your tables of contents and navigation bars, you'll have a lot of code, which is fine on a corporate intranet but not so fine on a public site that people may be accessing with a dial-up modem.)