1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How To Make Your Own Alternative Ads

Discussion in 'AdSense' started by NoobieDoobieDo, Jul 10, 2006.

  1. #1
    Hi,

    So recently I got tired of getting PSA's and decided to look into this alterntive ad thing. I decided that using a color that makes it a blank space isn't for me; it's not doing anything good for my pocket book - plus visitors will get different views of the site depending on when they visit.

    So I set out to make my own alternative ad, this is actually VERY easy.

    You only need 3 things :

    1. An image the size of the ad block.
    2. A simple html file which makes the image a link.
    3. Insert this code into the third line of your adsense code (under your pub-0129103 number) :
    google_alternate_ad_url = "http://yoursite.com/adurl.html";


    Wha-la, you now have your own alternative ad showing whatever you want.

    Sorry if this has already be covered.
     
    NoobieDoobieDo, Jul 10, 2006 IP
  2. TommyD

    TommyD Peon

    Messages:
    1,397
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You mean a simple set of tags like <a><img></a>

    Or

    a basic full html page. <html><body><a><img></a></body></html>

    ?

    tom
     
    TommyD, Jul 10, 2006 IP
  3. loopy62

    loopy62 Peon

    Messages:
    668
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hmmm, isn't that tampering with the code thus a violation of the TOS?
     
    loopy62, Jul 10, 2006 IP
  4. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you can prolly get away with a simple <a><img</a> tag set but i went on the safe side and did the fulll <html><head><body> etc etc..
     
    NoobieDoobieDo, Jul 10, 2006 IP
  5. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #5

    you can regenerate the full code if you want, but that's the one line it's going to add.
     
    NoobieDoobieDo, Jul 10, 2006 IP
  6. urbanstereotype

    urbanstereotype Peon

    Messages:
    595
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    that is against TOS unfortunatly, great idea though!
     
    urbanstereotype, Jul 10, 2006 IP
  7. TommyD

    TommyD Peon

    Messages:
    1,397
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Then go back to the AS wizard and directly enter "http://yoursite.com/adurl.html" into the alternative ads box.

    tom
     
    TommyD, Jul 10, 2006 IP
  8. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It perfectly matches the code they generate, there's no way for them to know. As I said, feel free to regenerate all the code for every ad if you please.
     
    NoobieDoobieDo, Jul 10, 2006 IP
  9. urbanstereotype

    urbanstereotype Peon

    Messages:
    595
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #9
    ah ha....so simple
     
    urbanstereotype, Jul 10, 2006 IP
  10. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #10
    Tampering with the code is bad.
    They will find out.
    Easiest way is to go to adsense, and there you can change it so psa ads do not show, and you can have something else show up.

    Yet someone else who has not read the TOS.
     
    iowadawg, Jul 10, 2006 IP
  11. shamess

    shamess Well-Known Member

    Messages:
    1,127
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    185
    #11
    Iowadawg, you should read the rest of the thread. Someone already said that its not tampering with the code, if you set your own alternative ads with the Google wizard it will generate the exact same code. So its imposible for them to a) know or b) give a damn about.

    Unrelatedly, I thought I'd point out that you can only have alternate ads if they don't look like Google Adsense, since its against the TOS to imitate Adsense.
     
    shamess, Jul 10, 2006 IP
  12. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Personally I chose to use alternative ads to promote my other sites.
     
    NoobieDoobieDo, Jul 10, 2006 IP
  13. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #13
    Aye its a good idea :D
     
    Darkhodge, Jul 10, 2006 IP
  14. loopy62

    loopy62 Peon

    Messages:
    668
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Direct quote from AS:

    So it's not against TOS.
     
    loopy62, Jul 10, 2006 IP
  15. mariush

    mariush Peon

    Messages:
    562
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #15
    The ideea is to use the alternate ad url in the Adsense setup page.

    You must create a simple html page on the site, something like this :

    
    <html>
     <img src="http://www.yoursite.com/alternate_ads_dir/alternate_ad.jpg" width="480" height="60" />
    </html>
    
    HTML:
    The code mentioned above is adequate for a 480x60 Adsense block, if the image is itself at that size. Same thing applies for any ad format, just be sure to get the right size image.

    You should use the < html > and < /html > tags because ( I believe ) Adsense creates an iframe where the adsense ads would be and loads the specified page in the iframe.
     
    mariush, Jul 10, 2006 IP
  16. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
  17. AndyG

    AndyG Peon

    Messages:
    275
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Now if only I could have it show other ads instead of blank space when it can't find any ads to show and no PSA either.. Anyone know how to do that besides totally removing the adblock for the time being? It gets ads about 25% of the time, the rest of the time it's a solid color blank space.
     
    AndyG, Jul 10, 2006 IP
  18. shamess

    shamess Well-Known Member

    Messages:
    1,127
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    185
    #18
    Add more content, that way the crawlers will have more choice of words to aim the ads at, if that makes sense ^^;;
     
    shamess, Jul 10, 2006 IP
  19. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #19
    Also section targeting once you have content to refine the adverts being displayed. :)
     
    Darkhodge, Jul 10, 2006 IP
  20. TommyD

    TommyD Peon

    Messages:
    1,397
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    0
    #20
    TommyD, Jul 10, 2006 IP
    jazzylee77 likes this.