How do I add adsense or other ads in a asp.net ajax/ajax based application ? (ex. ra-ajax samples page) or GWT
Is creating an iframe a viable solution?
As stated below, placing adsense script is easy. But the google bot wont be able to scan my ajax based page, as all of the content is javascript. There wont be contextual ads. So wont be able to monetize. It would be great for static ads. Any idea/inputs?
Google AdSense is technically an Ad Network, although one that is quite different to any other Ad Network. Since it's launch in 2003, AdSense has been helping websites of all sizes to earn money by serving ads on their websites.
To display AdSense ads on your Google Site, select 'Monetize' under 'Site Settings'. Click the 'Monetize this site' button to enter your AdSense account information.
It seems like what you want to do is load up AdSense and then dynamically refresh/change the advertisements based on content delivered via AJAX.
Unfortunately, this is against the AdSense Program Policies; I just posted a long answer about this here: Refresh a Div that has a Google ad inside it
Google recommends against the iframe approach, as it breaks the contextuality of their ads (due to there being no content to work with on the page calling the ad).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With