Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

97
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda