1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Google Adsense Issue

Discussion in 'XenForo Questions and Support' started by Rum Runner Entertainment, Apr 17, 2015.

  1. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    I've gotten code and it looks like my adsense account is working fine, although the code I put in the sidebar template is not showing up. It's showing up as this:

    Screen Shot 2015-04-16 at 11.36.19 PM.png

    Instead of being an actual responsive ad. Any help?

    Thanks!
     
  2. Mike

    Mike XenForo Developer Staff Member

    I'm not seeing any obvious error on your site, but it sounds like the ad code HTML/JS wasn't inserted properly.
     
  3. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Hmm, I see. Where exactly am I supposed to insert the ad unit code?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

  6. Mike

    Mike XenForo Developer Staff Member

    I couldn't see the problem so it's hard to make a specific comment. If nothing is showing, that would normally be related to Adsense not serving anything (perhaps because the site is still being approved). What you showed in the first post would imply incorrect code was added though. We'll need to see the error to give any comment though.
     
  7. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    It says that the site has been approved, and I think I need to add some code..? Still kind of confused because I tried putting in ad unit codes although they weren't showing up, so I'm guessing that I need to put in a general code for site confirmation..? But I'm confused of where I need to put that.
     
  8. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Maybe this will help?

    Screen Shot 2015-04-20 at 11.34.45 PM.png
     
  9. Mike

    Mike XenForo Developer Staff Member

    Well, looking at your site, I can see the container for the ads and the iframe it's creating, so the code is presumably (roughly) correct. However, I'm not seeing an ad, but that may be something you'd need to contact Google about. That said, it may be because you're trying to insert a 728x90 ad into the sidebar -- you'll really need a different ad unit type there.
     
  10. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Okay thanks.
     

Share This Page