TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:18:44 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 151
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 142
  • Total: 143
  • tino

AdSense

Started by Sharr76, June 19, 2007, 09:22:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sharr76

Hi all

when creating an article in Article Manager is it possible to add in some adsense code? if so how do you do it?  ???

Lesmond

#1
Yes, If you use the text editor, and use html in the article, you can then place the adsence code where you want the add to appear.

something like this here

Sharr76

Hi Lesmond,

I have this code below in my article and nothing is showing? :-\ Have I done it right?

<html>
<body>
<script type="text/javascript"><!--
google_ad_client = "pub-6644828315604403";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "CCCCCC";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</body>
</html>

IchBin

<html> and <body> tags are not necessary. See if it works after removing those 4 tags.

Sharr76

No its just showing empty?

Sharr76

I have got it working, thanks all

gffb

how did you get it working?

Sharr76

Link to what it looks like: http://www.ndex.org/index.php?PHPSESSID=e708ca51db576b7c5996fdf5dbe09b79&page=22

I used WhizzyWig editor and then clicked on the HTML button, I typed some information in first then added the code, I had the "Article is Active" highlighted and then I saved it straight away.

When you next look at the article is should be showing, I could not see mine using the Preview link.

:smiley6600: