Forum Moderators: martinibuster
To make it easier to manage the adds, I placed the add code on its own in a file called google-adds.php.
I then use a php include to include this at the appropriate point in a page.
After moving the site to a new host 10 days ago (not necessarily any connection), I have found a number of cases where my page does not show in the browser, or the page has stopped at the point where the add should be. Removing the include results in a normal page minus the add.
I have tried generating new adsense code to check that was not the cause of the problem.
Anyone found anything similar or have any ideas.
The adds are not causing a 404, simply stopping the php from running (I think).
Try loading your page of google chrome or IE. If it is loading, then the problem is with google. Generally it gets stuck with google-analytics not loading. When the ads are served from double click, I found there is no problem. Also the problem is not there always, but at some time of the day on some days.
Some of the problem got solved when I found that the google analytics code I inserted was wrong. Check the script as it has 2 parts. I had actually removed the top <javascript> and bottom </javascript> but missed out the other <javascript> and </javascript> in between before putting into a separate file. This had actually caused the pages not to load properly and also analytics were not showing.
If the page is fine with IE then mostly it is not your site problem.