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.

is html or css the problem? Responsive ads not working correctly. It’s trying to fit a 728x90 ad int

Discussion in 'HTML & Website Design' started by Jorge1211, May 25, 2016.

  1. #1
    Hello,

    Please help. Not sure if html or css is the reason for the problem.

    The problem that I am having is that when I insert the google responsive ad code into the html of the weebly html/css theme page,… this happens:

    -The 1st top ad shows up perfectly on desktop and perfectly on mobile,

    -But then the 2nd ad (mid page) shows up with 728x90 ad and cannot fit into that space so it ads a scrollbar on desktop but looks perfectly on mobile.

    -And the 3rd ad (end of page) shows up with a 728x90 ad with scrollbar on desktop but perfectly on mobile.

    But… when I hit refresh I then get the full ads for all 3 google ads perfect on desktop and perfect on mobile.

    But when I see the page again, a new time, I keep seeing the scrollbar for the 2nd and 3rd ad, until I hit refresh again.

    It seems that the responsive ad is trying to fit a 728x90 ad into the 336 ad space rather than a 336 or 300 size ad.

    Please see example:

    http://howtoquitheroincom.weebly.com/what-is-heroin.html

    http://howtoquitheroincom.weebly.com/what-is-heroin-addiction.html

    1st ad shows up perfect on desktop and perfect on mobile but 2nd and 3rd ad seems like the adsense responsive ad code is trying to fit a 728x90 banner into that space and thus creating a scroll bar.

    But when I hit reload, refresh, the ad displays correctly as a 336x280 or 300x250 ad.

    I searched, read and implemented google’s trouble shooting instructions on this issue but it didn’t work for my site, and I was assuming that other weebly customers may have had this problem with google responsive ads as well and where able to maybe add some type of additional code to correct the problem.

    If you or anyone out there understands why this is happening, (code trying to fit a 728x90 ad in that 336 space and thus creating the scrollbar showing up on google responsive ads until you hit refresh), and may know of or have been able to find a solution to this problem then please let me know. I would appreciate yours or anyone’s help on this very important matter very much. Thank you. And have a great day.

    jorge
     
    Jorge1211, May 25, 2016 IP