Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/62636?pagenum=1
05 November 2025, 15:53
Topic
arcos
Adsense Inclusion Code
24 August 2006, 15:11
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<
Replies ...
bobby131313
24 August 2006, 15:50
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.<
arcos
24 August 2006, 16:41
Have created file with Google Adsense Code but nothing has changed. The ads are still appearing on the WRONG pages.
Anyone help?
Thanks<