Can I use ajax to call c#?

If I am using AJAX to render entirely different content on a webpage, is it allowable to refresh the Google Adsense slot as well?

  • I'm in the process of developing a system where essentially all content on a page is changing with an ajax call.  We even use pushState to change the URL as it is more or less a new page. Given that only the layout and static assets of the page remains the same, but the content changes, is it allowable to re-render a Google Adsense slot?

  • Answer:

    AdSense is dependent on contextual targeting, so you'd want to pair the AdSense unit to the specific content.  Imagine you're a crawler - if you hit a specific URL, the crawler will render the page at that URL and target content appropriately.  AdSense isn't really designed for non-static content like you suggest.

Rob Kniaz at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.