Note: You must be registered in order to post a reply. To register, click here. Registration is FREE! Before posting, make sure you have read this topic!
T O P I C R E V I E W
arcos
Posted - 24 August 2006 : 15:11:15 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<
2 L A T E S T R E P L I E S (Newest First)
arcos
Posted - 24 August 2006 : 16:41:18 Have created file with Google Adsense Code but nothing has changed. The ads are still appearing on the WRONG pages.
Anyone help?
Thanks<
bobby131313
Posted - 24 August 2006 : 15:50:39
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.<