I am unable to remove ad from my website

Hi guys,

I have been trying to remove an ad from a site we manage but i cant find it anywhere in the code, its like its being inserted from Google.

It shows in IE certain times and it shows on Firefox the odd time, it wont show on Chrome for me as i am using DuckDuckgo extension

but it is showing here on IE

http://mediastreet.ie/directory/en/businesses/irs-independent-radio-sales-ltd

i really want to remove it
hyundai-ad.PNG
LVL 1
Jonathan DuaneAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Destin MincyCommented:
Is the site hosted on a free platform? If so, then you may not be able to remove said ad, as ads are how free hosting sites make their money. If it is a paid platform and you cannot find the code in site contents, then it may be somewhere in the settings on the hosting control panel.
0
Jonathan DuaneAuthor Commented:
no. it on a dedicated server :(

and we have moved servers and it still appears
0
Craig KehlerDirector of Customer RelationsCommented:
Those ads are being served from Google AdSense.

This is the code in your page that is causing the ads to be served:

        <script type='text/javascript'>
            GS_googleAddAdSenseService("ca-pub-2036079649823838");
            GS_googleEnableAllServices();
        </script>

        <script type='text/javascript'>
            //GA_googleAddSlot("ca-pub-2036079649823838", "Test_Leaderboard");
            //GA_googleAddSlot("ca-pub-2036079649823838", "Test_MPU");
            GA_googleAddSlot("ca-pub-2036079649823838", "Run_of_Site_Leaderboard_728x90");
            GA_googleAddSlot("ca-pub-2036079649823838", "Run_of_Site_Leaderboard_MPU");
        </script>

        <script type='text/javascript'>
            GA_googleFetchAds();
        </script>

Open in new window


and

<!-- Run_of_Site_Leaderboard_728x90 -->

<script type='text/javascript'>

GA_googleFillSlot("Run_of_Site_Leaderboard_728x90");

</script>

Open in new window


If you just want to remove it, you can remove that code. If you want to customize it you will need to get into your AdSense account to customize which ads can be delivered.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Jonathan DuaneAuthor Commented:
great! do you know what file i can remove it from?
0
Brandon LyonSenior Frontend DeveloperCommented:
It might be in your theme or it there could be a plugin inserting that code. Structurally it's above the post area so it could be in the theme header.php near the bottom of the file, single.php/index.php/page.php near the top of the file, or somewhere in functions.php.
0
Jonathan DuaneAuthor Commented:
Hi Guys, i thought this was sorted but it seems to have cropped up again
Capture.PNG
0
Craig KehlerDirector of Customer RelationsCommented:
The script is still in place to load the ads. That needs to be removed.
0
Jonathan DuaneAuthor Commented:
Hey @craig

When i removed it was showing any of the ads and not all off them are coming from Google Adsense
0
Craig KehlerDirector of Customer RelationsCommented:
Hmm ok, it's hard for me to tell what is causing that because the current production version is still serving Google Ads. Right click on the ad and inspect. You should be able to determine the source from that.

For example right now it shows:
<a id="aw0" target="_blank" href="http://googleads.g.doubleclick.net/pcs/click?xai=AKAOjssdxAdlvVzcLGbw4g38tIHc-M3ilKmsl2NVChBEYDtbq09pqiix3wAp_-LEQOolmSmgTZwyKlnHHd9LOlplsMI8KXo7fGSL7jjnzl4ZHYo9KQ-EopOpHordbvRWstM3semJQwCMeIV-crGAtx2vIgw-PA32IHDfbrvKEy-pY1ompXlzlcs5hbaNpsgokksmpDDuEz2Z_NV9ynoikNznAcE7jPdxvkIMfBgZ2v7LZ43XtKUq2e4l3cTlaA&amp;sai=AMfl-YSSTz3GEeai3rtP2O1G_aiXpmQuJ15ZdxLn2N3v5WrM2xZOmZ9PuJ5ueSf-S64koyx7yoD5lDUgoeWltvwZaE5TxKajnDrrioK664xLb4fYnqchdjpbTm5R4dAD&amp;sig=Cg0ArKJSzAZS1BIql6z2&amp;adurl=http://www.mediastreet.ie/en/businesses/iradio-nw--ne&amp;nm=8&amp;nx=207&amp;ny=-28&amp;mb=2" onfocus="ss('aw0')" onmousedown="st('aw0')" onmouseover="ss('aw0')" onclick="ha('aw0')"><img src="https://tpc.googlesyndication.com/simgad/6203425637190067930" border="0" width="728" height="90" alt="" class="img_ad"></a>

Open in new window

0
Jonathan DuaneAuthor Commented:
I think they could actually all be coming from Google.

i have removed the code and none of them are being served. The trouble being no one knows the account that was used to set them up originally.
0
Craig KehlerDirector of Customer RelationsCommented:
Hmm that may be best suited as a separate question in case another user comes along searching for it. Also it may get the attention of someone with experience recovering one of these accounts, I don't possess that. :)

I would start here and see what they can do. https://support.google.com/adsense/contact/cant_log_in?hl=en&rd=3
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.