Welcome to WebmasterWorld Guest from 18.206.168.65

Forum Moderators: martinibuster

ERR ABORTED 404 for adsense ads - How to fix

     
11:14 am on Sep 21, 2018 (gmt 0)

New User

joined:Apr 24, 2017
posts: 20
votes: 0


We recently migrated servers. Since then I have error codes in console related to google adsense ads.

"Refused to execute script from 'https://googleads.g.doubleclick.net/pagead/mraid.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled."

"Failed to load resource: the server responded with 404"

our adsense ctr dropped by 60% but my developer swears it comes from adsense site and we cant fix it.

Does anyone have an idea? I also asked in the adsense forum but seems to be quite useless:
[groups.google.com...]

thanks a ton
Chris
12:42 pm on Sept 21, 2018 (gmt 0)

Preferred Member

Top Contributors Of The Month

joined:Sept 13, 2018
posts:355
votes: 68


If Adsense's server is not returning the right mime type for this file, then it's not your fault, and I doubt there is anything you can do about it. The server migration might be a coincidence and not the cause of this error.
2:08 pm on Sept 21, 2018 (gmt 0)

New User

joined:Apr 24, 2017
posts: 20
votes: 0


Thanks a ton, Our adsense ctr is highly affected though, what would you do in this case?
6:43 pm on Sept 21, 2018 (gmt 0)

Preferred Member

Top Contributors Of The Month

joined:Sept 13, 2018
posts:355
votes: 68


Thanks a ton, Our adsense ctr is highly affected though, what would you do in this case?

Hum, since how long do you observe this?
6:56 pm on Sept 21, 2018 (gmt 0)

Preferred Member

Top Contributors Of The Month

joined:Sept 13, 2018
posts:355
votes: 68


I just looked , and from time to time, I see this error too.
7:03 pm on Sept 21, 2018 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:15507
votes: 752


It is also possible this is not an AdSense issue at all. Is any aspect of your server (type or version) different than it was before? If you control the server, has any part of the config file changed? You may want to ask the same question in the subforum that applies to your specific server type (Apache, IIS and so on). Puttering around Apache docs, I found the line “Support for MIME type mappings is generally a problematic issue”--which is just what you do not want to hear.
9:04 pm on Sept 21, 2018 (gmt 0)

Full Member from NZ 

10+ Year Member

joined:July 28, 2003
posts: 316
votes: 7


Agree with lucy24. I think this is your new server sending out a security header telling browsers to not load something if it doesn't pass the test.

If you want, send me a private message with a URL and I will check.
9:29 am on Sept 23, 2018 (gmt 0)

New User

joined:Apr 24, 2017
posts: 20
votes: 0


Hi, thanks a ton just shot you a message...
3:00 pm on Oct 11, 2018 (gmt 0)

Junior Member

Top Contributors Of The Month

joined:Nov 29, 2015
posts:100
votes: 23


I’d be interested to hear if this works.

As I understand - the ads are loaded through almost an iframe - so the mime types would be the server the ads are being created on.

But if the ads are built using js - and actually run on your own server — the mime types would be important.

I am going to look myself and see if mine are correct. As I’ve had problems before with mime types not loading xml files correctly.