Iftekhar
Iftekhar

Reputation: 365

How to remove unknown ads from appearing on a Laravel php website?

enter image description here

There is an unknown ad appearing on my client's website when visiting the website from a mobile device. I have attached the image with this post here. The website's Web Framework is Laravel & Programming Language used is PHP.

Is there a way to remove the ad from the website? Would appreciate the kind help.

Upvotes: 1

Views: 2073

Answers (1)

SpaceDogCS
SpaceDogCS

Reputation: 2968

This ad was automatically added by Google, probably configured by another developer on Google Adsense, There's two ways of removing it, the first one is on Google Adsense panel, just login and disable the ad.

The other one, is removing the script <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" crossorigin="anonymous"></script> from the head, the src attribute might have some extra code on the ending, but the beggining is the same

Upvotes: 2

Related Questions