Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense and PHP Pages

         

rapidcars

6:45 am on Jun 9, 2004 (gmt 0)

10+ Year Member



I'm about to change my site so it uses dynamically generated webpages using PHP. The code for my adsense banner will not longer be on the page itself but in one of the files that will be included on the page. Will this affect the way adsense targets ads?

dvduval

7:18 am on Jun 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You are fine. Do a "view source" on the page in your browser just to make sure the Google code appears exactly as it should.

gethan

9:03 am on Jun 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just to reiterate - adsense will target correctly if you are including the adsense code via a php file.

I do something similar but a little more sophisticated with php, as long as the adsense code appears correctly in the final source.

richmondsteve

11:25 am on Jun 9, 2004 (gmt 0)

10+ Year Member



rapidcars, you might want to see the thread Placing adsense coding in a php include file [webmasterworld.com] from a few days ago.