Article Inline Ads not showing because of error

Posted in: Newspaper
Post count: 29

Hi Team,
I am using Gadget PRO template. The inline ads were working fine before the latest update.
However, now the ads are not getting displayed and I am getting an error in the console.

message: "adsbygoogle.push() error: Fluid responsive ads must be at least 250px wide: availableWidth=72"
name: "TagError"
pbr: true

Sample URL: https://aneejian.com/deserialize-json-uipath/

Screenshots
Single post settings
Single Post Settings

Theme Panel Settings
Theme Panel Settings

Error
Error

  • This topic was modified 6 years by aneejian. Reason: Added screenshots
Post count: 35449

Hi,

So the problem appear only after you update the theme, please make a test and set the code for only one ad and remove it from the rest of places, also if you have a different ad (code for ad) please try to see if this is working.
I also found a similar case on Google -> https://wordpress.org/support/topic/ads-are-not-show/

Let em know the results!
Thank you!

Post count: 29

Hi Calin, unfortunately changing the ad codes did not work. I tried different adcodes and they did not work. Also in the cases that you referred in the link, the available width is shown as 0, and the explanation says it is because of mobile and desktop setting.

In my case, it specifically says available space is 72. So it seems to be something introduced with the update.

Other ad codes and locations are working properly. Issue is only with inline article ads.

Post count: 29

Hi Calin,
I did some more research on the issue. This seems to be a theme problem.

The 72px availability error is shown because of the ad title ‘Advertisement’ I added in the template. If I remove the title, the error becomes available width is 0.

So I added title with word Advertisement repeating 5 times = 360px

After doing this, the ad showed up. See the screenshot.

https://imgur.com/QaWK8X4

Post count: 29

Hi Team, any update on this?

Post count: 29

I just changed to Tech News PRO and the issue occurs in that template too.

Post count: 35449

Hi,

As I can see now the first 2 ads are displaying only the last one isn’t -> https://i.imgur.com/xKa6qB8.png -> https://i.imgur.com/6ct59B4.png -> https://i.imgur.com/0xFMAMZ.png
If you want you canmake a ful bakup to your website and database and send us an email at contact@tagdiv.com and provide admin login, as well as cPanel. We will take a look to this problem. Include a link to this topic in the email.

Thank you!

Post count: 29

Hi Calin,
The ad appeared because I added the code with a div of minimum width 250px. Like below

<div style="min-width: 250px;">
    <!-- my ad code -->
</div>

This won’t solve the issue because if I set like this, the ads will be only 250px wide.

I was just trying different possibilities. If there is lengthier string along with the ad code or if I make the title bigger, the ads work fine.

  • This reply was modified 6 years by aneejian.
Post count: 2

I have the same mistake. I can’t share the URL because it’s a client’s website. But it’s exactly the same thing. The other ad slots work, but the inline ones don’t.

I used to solve it using adinserter. But if you use a tagdiv template for the single posts. adinserter it doesn’t work well and the ads are duplicated

Post count: 29

I was able to fix it with ad inserter. As you said, it is bit tricky. I think the theme team should fix this issue. Why to use a third party plugin when we have the feature within the theme.

Till the team fixes this, try the below settings in ad inserter. It worked for me.

Ad Inserter settings

https://imgur.com/rMObJn4

Post count: 35449

Hi,

This problem has been passed to a developer to inspect the problem with inline ads and fix it.

Thank you for your understanding and sorry for the inconvenience!

Post count: 29

Thanks Calin.

Post count: 2

WOW ty aneejian

I didn’t know Adinserter had that option. You saved me!

Post count: 132

I can also confirm. In-line ads are not working.

Post count: 35449

Hi Satwik, this is on our list for investigation, the problem will be solved in the coming updates.

Thank you for your understanding!

Post count: 68

Hi Calin,

Here the same problem occurs after upgrading to version 10.3.2

Any predictions to resolve this issue?

I suggest that it be a priority for inflicting user revenue.

Thank you in advance for your attention to this!

Thanks!

Post count: 35449

Hi,

We’ll check this again to see if there is a case that we miss when the fix was made.

Thank you for your understanding!

Viewing 17 posts - 1 through 17 (of 17 total)
The forum ‘Newspaper’ is closed to new topics and replies.