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.

Adsense code is showing and not the ads?

Discussion in 'Placement / Reviews / Examples' started by MrMarco, Jul 18, 2006.

  1. #1
    I'm lost here guys. Does anyone have an idea why the code shows and not the ad?

    Health Bits

    I recently changed the template and had to redo a few things, as I expected. When I added the adsense code to the editor (which I did witht the last template) I just get the code in the top place. I've tried with the WYSIWYG editor on and off. It's a Joomla template by the way.

    Thanx,
    Marco

    ps:
    I am working on a personalized banner in Photoshop and will be changing it as soon as I'm done.
     
    MrMarco, Jul 18, 2006 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    hans, Jul 18, 2006 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It got character encode by the CMS:

    <script type="text/javascript"><!-
    Code (markup):
     
    T0PS3O, Jul 18, 2006 IP
  4. MrMarco

    MrMarco Active Member

    Messages:
    140
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Hans - I'll correct those issues that came up during the validation. Thanks for the tip. Also, I didn't change the code for the ad. As you suggested I'll contact google and see what they say.

    Tops30 - So Joomla added code to the ad? I still only see what I got from the ad generator at google:
     
    <script type="text/javascript"><!--
    google_ad_client = "pub-****************";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    //--></script>
    <script type="text/javascript"
      xsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
    Code (markup):
     
    MrMarco, Jul 20, 2006 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No, they didn't add anything, they encoded it.

    > becomes &gt; so it is displayed literally, not as a tag.
     
    T0PS3O, Jul 20, 2006 IP
  6. MrMarco

    MrMarco Active Member

    Messages:
    140
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #6
    Ah! I see what you mean... Do you know why and/or how to fix it?
    I've asked at the Joomla forum and have gotten no answers.

    It's funny that it worked for a few months but now it's all decoded.
     
    MrMarco, Jul 20, 2006 IP
  7. MrMarco

    MrMarco Active Member

    Messages:
    140
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    It would seem that the WYSIWYG editor is still affecting the input even after I've disabled it.
     
    MrMarco, Jul 20, 2006 IP
  8. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #8
    Tops30 - So Joomla added code to the ad? I still only see what I got from the ad generator at google:
     
    <script type="text/javascript"><!--
    google_ad_client = "pub-****************";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    //--></script>
    <script type="text/javascript"
      xsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
    Code (markup):
    [/QUOTE]

    MrMarco

    teh code yoiu had displaqyed - was the code as seen in the browser
    but when showing SOURCE in the firefox you had the FIRST < displaqyed as

    &lt;

    that mighht come from a wrong editor - wrong copy and past or using wysiwig where soiurce code mode would have beed needed.

    I don't know the software you use and where you have this adsense code

    let's assume you have it somewhere in a template file

    then just open that template file manually with a clean editor - even wordpad can do if you use XP

    replace the &lt; by <
    or just copy and paste the full code again - in editor mode = NO wysiwig more !!!
    upload and it al should work fine

    if you copy and pase code into aq page while in wysiwig mode you nomrlally may get such display.

    always enter code in source code-editor mode - NEVER in wysiwig !!

    I see now you have all code removed ...
    its just a matter of a minute or so
     
    hans, Jul 21, 2006 IP