Google Ads 'Compromised site' disapproval: causes and how to fix it
TofuAnswer by the Tofu team · checked
Google disapproves ads for "Compromised site" when someone changed your site's code to serve a third party without your knowledge, like an injected script or redirect. Code that sends visitor data without consent counts too. You may not see it, since hacked code often shows only to Google or some visitors. Look for a domain named in the disapproval, then check Search Console's Security issues report and Safe Browsing. Remove the code, update your CMS and plugins, and request a review if Search Console flags the site. Google allows up to 72 hours to recrawl your page.
Ask Tofu next
Pick a question and Tofu Ads Agent answers it in chat.
- Which of my Google ads are disapproved for Compromised site, and which landing pages do they use?
- Pause the Google Ads campaigns that send clicks to my flagged landing pages until the site is clean
- What should a Search Console security review request say after a hacked website cleanup?
- How do I move my Google ads to a clean landing page on another domain?
- How do I get alerts when Google finds a security issue on my website?
As of December 2026.
What does Google mean by a compromised site?
It's a site whose code someone changed to serve a third party. Google's definition: "a site or destination whose code has been manipulated to act in ways that benefit a third party without the knowledge of the site or destination's owner or operator, often in a way that harms the site's users." The policy is part of Google's Abusing the ad network rules, and it disapproves "destinations that are hijacked and hacked."
Google's examples:
- Injected scripts or code that send user data without consent, such as credit card skimmers.
- Code that installs malware, launches pop-up ads or redirects visitors to other websites.
- A website on a content management system (CMS) with known security holes that has been exploited.
The problem is your website, not your ad text. Google says it warns at least 7 days before suspending an account under this policy.
Why can't I see anything wrong on my website?
Because hacked code is often built to hide from site owners. Google's Search Console help says:
- Many hackers make changes "visible only to Google machines."
- Hackers "often attack only specific user-agents or referrers," such as visitors who arrive from Google Search.
- Hackers "might hide the spammy content using cloaking techniques to avoid detection by site owners."
- Safe Browsing shows warnings "based on the browsing context," so you may not be able to reproduce them.
The bad code may also load from another domain instead of sitting on your server (see the next questions).
What usually causes it on a B2B site?
Google doesn't rank the causes. Its policy examples and its Search Console and site security help point to these:
| Cause | What Google describes | Where to look |
|---|---|---|
| An exploited CMS or plugin | Hackers exploit an "older, insecure version" of WordPress, Drupal or Joomla!, or hack third-party plugins | CMS core, themes and plugins, and their versions |
| Injected code | Code added to HTML files or to files that build pages (such as PHP), including JavaScript loaded from another site and obfuscated code | Page templates, theme files, header and footer scripts |
| Unauthorized redirects | Redirects added to server files such as .htaccess, or JavaScript redirects (Google's example fires only for visitors from Google). Unfamiliar URL parameters such as =http: in your logs can mean an open redirect is being abused | Server config, redirect rules, access logs |
| Scripts that send data without consent | Code that sends visitor data to a third party, like a card skimmer | Pages with forms, such as demo request and contact pages |
| Pages you didn't create | New pages with spam or code that redirects visitors | A site:yourdomain.com search on Google |
| A third-party script domain | Google Ads sometimes names the compromised domain and says to remove code that refers to it | Tag manager, CMS plugins, embedded widgets |
Can a chat widget or other third-party script trigger it?
Google's help doesn't say. It names no vendors and no kinds of tools (chat, analytics, ABM or cookie consent), and it doesn't say an untouched vendor script gets flagged. What it does say:
- The disapproval reason can show "where the content is loaded from," and Google Ads "sometimes shows compromised domains" when it can identify them.
- The fix is to "remove any code that refers to the identified domains."
- Google's site security guide tells owners to "pick third-party content providers very carefully" and use third-party apps from "trusted and legitimate sources."
So if the disapproval names a domain you don't own, search your site's code, CMS plugins and tag manager for it. If it belongs to a vendor you use, remove that tag for now and ask the vendor whether their script changed. If you don't recognize the domain at all, treat it as injected code.
How do I find what Google flagged?
- Google Ads. Go to Ads in the Campaigns menu and add a filter for "Policy Details: Compromised site". Read the disapproval reason for any domain Google names. For reading policy reasons in general, see why Google Ads disapproved my ad.
- Search Console. Open the Security issues report. It shows hacked content, malware and unwanted software, and social engineering issues, with sample affected URLs and the date each issue was first detected. The samples aren't a complete list. You need access to the site's property: a Domain property covers every subdomain, which helps if your landing pages run on one. If someone else verified the site, ask an owner to add you.
- Safe Browsing. Check your website and the final URLs of the disapproved ads in Google's Safe Browsing site status tool. If the site is flagged, Google's Ads help says to fix it and request a review in Search Console to get the domain off Safe Browsing's threat list.
- Google's view of the page. In Search Console's URL Inspection tool, select Test live URL, then View tested page and More info to see the resources the page loaded and its JavaScript console output. The live test doesn't check Google's security guidelines, so use it to spot unfamiliar scripts, not to clear the site.
Google advises against opening infected pages in your own browser, since malware can damage your computer. It suggests command-line tools such as cURL, which can send a Google Search referrer, to see what those visitors get.
How do I clean it up?
Clean the whole site, not just the landing page. Google's steps, from its Ads and Search Console help:
- Get help if you need it. Google says fixing malware takes the ability to read code, and possibly web server settings. It suggests a web developer or security specialist for "a thorough security assessment."
- Remove the bad code. Delete code that refers to the flagged domains. Replace affected files with your last good backup, or remove the injected code, pages and redirects yourself.
- Fix it everywhere. Search Console says fixing some pages isn't enough. Fix every issue in the report on every page.
- Update your software. Bring your CMS, themes and plugins up to the latest versions.
- Check who has access in Search Console. Look under Settings > Users and permissions. Google says an owner you don't recognize may mean you were hacked.
- Turn on alerts. Set up Search Console email notifications so you hear about new issues.
If you can't fix the destination, Google says you can point the ad at a new one that follows the policy. Editing the ad sends it for review again.
If strangers also made changes inside your Google Ads account, that's a separate problem: see what to do when someone takes over your Google Ads account.
How do I confirm the site is clean?
Use Search Console's Security issues report. Google calls it "the source of truth" for whether issues exist or have been fixed, and a site with no issues shows a green check mark.
- Request a review. When every issue is fixed on every page, select Request Review in the report. Explain the issue, the steps you took and the result.
- Wait for the decision. Don't send another request before you hear back. Google says a request for an unfixed issue can slow the next review or even get the site marked a repeat offender.
- Avoid the Repeat Offender label. Safe Browsing gives it to sites that switch between compliant and noncompliant "within a short window of time." The owner then can't request reviews in Search Console for 30 days.
- Check Safe Browsing again once the review passes.
How long does Google take to recrawl?
It depends on the step:
| Step | Time Google gives |
|---|---|
| Search Console security review | "A few days to a few weeks" |
| Google Ads recrawl after you clean the site and resubmit ads | Up to 72 hours |
| Ads after Safe Browsing clears your domain | No time given. Your pages "should automatically be re-enabled to serve ads"; contact support if ads stay disapproved |
| New review requests after a Repeat Offender label | Not possible for 30 days |
Google's Compromised sites page doesn't say how these routes fit together. For a site flagged in Safe Browsing, it says ads come back on their own once the domain is cleared. The same page also says to resubmit ads after cleaning, and to appeal ads when only the landing page changed.
How is 'Malicious software' different?
It's a separate policy, and Google enforces it much harder. Google calls Malicious software violations "egregious": it suspends the Google Ads account "upon detection and without prior warning," says you won't be allowed to advertise with Google Ads again, and says accounts are "only reinstated in compelling circumstances." Malicious software is on Google's list of egregious policies. Compromised sites isn't, and Google warns at least 7 days before suspending under it.
The Malicious software policy covers "intentional distribution" of malware. Google's examples are viruses, ransomware, spyware and similar programs, forced redirects to sites infected with malware, and HTML5 ads that steal user credentials. To appeal that suspension, use the Contact Us link in the notification at the top of your Google Ads screen; our page on Google Ads suspensions covers what an appeal should say.
How do I appeal once the site is clean?
If you changed only your website, Google says to appeal the disapproved ads from Policy manager. Our Destination not working page walks through the appeal screens and Google's limits on repeat appeals.
Sources (10)
- Compromised sites - Advertising Policies Help, checked December 2, 2026
- Abusing the ad network - Advertising Policies Help, checked December 2, 2026
- Malicious Software - Advertising Policies Help, checked December 2, 2026
- Google Ads account suspensions overview - Advertising Policies Help, checked December 2, 2026
- Security issues report - Search Console Help, checked December 2, 2026
- URL Inspection tool - Search Console Help, checked December 2, 2026
- Add a website or platform property to Search Console - Search Console Help, checked December 2, 2026
- Managing owners, users, and permissions - Search Console Help, checked December 2, 2026
- Preventing malware infection - Google Search Central, checked December 2, 2026
- Google Safe Browsing Repeat Offenders Policy - Google Search Central, checked December 2, 2026