Google Ads
Enhance your campaigns with 24metrics’ powerful fraud detection and optimization tools. The Google Ads Integration allows you to automatically screen traffic, block fraudulent clicks, and optimize ad spend by leveraging real-time fraud analysis.
Detect invalid traffic, reduce wasted budgets, and improve conversion accuracy with seamless data synchronization between Google Ads and 24metrics. Stay ahead of ad fraud and maximize your campaign performance with advanced fraud prevention and actionable insights.
Create the Google Ads integration
Section titled “Create the Google Ads integration”- Open Integrations in the main menu.
- Click Create.
- Enter an Integration Name (for example,
Demo Google Ads). - Under Select Integration Type, choose Google Ads in the third-party platform section.
- Click Save & Proceed To Setup.

Customer ID setup
Section titled “Customer ID setup”-
Log in to your Google Ads account.
-
Copy your 10-digit Customer ID from the top right of Google Ads.

-
In 24metrics, paste it into the Google Ads Customer ID field.
-
Click Send Link Request.

-
Accept the link request in Google Ads.

- In your Google Ads account, navigate to Admin → Access and Security → Managers
- Locate the Link request from 24Metrics and Click Accept

Create a click
Section titled “Create a click”-
Open your Google Ads integration and go to the Javascript tab (code generator).

-
Define the additional parameters. Note: Your integration ID will automatically be included in the generated code.
-
Copy the script.
-
Embed it on the landing page in the
<body>HTML section. -
Try to imitate a real AdGroup ID and Placement ID formats from Google Ads to make it more realistic. (optional) Use real AdGroup ID or Placement ID values from your Google Ads account for more accurate testing.
-
Open the html file in a web browser and it will automatically send a click to 24metrics with the parameters you entered.
-
Navigate to the Click Report page in 24metrics to verify the click was recorded with the correct AdGroup ID and Placement ID
Google Ads IP exclusion effect
Section titled “Google Ads IP exclusion effect”- Create clicks via HTML using different click ips.
Option 1: Manually add
click_ip: '{ip_address}'in theASP.pageClickfunctionOption 2: Try a different VPN connection for each click.<script>(function() {var script = document.createElement('script');script.src = 'https://cdn.fstrk.net/lib/index.js';script.async = true;script.onload = function() {ASP.pageClick({integrationID: '{integration_id}',click_ip: '{ip_address}'});};document.head.appendChild(script);})();</script> - Allow a few moments for processing, then review the Click Report page to verify that the clicks are being accurately recorded in the table.
- In your Google Ads account, navigate to Admin → Account Settings → IP Exclusions. Here you can see the list of excluded IP addresses that have been added by 24metrics based on the fraud detection results.

Global filters
Section titled “Global filters”Open the integration Global Filters tab to set screening rules for Google Ads clicks. Google Ads filter groups are clicks-only; conversion and impression controls are not available. Common checks include Emulator & Bots, VPN / Proxy, Click Flooding, GEO Filter, and Device Anomaly.
Global filters remain the fallback when no custom group matches. Use Filter Groups for source-specific matching and Browse Click Filters Preset for click presets. The shared guide’s conversion and impression controls do not apply to Google Ads.
Configuration steps
Section titled “Configuration steps”- Open the Global Filters tab in your Google Ads integration.
- Choose the click filter you want to configure.
- Enable or disable the filter, then configure its click settings in the drawer.
- Select Done to close the drawer, then use the page-level Save changes action.
Fine-tuning your filters
Section titled “Fine-tuning your filters”- Test the selection against real traffic.
- Review results in Click Reports and Fraud Detection reports.
- Adjust thresholds based on your campaigns and risk tolerance.
Report labels
Section titled “Report labels”Why use report labels?
Section titled “Why use report labels?”When you created test clicks in the Create a Click section, you may have noticed that the Click Report displays raw AdGroup IDs (e.g., 05k87p88pl) and Placement IDs (e.g., 9kphcrbygb) instead of meaningful campaign names. While these IDs are technically accurate, they make it difficult to quickly identify which campaigns, ad groups, or placements are generating traffic.
Report Labels solve this problem by allowing you to assign custom, human-readable names to these raw IDs. Instead of seeing cryptic numbers, you’ll see descriptive labels like “Summer Sale Campaign” or “Mobile App Install - iOS” in your reports, making data analysis much faster and more intuitive.
Benefits of using report labels
Section titled “Benefits of using report labels”- Improved Readability: Quickly identify campaigns without memorizing ID numbers
- Better Analysis: Understand traffic patterns at a glance
- Team Collaboration: Share reports that everyone can easily understand
- Faster Decision Making: Spot issues and opportunities without cross-referencing Google Ads
Viewing labeled reports
Section titled “Viewing labeled reports”Once configured, your Click Reports will display the friendly labels instead of raw IDs, making it easy to see which campaigns are performing well or triggering fraud alerts.


Allow a few moments for processing the data transformation after creating the labels. You can use the refresh table button to reload the data.
Before Report Labels:
- AdGroup:
05k87p88pl - Placement:
9kphcrbygb

After Report Labels:
- AdGroup:
Active AdGroup #1 (ID: 05k87p88pl) - Placement:
Placement #1 (ID: 9kphcrbygb)

Additional configuration options
Section titled “Additional configuration options”Once your integration is complete, you can configure the following options:
-
Active: Toggle this switch to activate or deactivate the integration. When deactivated, click and conversion screening will stop.
-
Enable IP Privacy: When enabled, IP addresses will be obfuscated in all reports and data exports for enhanced privacy compliance.
-
Blocking Strategy for Fraud Clicks:
- Redirect to Fallback URL: rejected clicks will be redirected to a custom URL.
- Blank Page: rejected clicks will be redirected to a blank page.

-
Javascript: Generate a Javascript Integration script for real-time screening of clicks and conversions by selecting the desired options and parameters. Adding this code to your web page will automatically execute it:
- Define the additional parameters.
- Copy the script.
- Embed it on the landing page in the
<body>HTML section.
For a detailed walkthrough on creating test clicks with the Javascript integration, see the Create a Click section.