Is there any php or other code that I can use to check if google ads have been loaded and if so set a variable. Scenario: - I use a banner system to dynamically load google ads - I include another page into my script via cURL and other methods essentially i want a script that reads the page contents, sees if google ads is loaded, and if it is sets a variable that I can parse. Any ideas? Daniel
You may have to use Javascript for accessing the document objects. This was you could search for Google Adsense code. Alternatively, if you are using CURL with PHP why not iterate through the document as you are fetching it from a remote location. You could search for the Google Adsense code. This method is prefered as there isn't an easy for interacting between PHP and Javascript without reloading the webpage. Hope this helps. Regards, AcPlus
You may be able to attach some kind of onload to the adsense that triggers an ajax call when the adsense loads.