• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 52
  • Last Modified:

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
0
Jonathan Duane
Asked:
Jonathan Duane
1 Solution
 
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 Service & Community 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
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
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 Service & Community 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 Service & Community 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 Service & Community 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now