Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Adsense Inclusion Code
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

arcos
Starting Member

Spain
23 Posts

Posted - 24 August 2006 :  15:11:15  Show Profile  Visit arcos's Homepage  Reply with Quote
Hi

I found this whilst searching for code to INCLUDE adds in specific pages.

'########### start google ads
if not(Instr(Request.ServerVariables("Path_Info"), "default.asp") > 0) and _
not(Instr(Request.ServerVariables("Path_Info"), "active.asp") > 0) and _
not(Instr(Request.ServerVariables("Path_Info"), "forum.asp") > 0) and _
not(Instr(Request.ServerVariables("Path_Info"), "topic.asp") > 0) then
GoogleAdOK=FALSE
else
GoogleAdOK=TRUE
end if
if GoogleAdOK=TRUE then
%>
<!--#INCLUDE FILE="inc_google_adunit.asp" -->
<%
end if
'########### end google ads

However, I dont seem to be able to get it to work as there is no file inc_google_adunit.asp

Can someone please advice on making this work correctly and where exactly to add the code?

I am modifying the inc_footer.asp file

Thanks<

bobby131313
Senior Member

USA
1163 Posts

Posted - 24 August 2006 :  15:50:39  Show Profile  Visit bobby131313's Homepage  Reply with Quote
quote:
However, I dont seem to be able to get it to work as there is no file inc_google_adunit.asp

You need to create that file with your personalized adsense code in it.<

Switch the order of your title tags
Go to Top of Page

arcos
Starting Member

Spain
23 Posts

Posted - 24 August 2006 :  16:41:18  Show Profile  Visit arcos's Homepage  Reply with Quote
Have created file with Google Adsense Code but nothing has changed. The ads are still appearing on the WRONG pages.

Anyone help?

Thanks<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07