Welcome to Geeklog, Anonymous Friday, May 03 2024 @ 11:43 pm EDT

Geeklog Forums

Google Ads Won't Display


Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
I want to display the following ad in an article:

Text Formatted Code
<script type="text/javascript"><!--
google_ad_client = "pub-3641176656313403";
/* 468x60, created 3/24/08 */
google_ad_slot = "9756647965";
google_ad_width = 468;
google_ad_height = 60;
google_cpa_choice = ""; // on file
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


When I put it in the body of an article, nothing shows up. Why not?

Don
http://www.panama-guide.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Did you check that your code actually ends up in the article? Why does Geeklog remove certain HTML tags?

bye, Dirk
 Quote

Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Ha! Now, that's goofy. I just went to check if the html code was there (it is) and the ad was there! The only thing that had changed is that I had automatically logged out (timed out) for lack of activity.

I logged back on, and the ad that I'm trying to display disappeared. Logged off, and it came back.

What's up with that? Thanks for helping, Dirk.

Don
http://www.panama-guide.com
 Quote

Status: offline

winnerdk

Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
And, once I logged off and the ad displayed, I pulled the source and the following is present in the article:

Text Formatted Code
<script type="text/javascript"><!--
google_ad_client = "pub-3641176656313403";
/* 468x60, created 3/24/08 */
google_ad_slot = "9756647965";
google_ad_width = 468;
google_ad_height = 60;
google_cpa_choice = ""; // on file
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
 


So, the code is there and the issue with html codes allowed by the config.php file is not an issue.

Don
http://www.panama-guide.com
 Quote

All times are EDT. The time is now 11:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content