Forum Moderators: martinibuster

Message Too Old, No Replies

ERR ABORTED 404 for adsense ads - How to fix

         

chrizzo

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

5+ Year Member



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

justpassing

12:42 pm on Sep 21, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



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.

chrizzo

2:08 pm on Sep 21, 2018 (gmt 0)

5+ Year Member



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

justpassing

6:43 pm on Sep 21, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



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?

justpassing

6:56 pm on Sep 21, 2018 (gmt 0)

5+ Year Member Top Contributors Of The Month



I just looked , and from time to time, I see this error too.

lucy24

7:03 pm on Sep 21, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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.

freitasm

9:04 pm on Sep 21, 2018 (gmt 0)

10+ Year Member Top Contributors Of The Month



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.

chrizzo

9:29 am on Sep 23, 2018 (gmt 0)

5+ Year Member



Hi, thanks a ton just shot you a message...

leebow

3:00 pm on Oct 11, 2018 (gmt 0)

10+ Year Member Top Contributors Of The Month



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.