Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

93
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!