Adsense Inclusion Code - نوشته شده در (753 Views)
Starting Member
arcos
مطلب: 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<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Senior Member
bobby131313
مطلب: 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.<
نوشته شده در
Starting Member
arcos
مطلب: 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<
 
شما باید یک متن وارد کنید