Asp.Net 2.0 and Google 's AdSense

Last post 02-14-2007 5:42 PM by Sharp-Developer.NET. 5 replies.

Sort Posts:

  • Asp.Net 2.0 and Google 's AdSense

    10-02-2006, 12:48 PM
    • Contributor
      3,569 point Contributor
    • shapper
    • Member since 11-28-2004, 9:15 PM
    • Posts 2,947
    Hello,

    Does anyone knows an Asp.Net 2.0 control for Google's AdSense?

    Thanks,
    Miguel
  • Re: Asp.Net 2.0 and Google 's AdSense

    10-02-2006, 1:47 PM
    • Star
      8,834 point Star
    • MorningZ
    • Member since 07-22-2002, 2:39 PM
    • Fort Lauderdale, FL
    • Posts 1,815

    All AdSense has you do is put Javascript on your page(s), which simply do document.write in the HTML... as such, there is no server control for it

    if you are dead intent, and i have no clue why you would be, on getting it into a control, you could put the javascript in a UserControl and use that in your page(s)

    "If you make it idiot proof, they'll build a better idiot"
  • Re: Asp.Net 2.0 and Google 's AdSense

    10-02-2006, 1:59 PM
    • Contributor
      2,948 point Contributor
    • joeaudette
    • Member since 05-29-2006, 10:46 PM
    • Posts 593

    I agree no need for a control. I put my google ad script in my master page and then its on every page in the site, very simple.

    Cheers,

    Joe 

  • Re: Asp.Net 2.0 and Google 's AdSense

    10-02-2006, 7:19 PM
    Answer
    • Contributor
      3,569 point Contributor
    • shapper
    • Member since 11-28-2004, 9:15 PM
    • Posts 2,947

    Do you know how to place the script at runtime?

    Thanks,

    Miguel 

  • Re: Asp.Net 2.0 and Google 's AdSense

    10-02-2006, 7:30 PM
    • Star
      8,834 point Star
    • MorningZ
    • Member since 07-22-2002, 2:39 PM
    • Fort Lauderdale, FL
    • Posts 1,815

    shapper:
    Do you know how to place the script at runtime?

    http://www.google.com/search?complete=1&hl=en&q=asp.net+add+javascript+to+page

    "If you make it idiot proof, they'll build a better idiot"
  • Re: Asp.Net 2.0 and Google 's AdSense

    02-14-2007, 5:42 PM

    I'm developing free one: http://AdSenseASP.NET/2.0-WebControls/ - ASP.NET 2.0 web controls library for Google AdSense. Consists from AdSense AdUnit, AdSense Link unit, AdSense ReferralUnit ASP.NET web controls.

    There is a live demo on the web site: http://AdSenseASP.NET/Sandbox/ so you could take a look to the web controls functionality before downloading.

    The diffference to others is that it has configuration module so you could configure parameters like Google AdSense PublisherID, AdSense channels, colors, etc on by per website basis. So you don't need manage it for each page and web control.

    So you could give a try to my http://AdSenseASP.NET/ library.

    Let me know if you have any thoughts - will apreciate any feedback.

    More about me at http://sharp-developer.net/CV/

Page 1 of 1 (6 items)