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.

Strange adsense ads.

Discussion in 'Placement / Reviews / Examples' started by dotcompals, Jun 19, 2006.

  1. #1
    I just implemented a 728 x 90 txt ads to one of my new pages. To my surprise I am getting a different kind of ad displaying in my pages.
    Please see below


    [​IMG]]

    Click here to see the strange ad. screen shot


    Can any one explain this before I ask G.
     
    dotcompals, Jun 19, 2006 IP
  2. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #2
    When I put my ads into my new directory I embedded it into the PHPLD templates so the code was alittle weird.

    Not working version
    
    {strip}
    template codes
    more codes etc
    
    {GOOGLE ADS CODE}
    
    more codes
    {/strip}
    
    Code (markup):
    Here's how I fixed it
    
    {strip}
    template codes
    more codes etc
    {/strip}
    {GOOGLE ADS CODE}
    {strip}
    more codes
    {/strip}
    
    Code (markup):
    I added the end strip before the code so it didn't strip the code you could try that and see if it works?
     
    MediaHustler, Jun 19, 2006 IP
  3. Zany_Jim

    Zany_Jim Peon

    Messages:
    144
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    When using javascript in sfotware that uses phpsmarty put all javascript you include in your templates wrapped in the:

    {literal} {/literal}

    Tags.
     
    Zany_Jim, Jun 19, 2006 IP
  4. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #4
    What he said basically summed up my post. :D
     
    MediaHustler, Jun 19, 2006 IP
  5. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i hate smarty. :D
     
    tonyinabox, Jun 19, 2006 IP
  6. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #6
    like Zany_Jim said it is just a matter of two tags ... {literal}adcode{/literal}
     
    iatbm, Jun 19, 2006 IP
  7. Alva Ed

    Alva Ed Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I got this Strange adsense ads display before too. It was not always like that, sometime it was normal, sometime not. Now didn't happen at all.
     
    Alva Ed, Jun 19, 2006 IP
  8. MediaHustler

    MediaHustler Well-Known Member

    Messages:
    1,857
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    120
    #8
    You got what I like to call an Adsense Fart, it happens after your adsense eats a big breakfast.
     
    MediaHustler, Jun 19, 2006 IP
  9. Mark Davies

    Mark Davies Well-Known Member

    Messages:
    213
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #9
    Wow how werid!
    Google never a dull moment!
     
    Mark Davies, Jun 19, 2006 IP
  10. dotcompals

    dotcompals Prominent Member

    Messages:
    2,905
    Likes Received:
    254
    Best Answers:
    0
    Trophy Points:
    320
    #10
    Friends,
    Now I am getting the regular ads. I used 'include' function after placing the adsense code as a ".tpl" file in the templates directory of phpLD.
     
    dotcompals, Jun 20, 2006 IP
  11. Harmony

    Harmony Well-Known Member

    Messages:
    1,846
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    120
    #11
    Ya, I had the same problem as you and did the same thing.
     
    Harmony, Jun 20, 2006 IP