Forum Moderators: martinibuster
I am a novice compared to most of you, I have a question about php and Adsense.
At the moment I have static html pages about locations, I have in the last 2 months been adding Adsense code to these pages, all works well and I have location based ads being displayed.
This all makes sense to me, but I was planning on changing my location based html to php and have a single php script called google.php for example and all of my now php location scripts include the google.php script.
include ("google.php");
Does this make sense.
I tried this on a test page and it still returns the appropriate location based adds, I am confused if its reading the old page data or the new one.
Whe I renanmed my page from .htm to .php It seemed to deliver the appropriate add straight away, I heard the update takes 1-2 days to deliver appropriate adds.
The question is if I change all of my pages to php will adsense still deliver the appropriate location based ads considering that these pages are dynamic.
All of these pages are deep in my site, I created a site mape which references these pages.
Is there anything else I need to do?
Thank you for your help.
"google.php included with the adsense code in it." Yes that is what I ment.
So this way I have the google code once and just include it, it also means I can turn adsense off If I wanted for soem reason or replace the add with something else.
But the main advantage is only one google code, so I can easily change the colours etc.
Thank you again, you have put my minds at rest.