# Google Ads Account Cancelled : Circumvention/Cloaking

**URL:** <https://answers.netlify.com/t/google-ads-account-cancelled-circumvention-cloaking/34653>\
**Category:** Support\
**Tags:** performance\
**Created:** [March 21, 2021, 11:02pm UTC](https://answers.netlify.com/t/google-ads-account-cancelled-circumvention-cloaking/34653 "2021-03-21T23:02:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![netlifero](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@netlifero](https://answers.netlify.com/u/netlifero)\
**Post date:** [March 21, 2021, 11:02pm UTC](https://answers.netlify.com/t/google-ads-account-cancelled-circumvention-cloaking/34653/1 "2021-03-21T23:02:59Z")

</div>

Hi, first month using Netlify and we love it but our Google Ads account was cancelled and we wonder if it is related to the switch to Netlify. The reason is “google ads circumventing systems policy” and mentions cloaking. Googling about it we found something about canonical links that Netlify is supposed to handle automatically because all the preview deploys could be considered duplicated content. We did not find the canonical HTTP header so we added it as a meta but we are not sure if it is working.

Cloaking is when a website presents different content or URLs to search engines compared to human users. For example, your site may display Flash images to users, but serve an HTML text page to search engines.

Any help is appreciated. Thank you

---

<div class="post-metadata">

**Author:** ![gregraven](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/gregraven/32/23821_2.png) [@gregraven](https://answers.netlify.com/u/gregraven)\
**Post date:** [March 22, 2021, 12:36pm UTC](https://answers.netlify.com/t/google-ads-account-cancelled-circumvention-cloaking/34653/2 "2021-03-22T12:36:15Z")

</div>

@netlifero Can you share the domain name(s) where this is happening?

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [March 23, 2021, 3:27am UTC](https://answers.netlify.com/t/google-ads-account-cancelled-circumvention-cloaking/34653/3 "2021-03-23T03:27:39Z")

</div>

Hi, @netlifero. I cannot troubleshoot what Google does and I don’t have any insight into what caused this. I can answer questions about Netlify though.

Enabling prerendering might cause two different pages to be served. Likewise, if you are not blocking the Netlify site subdomain with redirect rules, then the site could be served via the `<subdomain>.netlify.app` domain and your custom domain at the same time.

You can stop that from happening with `_redirects` rules like this:

```nohighlight
http://<subdomain>.netlify.app/* https://www.example.com/:splat 301!
https://<subdomain>.netlify.app/* https://www.example.com/:splat 301!

```

You must replace `<subdomain>` and `www.example.com` with the actual subdomain and custom domain for the rules to work. The rules above force any attempt to load the site subdomain under `netlify.app` to be redirected the the custom domain. This stops the duplicate content.

We do include a `x-robots-tag: noindex` header on non-production deploys. However, if the deploy is the published production deploy and you just use the site subdomain, that header won’t be included automatically (but you can manually create it with header rules). If you have questions about creating header rules or redirect rules, please let us know.
