I have a problem, I want to show a div after 5 seconds, I tried :
if(obj.google_analytics.is_casino_game){
setTimeout(function() { }, 500);
}
document.getElementById('addsense-pub').setAttribute('class','display-block');
But does not work. Can you help me please?
Not sure I get it, but you have to at least put the code you want executed inside the timeout
Note that hiding and showing ads from adSense in this way is generally considered breaking the TOS