Title: Load ad scripts statically
Last modified: August 15, 2021

---

# Load ad scripts statically

 *  Resolved [bobsled](https://wordpress.org/support/users/bobsled/)
 * (@bobsled)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/load-ad-scripts-statically/)
 * I get this warning in Lighthouse.
 * **Load ad scripts statically – Load 1 script statically**
 * Presumably, my ads are being loaded by javascript with Ad inserter.
 * Is there any way to load one ad statically with the plugin? Or is it a warning
   that I perhaps can simply ignore?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/load-ad-scripts-statically/#post-14769020)
 * Ad Inserter loads ad codes (blocks) as configured – server-side unless you need
   them to load client-side:
    [https://adinserter.pro/documentation/insertion-before-inside-after-html-element](https://adinserter.pro/documentation/insertion-before-inside-after-html-element)
   [https://adinserter.pro/documentation/plugin-settings#dynamic-blocks](https://adinserter.pro/documentation/plugin-settings#dynamic-blocks)
   [https://adinserter.pro/documentation/device-detection](https://adinserter.pro/documentation/device-detection)
 * I would ignore this warning.
 *  Thread Starter [bobsled](https://wordpress.org/support/users/bobsled/)
 * (@bobsled)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/load-ad-scripts-statically/#post-14769057)
 * Thanks for your prompt response!
 * Okay, I’ll do some reading.
 *  Thread Starter [bobsled](https://wordpress.org/support/users/bobsled/)
 * (@bobsled)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/load-ad-scripts-statically/#post-14769144)
 * I’m using client-side with insert (not show) for desktop and tablet.
 * But I can see now that if I change to server-side, the warning on Lighthouse 
   disappears.
 * However, from your links, I can see that client-side insert is the correct approach
   for Adsense and also to avoid possible caching issues.
 * So I’ll ignore the warning.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Load ad scripts statically’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bobsled](https://wordpress.org/support/users/bobsled/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/load-ad-scripts-statically/#post-14769144)
 * Status: resolved