Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

101
Visualizações
Google adsense display status

I have google ads placed in my website and i want to show a small indicator at left side of the page.

If google ads is showning/filled. the indicator circle will be green If google ads is not showing/unfilled. the indicator circle will be read.

Google ads guide URL : https://support.google.com/adsense/answer/10762946?hl=en

To get the data we can use like ins.adsbygoogle[data-ad-status="unfilled"] for not showing and ins.adsbygoogle[data-ad-status="unfilled"] for showing.

<script>
if (ins.adsbygoogle[data-ad-status="unfilled"] == unfilled) {
  display = "green";
} else if (ins.adsbygoogle[data-ad-status="filled"] == filled) {
  display = "red";
} else {

exit;
}
</script>

And this how, i will get to know if google ads is showing or not showing.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda