English
EN English
RO Romanian

Integration Guide

Add Protect Ads to your site and protect your Google Ads budget from click fraud.

How it works

Protect Ads integrates with your website and Google Ads to detect and block fraudulent clicks. Follow the flow below to get started.

1

Sign up and add your domain

Create your account and register the domain(s) where your Google Ads land. This links your traffic to your Protect Ads dashboard.

2

Install the tracking code

Add the Protect Ads script to your website (via Google Tag Manager, WordPress, or directly in your template). The code runs on your landing pages and helps us identify and block invalid traffic.

3

Connect Google Ads

Link your Google Ads account via our secure OAuth flow. We use this to apply IP exclusions and block fraudulent clicks at the campaign level.

4

Monitor and optimize

Use the dashboard to view blocked clicks, adjust rules if needed, and keep your ad spend focused on real users.

What Protect Ads does

Protect Ads monitors clicks on your ads and landing pages, identifies bot and fraudulent behavior, and automatically adds offending IPs to your Google Ads account as exclusions. This reduces wasted spend and keeps your metrics accurate.

How to use the platform

After setup, log in to your Protect Ads dashboard to see fraud metrics, blocked IPs, and campaign impact. You can fine-tune blocking rules in Domain Settings and review performance over time. Support is available if you need help with configuration.


Single website setup

This guide is for single website owners

The steps below walk you through setting up Protect Ads for a single website or online store. If you manage multiple domains or client accounts, scroll down to the Agency Setup section for the full multi-domain guide.

Universal compatibility

Works with every website

Protect Ads is compatible with any website that supports JavaScript — no matter your tech stack, CMS, or hosting provider. Just add a small script and you're protected.

WordPress Shopify WooCommerce Magento Wix Squarespace Custom HTML

Quick setup in 4 steps

Follow these steps inside the Protect Ads dashboard to get up and running in minutes.

1

1. Copy your tracking code

Go to Domain Settings > Domain Tracking and copy the tracking snippet. This is the code you'll add to your website.

Domain Settings — copy the tracking code from this page.
Domain Settings — copy the tracking code from this page.
2

2. Connect your ad accounts

In Domain Settings > Link Advertising, connect your Google Ads and Bing Ads accounts. We use this connection to apply IP exclusions automatically.

Link Advertising — connect your Google Ads and Bing Ads accounts.
Link Advertising — connect your Google Ads and Bing Ads accounts.
3

3. Enable click blocking

In Domain Settings > Integrations, enable blocking for each connected ad platform. When active, fraudulent IPs are automatically excluded from your campaigns.

Integrations — enable or disable click blocking for each platform.
Integrations — enable or disable click blocking for each platform.
4

4. Monitor your dashboard

Your dashboard shows blocked IPs, ad clicks, visitors, and budget saved in real time. Use the date range picker and per-platform tabs to drill into the data.

Dashboard — monitor blocked clicks, visitors, and budget saved.
Dashboard — monitor blocked clicks, visitors, and budget saved.

Choose your integration method

Pick the method that matches your website. All options achieve the same result — getting the Protect Ads tracking code running on your pages.

Google Tag Manager Recommended

The easiest way to add Protect Ads without touching your website code. Ideal for marketing teams and agencies.

Step 1: Create a Custom HTML tag

Log in to your GTM account and open the container for your website. Click Tags > New, name it "Protect Ads Tracking", choose tag type Custom HTML, and paste the tracking code you copied from Domain Settings.

Step 2: Set the trigger to All Pages

Under Triggering, select the built-in All Pages trigger. This ensures the Protect Ads script loads on every page view. For single-page applications (React, Vue, Angular), add a History Change trigger as well so the code fires on client-side navigation.

Step 3: Preview and publish

Click Preview to test the tag in GTM's debug mode. Visit your website and confirm the tag fires on page load. Once verified, click Submit > Publish. The Protect Ads script is now live on your site.

Pro tip: If you only want to track specific landing pages, replace the All Pages trigger with a Page View trigger filtered by URL path (e.g. /landing/*).

WordPress

Add the tracking code to your WordPress site in under 2 minutes — no coding experience needed.

Option A: Use a plugin (easiest)

Install a free plugin like "WPCode — Insert Headers and Footers" or "Insert Headers and Footers by WPBeginner". Go to the plugin settings, paste the Protect Ads tracking code in the Body section, and save. The script will load site-wide on every page.

Option B: Edit your theme directly

In your WordPress admin, go to Appearance > Theme File Editor and open header.php. Paste the tracking code right after the opening <body> tag. Note: theme updates may overwrite this, so a plugin or child theme is more reliable.

Option C: Use GTM on WordPress

If you already use Google Tag Manager with a plugin like "GTM4WP", add the Protect Ads tag in GTM as described above. This centralizes all your tracking in one place.

Shopify

Shopify makes it easy to add custom scripts across your store.

Via theme settings

In your Shopify admin, go to Online Store > Themes > Edit code. Open the theme.liquid file and paste the Protect Ads tracking code right after the opening <body> tag. Click Save. The script will load on every page of your store.

Via Shopify custom pixels (Shopify Plus)

If you're on Shopify Plus, go to Settings > Customer events and add a Custom Pixel. Paste the tracking code and activate it. This method is tag-manager-free and survives theme changes.

WooCommerce

WooCommerce runs on WordPress, so all WordPress methods above apply. Additionally you can use WooCommerce-specific hooks.

The simplest approach is to follow the WordPress instructions above (plugin or theme edit). The Protect Ads script will automatically track all WooCommerce pages — product pages, cart, checkout, and thank-you pages.

Magento / Adobe Commerce

Add the Protect Ads script to your Magento store via the admin panel or GTM.

Via admin panel

Go to Content > Design > Configuration. Select your store view and expand the HTML Head section. Paste the Protect Ads tracking code in the "Scripts and Style Sheets" field. Save and flush the cache.

Via GTM

If you use Google Tag Manager with Magento (via an extension or built-in GTM support), add the Protect Ads tag in GTM following the GTM guide above.

Wix

Add custom tracking code to your Wix site in just a few clicks.

In your Wix dashboard, go to Settings > Custom Code (under Advanced). Click + Add Code, paste the Protect Ads tracking code, set it to load on All Pages in the Body - start section, and apply.

Squarespace

Squarespace supports custom code injection for all plans.

Go to Settings > Advanced > Code Injection. Paste the Protect Ads tracking code in the Footer field and save. The script will load on every page of your Squarespace site.

Any other website

If your platform is not listed above, you can always add the script manually.

Open your website's main HTML template or layout file. Paste the Protect Ads tracking code right after the opening <body> tag (or before the closing </body> tag). Deploy the change and the script will run on every page.

As long as your website can load JavaScript, Protect Ads will work. This includes static sites, custom frameworks (Next.js, Nuxt, Gatsby, Laravel, Django, Rails), and any other platform.


Configure your protection rules

Once the tracking code is live, fine-tune how Protect Ads detects and blocks fraud. All settings are available in the Setup section of your dashboard.

Click fraud limits & IP whitelist

Set per-minute, per-day, and per-month click thresholds. Any IP that exceeds these limits is automatically blocked. You can also whitelist trusted IPs (your office, testing devices, partners) so they are never flagged.

Setup — configure click fraud limits and manage your IP whitelist.
Setup — configure click fraud limits and manage your IP whitelist.

Network & IP protection

Block traffic from VPNs, proxies, Tor browsers, high-threat sources, and suspicious subnets. Each layer can be toggled individually — enable everything for maximum protection, or dial back specific rules if needed.

Network & IP Protection — toggle VPN, proxy, Tor, high-threat, and subnet blocking.
Network & IP Protection — toggle VPN, proxy, Tor, high-threat, and subnet blocking.

Bot & automation detection

Identify and block non-human traffic from crawlers, spiders, headless browsers (Puppeteer, Playwright, Selenium), and spoofed user agents. These layers catch sophisticated bots that mimic real browsers.

Bot & Automation Detection — block crawlers, headless browsers, and user-agent anomalies.
Bot & Automation Detection — block crawlers, headless browsers, and user-agent anomalies.

Behavioral analysis

Detect suspicious patterns through click behavior — real-time rate detection, duplicate click suppression, competitor traffic monitoring, and cross-client abuse detection. Fine-grained controls let you balance protection vs. reach.

Behavioral Analysis — real-time rate detection, duplicate clicks, competitor traffic, and cross-client abuse.
Behavioral Analysis — real-time rate detection, duplicate clicks, competitor traffic, and cross-client abuse.

All 12 protection layers are pre-configured with sensible defaults. You can start blocking fraud immediately and adjust rules over time as you review dashboard data.


Fraud statistics & reporting

Once protection is active, the Fraud section gives you full visibility into every click, blocked IP, and campaign — across all connected ad platforms.

Google Ads

Google Ads report & click quality

Generate official Click Quality reports (CSV) for Google Ads refund requests. The report tab shows blocked IPs in the selected period, fraud types breakdown, and a step-by-step guide for submitting your evidence to Google.

Fraud — Report for Google Ads with CSV export and click quality form.
Fraud — Report for Google Ads with CSV export and click quality form.

Blocked IPs

See every IP that has been blocked, along with its status (blocked/unblocked toggle), the reason it was flagged (Proxy, VPN, Crawler, Duplicate Click, etc.), country, and timestamp. You can search, filter, and export the data as CSV.

Fraud — Blocked IPs table with status, block reason, country, and date.
Fraud — Blocked IPs table with status, block reason, country, and date.

All Clicks

Browse all recorded ad clicks — including IP address, device type, ISP, referrer, country, and date. This raw data helps you spot patterns manually and cross-reference with your own analytics.

Fraud — All Clicks table with device, ISP, referrer, country, and date.
Fraud — All Clicks table with device, ISP, referrer, country, and date.

Campaigns

View fraud data per campaign — visitors, ad clicks, and blocked IPs for each campaign. Add campaigns from your Google or Bing Ads account and track which campaigns attract the most fraudulent traffic.

Fraud — Campaigns table with visitors, ad clicks, and blocked IPs per campaign.
Fraud — Campaigns table with visitors, ad clicks, and blocked IPs per campaign.

PMax Protection

The PMax Protection tab shows your account-level exclusions for Performance Max campaigns. Enable or disable protection with a single toggle, and see how many IP slots are active out of the maximum allowed by Google (500).

Fraud — PMax Protection with account-level toggle and active exclusions.
Fraud — PMax Protection with account-level toggle and active exclusions.
Bing Ads

Bing Ads

Protect Ads also protects your Bing Ads (Microsoft Advertising) campaigns. Switch to the Bing Ads data source to see blocked IPs, fraud types, countries, and campaigns — with the same level of detail as Google Ads.

Fraud — Bing Ads blocked IPs and campaigns view.
Fraud — Bing Ads blocked IPs and campaigns view.

Campaigns

Fraud — Bing Ads blocked IPs and campaigns view.
Fraud — Bing Ads blocked IPs and campaigns view.

All fraud data is available for both Google Ads and Bing Ads. Use the data source tabs at the top of the Fraud page to switch between platforms.


Digital Agencies

Agency Setup — Multi-Domain Management

If you run a digital agency and manage ads for multiple clients, Protect Ads lets you control everything from a single Clients Overview dashboard. The tracking script setup is the same for every website — add it once per domain and manage all configuration centrally.

One Script Per Site

The tracking code installation is identical for every domain — no agency-specific setup required.

Centralized Configuration

Manage fraud limits, monthly click plans, and protection rules for all clients from one place.

Isolated Analytics

Each client gets independent dashboard data, fraud reports, and campaign analytics — fully separated.

Instant Switching

Use the domain selector to jump between client accounts without logging out or switching browsers.

1

Clients Overview Dashboard

Your agency hub. See all client domains at a glance — ad clicks, blocked IPs, budget spent, budget saved, and monthly plan. Switch between sub-companies instantly using the domain selector in the header.

Clients Overview — manage all client domains, stats, and settings from one dashboard.
Clients Overview — manage all client domains, stats, and settings from one dashboard.
2

Add a New Domain / Sub-Company

Click "Add account" to onboard a new client. Fill in the industry, domain name, company details, phone, VAT ID, address, country, and city. Set the monthly click plan for this domain, then continue to the next step.

Add account — register a new client domain with company details and monthly click plan.
Add account — register a new client domain with company details and monthly click plan.
3

Install the Tracking Script

The setup process is the same for every website you manage. Copy the unique tracking code from Domain Settings and paste it on the client's site — via Google Tag Manager, WordPress plugin, Shopify theme, or any method described in the setup section above. One script per domain, installed once.

As long as your website can load JavaScript, Protect Ads will work. This includes static sites, custom frameworks (Next.js, Nuxt, Gatsby, Laravel, Django, Rails), and any other platform.

4

Configure Click Fraud Limits

Open "Setup" for any client domain to fine-tune protection. Set Per Minute, Per Day, and Per Month click thresholds independently for each website. An IP that exceeds any of these limits is automatically blocked.

Set Click Fraud Limit — configure per-minute, per-day, and per-month rules for each domain.
Set Click Fraud Limit — configure per-minute, per-day, and per-month rules for each domain.
5

Set Monthly Click Plan

Click the monthly plan badge on any client row to adjust the number of monthly clicks allocated for that domain. This allows you to scale protection to match each client's ad budget and traffic volume.

Edit monthly clicks — adjust the click plan for any client domain.
Edit monthly clicks — adjust the click plan for any client domain.
6

Full Dashboard per Client

Switch to any sub-company using the domain selector in the header. You get the full dashboard — visitors, blocked IPs, ad clicks, clicks saved, budget spent, and budget saved — with an interactive chart showing trends over your selected date range.

Client Dashboard — visitors, blocked IPs, ad clicks, budget, and trend charts for a single domain.
Client Dashboard — visitors, blocked IPs, ad clicks, budget, and trend charts for a single domain.
7

Fraud Statistics per Client

Each sub-company has its own Fraud tab with the full set of reports — Report for Google Ads, Blocked IPs, All Clicks, Countries, Campaigns, Clicks, and PMax Protection. The same level of detail and export capabilities available for standalone accounts.

Fraud Statistics — full reporting per client domain including Google Ads reports and blocked IPs.
Fraud Statistics — full reporting per client domain including Google Ads reports and blocked IPs.