Monday, August 30, 2010

How to Create a Popup ad (Adsense or what ever)

When visiting some blogs and webpages we have seen some advertisements appear on top of the content. And they will clover some of the useful content till reader clicks on them several times. It appears to be a pain for the users. But good for the people who want to advertise well. You can see how it appears from the demo here.
Now we'll see how to create this kind of advertisement. Here we have used AdSense as the provider.
  • Login to your blog, And open the Design Tab. -> Edit HTML -> Check "Expand Widget Templates"
  • Search for the tag. And we are going to place 
    
    
    • Now save that and get out from the editor.
    • Next goto "Add a Gadget" in "Page Elements"
    • The you need to paste the code below in a HTML/JavaScript Gadget ( Which you normally use to paste your AdSense code.

    Sample Embeded Code For Ads:
    • Fill the part between line 7 and 8 with your AdSense Code
    • Now this is ready to go. Enjoy !
    The original document was created by http://www.blogger-widget.com/2010/07/how-to-create-floating-ads-in-blogspot.html

    3 comments:

    Ashish said...

    I have heard that google adsense dont allow popup ads. so is this kind of ads allowed for Google ads ??
    thanks
    http://discoverdreamland.blogspot.com

    Dinesh Wijekoon said...

    As i know they dont allow popup ads if they cover content in the page. For an example you cant have these ads covering your video stream or blog content. Else i guess google dont care. http://www.srilankatravelblog.com/

    Ashish said...

    Sorry i didn't get what you were trying to explain me. Are you trying to say that we can't alter ads content or something like that? Please clarify. By the way thanks for your reply.
    http://discoverdreamland.blogspot.com