我经常看到一则空白广告&我想要破坏这个空间。我知道这可以通过包含 googletag.pubads()轻松完成.collaningEmptyDivs() 但是,这不能按预期工作,空间在那里,只是空的。当我检查元素时,这就是我得到的:
:dependencies [[org.clojure/clojure "1.7.0"]
[selmer "0.9.5"]
[markdown-clj "0.9.82"]
[environ "1.0.1"]
[ring-middleware-format "0.7.0"]
[metosin/ring-http-response "0.6.5"]
[bouncer "0.3.3"]
[org.clojure/tools.nrepl "0.2.12"]
[org.webjars/bootstrap "3.3.6"]
[org.webjars/jquery "2.1.4"]
[com.taoensso/timbre "4.1.5-SNAPSHOT"]
[com.taoensso/tower "3.0.2"]
[compojure "1.4.0"]
[ring-webjars "0.1.1"]
[ring/ring-defaults "0.1.5"]
[ring "1.4.0" :exclusions [ring/ring-jetty-adapter]]
[mount "0.1.6"]
[migratus "0.8.8"]
[conman "0.2.7"]
[org.postgresql/postgresql "9.4-1203-jdbc41"]
[org.clojure/clojurescript "1.7.170"]
[reagent "0.5.1"]
[reagent-forms "0.5.13"]
[reagent-utils "0.1.5"]
[com.domkm/silk "0.1.1"]
[kibu/pushy "0.3.6"]
[org.clojure/core.async "0.2.374"]
[cljs-ajax "0.5.2"]
[metosin/compojure-api "0.23.1"]
[metosin/ring-swagger-ui "2.1.3"]
[org.immutant/web "2.1.1"]
[com.carouselapps/free-form "0.2.0"]
[re-frame "0.6.0"]
[com.andrewmcveigh/cljs-time "0.3.14"]]
当我google_console时,有时我也看到了警告“collapseEmptyDivs被忽略”。最奇怪的是,当我点击google_console“在新窗口中打开广告素材”时 - 我看到了广告。这里可能出现什么问题?
提前致谢!
答案 0 :(得分:0)
尝试将googletag.pubads().collapseEmptyDivs(true)
传递给SELECT tab.table_name,COUNT(col.column_name)
FROM INFORMATION_SCHEMA.tables tab
JOIN INFORMATION_SCHEMA.COLUMNS col ON col.table_name = tab.table_name
WHERE tab.table_type != 'VIEW'
GROUP BY tab.table_name
ORDER BY tab.table_name
,这会使广告隐藏,直到与广告匹配为止。