• Cevi

    (@cevi)


    Hi guys. I am using a child theme and everything is great except that one of my responsive ad unit is not showing. I use it in the middle of the post so until the few past days everything was working great and now this problem occurred. I’ve read somewhere that might be theme related so please if you can give me some directions.
    Here is a link from one of my posts and as you can see the ad unit in the middle of the post is shown as a thin yellow line.
    One friend said that this error came up when he inspect the page:

    “Uncaught Error: Cannot find a responsive size for a container of width=0px and data-ad-format=auto”
    Thanks, waiting for your reply.

    P.S. I’ve tried replacing the responsive ad code with a fixed size ad code and the ad shows up. So there is something with the responsive add unit i guess.
    Help please.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where did you get the advert code from? Which theme causes the issue?

    Thread Starter Cevi

    (@cevi)

    The theme is Dynamic News Lite and I’ve already wrote on their support page but no response till now. The code is the original one form the Ad Sense. The ad was working perfectly fine few days ago and suddenly stopped showing.
    I’ve asked the same question on the Ad Sense forums and they’ve told me that maybe it’s site related.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you link to a page with the problem?

    Thread Starter Cevi

    (@cevi)

    Sorry i forgot that. Here is the link.
    As you can see the middle ad shows as a thin yellow line.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What is the advert code you’re inserting, and where are you inserting it in the dashboard?

    Thread Starter Cevi

    (@cevi)

    I’m not sure if would be ok to paste the code here generated from adsende. And I’m using the quick adsense plugin for WordPress. I’m also using another plugin for click fraud monitoring which is putting a div tag around the code but it’s totally fine with it because I’ve already tried the original code without the div and still the ad won’t show.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I think this issue really is specific to your theme or plugin, and you should wait for a response.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Responsive ad doesn't show’ is closed to new replies.