Is there a problem with desktop google ads?

Posted in: Newspaper
Post count: 70

Hi,

I’m having a strange problem.
Google AdSense seems to have some sort of problem on the theme’s desktop version, because only the sidebar ad loads every time you visit a page, the others (In-Article and below the News ticker) show up only 1 time out of 10 or never. You can see only the area taken by the blank ad.

screenshot

I verified the code something like 100 times: getting the code from Google Adsense website and pasting it in the slot.
I also tried to put the code under div tags but nothing happened.
Furthermore when i load the page with the Firefox inspector, it shows this warning “unreachable code after return statement” for the gtag.js, but Chrome reports nothing.

The header ad is a Text/image, Responsive. The Article ad is a Native Inarticle, Responsive. Both results as Active on my account.
ads

I really don’t know why this is happening, can you help me somehow?

  • This topic was modified 8 years by Fenix. Reason: Edited
Post count: 70

I checked more carefully Chrome inspector reports, now i found 4 violation report for Google AdSense scripts “Avoid using document.write()”.

Post count: 22421

Hello,

Please also test your adsense codes through a plugin such as adrotate to make sure the theme interference over the ad is removed. Test the ad on a wp default theme as well and see if the issue is still present.
Let us know how it goes.

Thanks.

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