How do you use multiple adsense units on one page?

后端 未结 4 1616
野性不改
野性不改 2021-01-31 17:17

How do you have multiple adsense units on one website? The only code Google gives are per unit.



        
4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 17:29

    Using jQuery...

    $(".adsbygoogle").each(function () { (adsbygoogle = window.adsbygoogle || []).push({}); });
    

提交回复
热议问题