My google ads wont display with Minify turned on.

Minification can increase the performance of your site by reducing the size of your rendered page.

If you are serving google ads and notice they stop showing with HTML minify turned on (by default) simply add a few lines to the "ignore comment stems" box under Performance > Minify > HTML.  This will tell the engine to not strip out the google adsense code.

Add the lines below and any others needed:

google_ad_client
google_ad_slot
google_ad_width
google_ad_height

See image below.

screen-capture.png

Have more questions? Submit a request

Comments

Article is closed for comments.