Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense code doesn't work when page is in frontpage web

Ads show up on a page when opened independently but not as part of a web

         

ncpatriot

1:57 am on Jun 16, 2004 (gmt 0)

10+ Year Member



I am a greenee with Adsense. I use FrontPage and have limited html knowledge.
I sent a page to a friend so he could insert the adsense html. The ad, in this case a charity add, shows up if I open the page in my browser. If I put the same page into a web and open that page (the one in a web) there is no ad. Any clues folks?

level80

2:14 am on Jun 16, 2004 (gmt 0)

10+ Year Member



If I put the same page into a web and open that page (the one in a web) there is no ad.

Surely you mean website? The website might not have been spidered yet by the Adsense bot.

newbies

4:21 am on Jun 16, 2004 (gmt 0)

10+ Year Member



I don't think the problem is googlebot has not spidered the page. It may be problem of code placement, somehow adsense code got messed up. I know this because if I put my adsense code on a web page on my laptop web server, it will show PSA. Certainly the page will never get spidered.

digitalv

4:30 am on Jun 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Add this to the list of reasons not to use FrontPage.

wanderingmind

8:47 am on Jun 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Level80, he means Frontpage Web. Its what Frontpage calls a website created using its website creation and management features (as against web page design).

Ncpatriot, most probably, when you put the page with adsense into Frontpage Web, the code got scrambled. Frontpage has got some feature by which code can get inserted without it getting messed up.

Don't we have a Frontpage forum somewhere on WW? Maybe you should ask this question in Webmaster General forum too....

europeforvisitors

2:29 pm on Jun 16, 2004 (gmt 0)



Add this to the list of reasons not to use FrontPage.

Really? Odd. I've never had a problem with AdSense code on my 4,000 or so pages, all of which were created and are maintained with FrontPage. (Which stands to reason, since FrontPage doesn't alter the code.)

The best place to get help with a FrontPage problem (or a Dreamweaver or Homesite or Notepad problem, for that matter) is the "WYSIWYG and Text Code Editors" forum at:

[webmasterworld.com...]

Addendum: In another current thread here, there are reports of ads not being visible to some users because of an Akamai DNS problem that has affected Yahoo, Google, and other megasites in the last 36 hours or so. Look at the uploaded pages in a day or two to see if the ads are displaying correctly.

pageoneresults

2:49 pm on Jun 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



ncpatriot, Welcome to WebmasterWorld!

Add this to the list of reasons not to use FrontPage.

Oh, come on digitalv. The reason you do not see the ads in FrontPage is because they need to be executed at the browser level before you can see them. What you'll see in the FP normal view is a little icon with a J on it that stands for JavaScript.

This can be a little daunting as you cannot see the amount of space that the ad occupies. One way around this is to wrap it in a div and give that div width and height to compensate for the ad size.

pageoneresults

2:54 pm on Jun 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



ncpatriot, do a
Ctrl + Shift + *
to view the J tag I am referring to. Actually, you will see two of them. One is for the script tag and the other is for the noscript tag.

You can also do a

Ctrl + /
to view all html tags.

You should be working in FrontPage with at least the

Ctrl + Shift + *
Show All feature enabled. Without it, you cannot see any bounding boxes, scripts, <br>, <p>, etc.

If I put the same page into a web and open that page (the one in a web) there is no ad.

level80, in FrontPage a website is referred to as a FrontPage Web or Web.

sailorjwd

6:13 pm on Jun 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use frontpage for my website too...
I have encountered the same problem where the PSA will show up when previewing the page from within Frontpage and when I move the page out to my website nothing comes up.

In each case there was a html problem.. usually when multiple <div> sections got defined within the same block of text.