I have a site that displays banners through Google Ads (formerly DFP). Analyzing page speed using https://developers.google.com/speed/pagespeed/insights/ , I notice that one of the script file really dragging my score down is amp4ads-v0.js on the cdn.ampproject.org. This file is loaded in a roundabout way through my Google ads script.

Pagespeed Insights suggests about 4 seconds of CPU time on mobile for this script alone. That seems like madness for a platform that purports to be explicitly targeted towards mobile.

Is there a way I can configure my ads to prevent this file being loaded? I don't think I have any AMP ads, mostly simple images, and a few "html5" banners made in Adobe Edge Animate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.