Adsense Inclusion Code - Posted (752 Views)
Starting Member
arcos
Posts: 23
23
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<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
bobby131313
Posts: 1163
1163
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.<
Posted
Starting Member
arcos
Posts: 23
23
Have created file with Google Adsense Code but nothing has changed. The ads are still appearing on the WRONG pages.
Anyone help?
Thanks<
 
You Must enter a message