Answer the question
In order to leave comments, you need to log in
How to make adsense ads reload on click on an element?
Good afternoon!
Please tell me how to reload the Adsense code by clicking on a certain button or element on the page without violating any rules.
Examples of such reloads as I want are used on sites small and large:
www.rantsports.com/nfl/2014/11/04/5-biggest-culpri...
www.elle.com/beauty/g28010/editor- picks-beauty-obs... (almost all women's sites have a similar thing)
https://lolobu.co/article/40-everyday-spring-outfi...
Answer the question
In order to leave comments, you need to log in
We hang all the adsense code into a separate function through a declaration (equating). We call on document loading (DOMContentLoaded) or on click on a certain element
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question